We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c1be6a0 commit 2df16bbCopy full SHA for 2df16bb
src/vs/workbench/contrib/webview/browser/pre/main.js
@@ -878,7 +878,7 @@ onDomReady(() => {
878
}
879
880
const contentDocument = assertIsDefined(newFrame.contentDocument);
881
- if (contentDocument.location.pathname === '/fake.html' && contentDocument.readyState !== 'loading') {
+ if (contentDocument.location.pathname.endsWith('/fake.html') && contentDocument.readyState !== 'loading') {
882
clearInterval(interval);
883
onFrameLoaded(contentDocument);
884
0 commit comments