Skip to content

Commit d4e6930

Browse files
committed
Slight policy fetching optimization in edge cases.
1 parent ca37623 commit d4e6930

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/content/staticNS.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@
121121
});
122122
const {readyState} = document;
123123
asyncFetch();
124-
if (readyState == "complete" ||
124+
if (this.policy || readyState == "complete" ||
125125
!this.syncFetchPolicy && this.embeddingDocument ||
126126
window.origin == "null" && window.location.href == "about:blank" && window.top == self
127127
) {

0 commit comments

Comments
 (0)