[Webkit-unassigned] [Bug 170906] WKNavigationAction._shouldOpenExternalSchemes should return false for cross-frame navigations

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jun 15 10:42:03 PDT 2017


https://bugs.webkit.org/show_bug.cgi?id=170906

Sam Weinig <sam at webkit.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sam at webkit.org

--- Comment #8 from Sam Weinig <sam at webkit.org> ---
(In reply to Antti Koivisto from comment #5)
> I didn't manage to make a test. The existing api tests for
> _shouldOpenExternalSchemes don't load anything beyond the test document,
> they cancel the navigations. Hitting this requires actual js-initiated
> cross-origin navigation and there is no HTTP server for API tests. 
> 
> Maybe there is some good way to fake it but I don't see anything obvious.

While there may be ways to work around this issue on a case by case basis (add SPI to define schemes as being http like, to allow a foo:// navigation bar:// act as a cross origin), I think we really need to solve this problem. Using httpd (or maybe the web-platform-tests python one) could be one solution, though it would be nice if could do it in process.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170615/1c72794d/attachment-0001.html>


More information about the webkit-unassigned mailing list