Skip to content

Commit f3ed065

Browse files
authored
Disabling the polling based loading for iframe based webviews (#104872)
The polling was added to work around https://bugs.webkit.org/show_bug.cgi?id=215589 However this seems to cause problems when VS Code web is run in real world conditions (i.e. not on localhost) Just disable this branch for now
1 parent ec48659 commit f3ed065

File tree

1 file changed

+1
-1
lines changed
  • src/vs/workbench/contrib/webview/browser/pre

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/webview/browser/pre/main.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -514,7 +514,7 @@
514514
}, 0);
515515
}
516516

517-
if (host.fakeLoad) {
517+
if (host.fakeLoad && false) {
518518
// On Safari for iframes with scripts disabled, the `DOMContentLoaded` never seems to be fired.
519519
// Use polling instead.
520520
const interval = setInterval(() => {

0 commit comments

Comments
 (0)