Repository navigation
Track hash changes in session history - #21048
Conversation
|
Heads up! This PR modifies the following files:
|
|
r? @asajeffrey |
| expected: TIMEOUT | ||
| [Queue a task to fire hashchange event] | ||
| expected: TIMEOUT | ||
| expected: FAIL |
There was a problem hiding this comment.
This test expects bubbles for the hashchange event to be false, but /html/browsers/browsing-the-web/scroll-to-fragid/004.html expects bubbles to be true. I wasn't able to find where this is specified in the specification, but Firefox sets bubbles to be true, so I went with that. One of the tests will need to be fixed.
There was a problem hiding this comment.
Interestingly, Firefox passes both tests.
There was a problem hiding this comment.
Also it looks like bubbles should be false per the "Example" block at https://dom.spec.whatwg.org/#concept-event-fire.
There was a problem hiding this comment.
Given web-platform-tests/wpt#11355 from 9 days ago, I think we should update 004.html to match.
There was a problem hiding this comment.
Ahh that explains it! I'll update it to false
|
☔ The latest upstream changes (presumably #21086) made this pull request unmergeable. Please resolve the merge conflicts. |
|
Does this trigger the |
|
@paulrouget looks like it doesn't. I don't think |
d0a7cc2 to
b6b0f32
Compare
|
Error syncing changes upstream. Logs saved in error-snapshot-1530134754172. |
|
☔ The latest upstream changes (presumably #21204) made this pull request unmergeable. Please resolve the merge conflicts. |
|
OK, this looks really good! Squash, rebase and r=me. |
b6b0f32 to
33f40a4
Compare
|
@bors-servo r=asajeffrey |
|
📌 Commit 33f40a4 has been approved by |
Track hash changes in session history <!-- Please describe your changes on the following line: --> Adds tracking of hash changes in the session history. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #14970 fix #13437 (github issue number if applicable). <!-- Either: --> - [X] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21048) <!-- Reviewable:end -->
|
💔 Test failed - linux-rel-css |
|
33f40a4 to
39acdcd
Compare
|
Notify history changed on pushState and scroll to frag
39acdcd to
61442cc
Compare
|
@bors-servo r+ |
|
📌 Commit 61442cc has been approved by |
Track hash changes in session history <!-- Please describe your changes on the following line: --> Adds tracking of hash changes in the session history. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #14970 fix #13437 (github issue number if applicable). <!-- Either: --> - [X] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21048) <!-- Reviewable:end -->
|
@bors-servo r=asajeffrey |
|
💡 This pull request was already approved, no need to approve it again.
|
|
📌 Commit 61442cc has been approved by |
Track hash changes in session history <!-- Please describe your changes on the following line: --> Adds tracking of hash changes in the session history. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #14970 fix #13437 (github issue number if applicable). <!-- Either: --> - [X] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21048) <!-- Reviewable:end -->
|
💔 Test failed - mac-rel-wpt3 |
|
@bors-servo retry
|
|
⚡ Previous build results for android, android-x86, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css1, mac-rel-css2, mac-rel-wpt1, mac-rel-wpt2, mac-rel-wpt4, windows-msvc-dev are reusable. Rebuilding only mac-rel-wpt3... |
|
☀️ Test successful - android, android-x86, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css1, mac-rel-css2, mac-rel-wpt1, mac-rel-wpt2, mac-rel-wpt3, mac-rel-wpt4, windows-msvc-dev |
Adds tracking of hash changes in the session history.
./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is