mirror of
https://github.com/bitwarden/browser
synced 2026-02-10 21:50:15 +00:00
revert remaining changes from 374ea6af7c (#13228)
This commit is contained in:
committed by
Robyn MacCallum
parent
9498045a7b
commit
f3bcf695f7
@@ -983,8 +983,7 @@ export class CollectAutofillContentService implements CollectAutofillContentServ
|
||||
const queueLength = this.mutationsQueue.length;
|
||||
|
||||
if (!this.domQueryService.pageContainsShadowDomElements()) {
|
||||
// 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.
|
||||
requestIdleCallbackPolyfill(this.checkPageContainsShadowDom, { timeout: 500 });
|
||||
this.checkPageContainsShadowDom();
|
||||
}
|
||||
|
||||
for (let queueIndex = 0; queueIndex < queueLength; queueIndex++) {
|
||||
|
||||
Reference in New Issue
Block a user