https://github.com/whatwg/html/issues/3959 describes how Location objects are not interoperable across browsers as well as some research as what browsers could align on here that would most likely be web-compatible and somewhat reasonable. https://github.com/whatwg/html/pull/4076 describes the change to the HTML Standard needed for this and https://github.com/web-platform-tests/wpt/pull/13435 has tests.
Sure, will do the necessary updates once the tests have landed.
Created attachment 353558 [details] WIP Patch
Created attachment 353559 [details] WIP Patch
Created attachment 353614 [details] WIP Patch
Created attachment 353621 [details] WIP Patch
Created attachment 353627 [details] Patch
Comment on attachment 353627 [details] Patch Seems like these might be real? imported/w3c/web-platform-tests/html/browsers/history/the-location-interface/assign_after_load.html [ Failure ] imported/w3c/web-platform-tests/html/browsers/history/the-location-interface/assign_before_load.html [ Failure ]
(In reply to Geoffrey Garen from comment #7) > Comment on attachment 353627 [details] > Patch > > Seems like these might be real? > > > imported/w3c/web-platform-tests/html/browsers/history/the-location-interface/ > assign_after_load.html [ Failure ] > > imported/w3c/web-platform-tests/html/browsers/history/the-location-interface/ > assign_before_load.html [ Failure ] No.
(In reply to Chris Dumez from comment #8) > (In reply to Geoffrey Garen from comment #7) > > Comment on attachment 353627 [details] > > Patch > > > > Seems like these might be real? > > > > > > imported/w3c/web-platform-tests/html/browsers/history/the-location-interface/ > > assign_after_load.html [ Failure ] > > > > imported/w3c/web-platform-tests/html/browsers/history/the-location-interface/ > > assign_before_load.html [ Failure ] > > No. Just tests that I imported earlier today from WPT and are flaky on WK1 bots: https://trac.webkit.org/r237698
Comment on attachment 353627 [details] Patch Attachment 353627 [details] did not pass mac-debug-ews (mac): Output: https://webkit-queues.webkit.org/results/9818066 New failing tests: imported/w3c/web-platform-tests/html/browsers/history/the-location-interface/assign_after_load.html imported/w3c/web-platform-tests/html/browsers/history/the-location-interface/assign_before_load.html
Created attachment 353640 [details] Archive of layout-test-results from ews113 for mac-sierra The attached test failures were seen while running run-webkit-tests on the mac-debug-ews. Bot: ews113 Port: mac-sierra Platform: Mac OS X 10.12.6
Created attachment 353641 [details] Patch
Comment on attachment 353641 [details] Patch r=me
Comment on attachment 353641 [details] Patch Clearing flags on attachment: 353641 Committed r237702: <https://trac.webkit.org/changeset/237702>
All reviewed patches have been landed. Closing bug.
<rdar://problem/45742743>