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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 13 10:02:44 PDT 2017


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

Brady Eidson <beidson at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |beidson at apple.com

--- Comment #6 from Brady Eidson <beidson at apple.com> ---
(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.

I know it's possible we're resolving this a different way.

But, if we *do* end up taking this patch, there's definitely a way to API-test it to get a cross-origin navigation in TestWebKitAPI, *without* using an httpd: WKURLSchemeHandler and a custom protocol.

-- 
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/20170613/938b8548/attachment.html>


More information about the webkit-unassigned mailing list