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
{{ message }}
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.
Did you search for similar issues before submitting this one?
yes
Describe the issue you encountered:
dragging and dropping a javascript: url to the navigation bar area (not the bookmarks toolbar) causes the browser to whitescreen. demo: open https://jsfiddle.net/r2ftho8k/ and drag the 'click me' link to the navbar.
I think loading javascript: does not fire the will-navigate event, so we can't filter out the URL in our will-navigate handler. Probably as an XSS-prevention mechanism, the browser autoredirects to about:blank. I have a quick workaround but would be safer to either add a custom cancelable event in Electron for all webcontent location changes, or fastidiously add drop handlers in the browser window area.
will-navigate is explicitly not fired for certain types of navigation. Dragging the link causes a fatal error [82653:0523/152955:ERROR:atom_bindings.cc(39)] Fatal error in V8: v8::HandleScope::CreateHandle() Cannot create a handle without a HandleScope
Did you search for similar issues before submitting this one?
yes
Describe the issue you encountered:
dragging and dropping a javascript: url to the navigation bar area (not the bookmarks toolbar) causes the browser to whitescreen. demo: open https://jsfiddle.net/r2ftho8k/ and drag the 'click me' link to the navbar.
Expected behavior:
nothing should happen
may be a regression of Dragging a Bookmarklet to the tab-bar area causes the browser to whitescreen #259
The text was updated successfully, but these errors were encountered: