Repository navigation
Update hashchange/popstate event tests - #11355
Conversation
|
I noticed some failures and am still investigating: |
|
w3c-test:mirror |
|
w3c-test:mirror |
|
FWIW, the https://w3c-test.org/sync.py webhook has a red warning triange in the repo admin view. Related? |
|
Conclusion from running these tests in Chrome, Edge, Firefox and Safari:
|
Out of Chrome, Edge, Firefox and Safari, only Firefox sets bubbles to true for these events. Since they are dispatched on the window object, that is not particularly meaningful, so match the 3/4 majority. Tests: web-platform-tests/wpt#11355
9d8b176 to
1a4143b
Compare
|
OK, now ready to review together with spec change: whatwg/html#3737 |
Out of Chrome, Edge, Firefox and Safari, only Firefox sets bubbles to true for these events. Since they are dispatched on the Window object, that is not particularly meaningful, so match the 3/4 majority. Tests: web-platform-tests/wpt#11355.
|
@cdumez @youennf FYI, I'm fixing the cancelable popstate event in https://chromium-review.googlesource.com/c/chromium/src/+/1087047, which will leave WebKit as the only engine where that event is cancelable. Would you like me to file a bug, or can either of you quickfix it? |
|
@foolip I will try and quick fix it today: Thanks for the heads up. |
https://bugs.webkit.org/show_bug.cgi?id=186420 Reviewed by Darin Adler. LayoutTests/imported/w3c: Resync web-platform-tests after: web-platform-tests/wpt#11355 * web-platform-tests/html/browsers/browsing-the-web/history-traversal/hashchange_event-expected.txt: * web-platform-tests/html/browsers/browsing-the-web/history-traversal/hashchange_event.html: * web-platform-tests/html/browsers/browsing-the-web/history-traversal/popstate_event.html: Source/WebCore: PopStateEvent should not be cancelable by default: - web-platform-tests/wpt#11355 - https://html.spec.whatwg.org/#history-traversal All other browsers agree with the specification. No new tests, updated existing tests. * dom/PopStateEvent.cpp: (WebCore::PopStateEvent::PopStateEvent): git-svn-id: http://svn.webkit.org/repository/webkit/trunk@232610 268f45cc-cd09-0410-ab3c-d52691b4dbfc
It is not cancelable in the spec: https://html.spec.whatwg.org/#history-traversal Investigating behavior in Chrome, Edge, Firefox and Safari, it was only cancelable in Chrome and Safari: web-platform-tests/wpt#11355 (comment) It doesn't actually make any sense to cancel it, so this is most likely an historical accident. Change-Id: I3982d4414d1214784a6d8af3b03ea7264ff93b48 Reviewed-on: https://chromium-review.googlesource.com/1087047 Commit-Queue: Philip Jägenstedt <[email protected]> Reviewed-by: Kent Tamura <[email protected]> Cr-Commit-Position: refs/heads/master@{#565630}
This brings the `html/browsers/browsing-the-web/scroll-to-fragid/004.html` test up to date with the spec change made here: whatwg/html#3737. Other tests were changed to reflect this in #11355.
This brings the `html/browsers/browsing-the-web/scroll-to-fragid/004.html` test up to date with the spec change made here: whatwg/html#3737. Other tests were changed to reflect this in web-platform-tests#11355.
…a=testonly Automatic update from web-platform-testsThe hashchange event should not bubble This brings the `html/browsers/browsing-the-web/scroll-to-fragid/004.html` test up to date with the spec change made here: whatwg/html#3737. Other tests were changed to reflect this in web-platform-tests/wpt#11355. -- wpt-commits: 3aaef8d2cac4ab2044a1ba01895f2e028b91d996 wpt-pr: 11672
Out of Chrome, Edge, Firefox and Safari, only Firefox sets bubbles to true for these events. Since they are dispatched on the Window object, that is not particularly meaningful, so match the 3/4 majority. Tests: web-platform-tests/wpt#11355.
…a=testonly Automatic update from web-platform-testsThe hashchange event should not bubble This brings the `html/browsers/browsing-the-web/scroll-to-fragid/004.html` test up to date with the spec change made here: whatwg/html#3737. Other tests were changed to reflect this in web-platform-tests/wpt#11355. -- wpt-commits: 3aaef8d2cac4ab2044a1ba01895f2e028b91d996 wpt-pr: 11672 UltraBlame original commit: ae0bb1f940e178bc39c17224d1fa264af2deacb4
…a=testonly Automatic update from web-platform-testsThe hashchange event should not bubble This brings the `html/browsers/browsing-the-web/scroll-to-fragid/004.html` test up to date with the spec change made here: whatwg/html#3737. Other tests were changed to reflect this in web-platform-tests/wpt#11355. -- wpt-commits: 3aaef8d2cac4ab2044a1ba01895f2e028b91d996 wpt-pr: 11672 UltraBlame original commit: ae0bb1f940e178bc39c17224d1fa264af2deacb4
…a=testonly Automatic update from web-platform-testsThe hashchange event should not bubble This brings the `html/browsers/browsing-the-web/scroll-to-fragid/004.html` test up to date with the spec change made here: whatwg/html#3737. Other tests were changed to reflect this in web-platform-tests/wpt#11355. -- wpt-commits: 3aaef8d2cac4ab2044a1ba01895f2e028b91d996 wpt-pr: 11672 UltraBlame original commit: ae0bb1f940e178bc39c17224d1fa264af2deacb4
https://bugs.webkit.org/show_bug.cgi?id=186420 Reviewed by Darin Adler. LayoutTests/imported/w3c: Resync web-platform-tests after: web-platform-tests/wpt#11355 * web-platform-tests/html/browsers/browsing-the-web/history-traversal/hashchange_event-expected.txt: * web-platform-tests/html/browsers/browsing-the-web/history-traversal/hashchange_event.html: * web-platform-tests/html/browsers/browsing-the-web/history-traversal/popstate_event.html: Source/WebCore: PopStateEvent should not be cancelable by default: - web-platform-tests/wpt#11355 - https://html.spec.whatwg.org/#history-traversal All other browsers agree with the specification. No new tests, updated existing tests. * dom/PopStateEvent.cpp: (WebCore::PopStateEvent::PopStateEvent): Canonical link: https://commits.webkit.org/201781@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@232610 268f45cc-cd09-0410-ab3c-d52691b4dbfc
…a=testonly Automatic update from web-platform-testsThe hashchange event should not bubble This brings the `html/browsers/browsing-the-web/scroll-to-fragid/004.html` test up to date with the spec change made here: whatwg/html#3737. Other tests were changed to reflect this in web-platform-tests/wpt#11355. -- wpt-commits: 3aaef8d2cac4ab2044a1ba01895f2e028b91d996 wpt-pr: 11672
Spec: https://html.spec.whatwg.org/#history-traversal