|
|
|
|
@ -54,6 +54,7 @@ export class CollectAutofillContentService implements CollectAutofillContentServ
|
|
|
|
|
private ownedExperienceTagNames: string[] = [];
|
|
|
|
|
private readonly updateAfterMutationTimeout = 1000;
|
|
|
|
|
private readonly formFieldQueryString;
|
|
|
|
|
private readonly debouncedProcessMutations = debounce(() => this.processMutations(), 100);
|
|
|
|
|
private readonly nonInputFormFieldTags = new Set(["textarea", "select"]);
|
|
|
|
|
private readonly ignoredInputTypes = new Set([
|
|
|
|
|
"hidden",
|
|
|
|
|
@ -986,7 +987,7 @@ export class CollectAutofillContentService implements CollectAutofillContentServ
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!this.mutationsQueue.length) {
|
|
|
|
|
requestIdleCallbackPolyfill(debounce(this.processMutations, 100), { timeout: 500 });
|
|
|
|
|
requestIdleCallbackPolyfill(this.debouncedProcessMutations, { timeout: 500 });
|
|
|
|
|
}
|
|
|
|
|
this.mutationsQueue.push(mutations);
|
|
|
|
|
};
|
|
|
|
|
|