(origin?: string)
| 11 | export const state = new CachedValue<FeatureId[]>('bisect', {maxAge: {minutes: 15}}); |
| 12 | |
| 13 | export async function startFeatureIdentification(origin?: string): Promise<void> { |
| 14 | const options = await perDomainOptions.getOptionsForOrigin(origin).getAll(); |
| 15 | const enabledFeatures = importedFeatures.filter(featureId => options[`feature:${featureId}`]); |
| 16 | await state.set(enabledFeatures); |
| 17 | } |
| 18 | |
| 19 | function enableButtons(): void { |
| 20 | for (const button of $$('#rgh-bisect-dialog [aria-disabled]')) { |
no test coverage detected