You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NWJS Version : 0.26.5, 0.26.6, 0.27.3
Operating System : Linux, OSX
Expected behavior
It has to allow or deny resource loading from extension's content script in webview with chrome-extension: protocol instead of crash. The same as it handled for main page.
Actual behavior
resource with chrome-extension: protocol is loaded successful from background script
resource with chrome-extension: protocol is loaded successful from content script in main page
but crashes on load resource with chrome-extension: protocol from content script in webview
sample extension loads own resource in content script with XMLHttpRequest or SCRIPT tag with URL received from chrome.runtime.getURL call (URL will be in the form of chrome-extension://extensionID/resourcePath)
extension manifest has "match_about_blank": true because of webview's src is set to blank
extension loads own external resource with chrome-extension: protocol from content script on main page
extension loads own external resource with chrome-extension: protocol from background script (removed from min sample attached for simplicity)
nwjs crashes when content script in webview loads own external resource with chrome-extension: protocol
it can crash on some sites in src attribute of webview and doesn't crash on others, but i attached min sample where it crashes
moreover it looks like it crashes sometime even on loading from main page without strict reproducing. It appeared several times when there was no network connection. Main ui was loaded from localhost (crash dump for this special case for linux sdk version 0.26.6: 7edf956e-6f61-4b1c-611307a1-2107e402.dmp.zip
top of crash dump 663502ad-6a6b-4a53-aae7-79fb9727ab68 is:
NWJS Version : 0.26.5, 0.26.6, 0.27.3
Operating System : Linux, OSX
Expected behavior
It has to allow or deny resource loading from extension's content script in webview with chrome-extension: protocol instead of crash. The same as it handled for main page.
Actual behavior
How to reproduce
"match_about_blank": true
because of webview's src is set to blankattached min sample: nw-crash.zip
notes:
crash dump for osx sdk version 0.26.5: 663502ad-6a6b-4a53-aae7-79fb9727ab68.dmp.zip
7edf956e-6f61-4b1c-611307a1-2107e402.dmp.zip
top of crash dump 663502ad-6a6b-4a53-aae7-79fb9727ab68 is:
The text was updated successfully, but these errors were encountered: