Skip to content

Commit f3bcf69

Browse files
jprusikdiffersthecat
authored andcommitted
revert remaining changes from 374ea6a (#13228)
1 parent 9498045 commit f3bcf69

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

apps/browser/src/autofill/services/collect-autofill-content.service.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -983,8 +983,7 @@ export class CollectAutofillContentService implements CollectAutofillContentServ
983983
const queueLength = this.mutationsQueue.length;
984984

985985
if (!this.domQueryService.pageContainsShadowDomElements()) {
986-
// Checking if a page contains shadowDOM elements is a heavy operation and doesn't have to be done immediately, so we can call this within an idle moment on the event loop.
987-
requestIdleCallbackPolyfill(this.checkPageContainsShadowDom, { timeout: 500 });
986+
this.checkPageContainsShadowDom();
988987
}
989988

990989
for (let queueIndex = 0; queueIndex < queueLength; queueIndex++) {

0 commit comments

Comments
 (0)