Skip to content

Update hashchange/popstate event tests - #11355

Merged
annevk merged 3 commits into
masterfrom
hashchange-popstate-event-props
Jun 7, 2018
Merged

annevk merged 3 commits into
masterfrom
hashchange-popstate-event-props

Conversation

@foolip

@foolip foolip commented Jun 5, 2018

Copy link
Copy Markdown
Member

@wpt-pr-bot wpt-pr-bot added the html label Jun 5, 2018
@foolip

foolip commented Jun 5, 2018

Copy link
Copy Markdown
Member Author

w3c-test:mirror

@foolip

foolip commented Jun 5, 2018

Copy link
Copy Markdown
Member Author

@foolip

foolip commented Jun 5, 2018

Copy link
Copy Markdown
Member Author

w3c-test:mirror

@foolip

foolip commented Jun 5, 2018

Copy link
Copy Markdown
Member Author

FWIW, the https://w3c-test.org/sync.py webhook has a red warning triange in the repo admin view. Related?

@foolip

foolip commented Jun 5, 2018

Copy link
Copy Markdown
Member Author

Conclusion from running these tests in Chrome, Edge, Firefox and Safari:

foolip added a commit to whatwg/html that referenced this pull request Jun 5, 2018
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
@foolip
foolip force-pushed the hashchange-popstate-event-props branch from 9d8b176 to 1a4143b Compare June 5, 2018 12:56
@foolip

foolip commented Jun 5, 2018

Copy link
Copy Markdown
Member Author

OK, now ready to review together with spec change: whatwg/html#3737

@foolip foolip closed this Jun 5, 2018
@foolip foolip reopened this Jun 5, 2018
@annevk
annevk merged commit 81303e1 into master Jun 7, 2018
@annevk
annevk deleted the hashchange-popstate-event-props branch June 7, 2018 12:22
annevk pushed a commit to whatwg/html that referenced this pull request Jun 7, 2018
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.
@foolip

foolip commented Jun 7, 2018

Copy link
Copy Markdown
Member Author

@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?

@cdumez

cdumez commented Jun 7, 2018 •

Copy link
Copy Markdown
Contributor

caiolima pushed a commit to caiolima/webkit-old that referenced this pull request Jun 8, 2018
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
aarongable pushed a commit to chromium/chromium that referenced this pull request Jun 8, 2018
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}
domenic pushed a commit that referenced this pull request Jun 26, 2018
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.
lukebjerring pushed a commit to lukebjerring/wpt that referenced this pull request Jun 29, 2018
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.
moz-v2v-gh pushed a commit to mozilla/gecko-dev that referenced this pull request Jul 11, 2018
…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
alice pushed a commit to alice/html that referenced this pull request Jan 8, 2019
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.
gecko-dev-updater pushed a commit to marco-c/gecko-dev-comments-removed that referenced this pull request Oct 3, 2019
…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
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified-and-comments-removed that referenced this pull request Oct 3, 2019
…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
gecko-dev-updater pushed a commit to marco-c/gecko-dev-wordified that referenced this pull request Oct 3, 2019
…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
ryanhaddad pushed a commit to WebKit/WebKit that referenced this pull request Dec 22, 2020
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
jwidar pushed a commit to jwidar/LatencyZeroGithub that referenced this pull request Sep 16, 2025
…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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants