Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upTrack hash changes in session history #21048
Conversation
highfive
commented
Jun 13, 2018
|
Heads up! This PR modifies the following files:
|
|
r? @asajeffrey |
| [Queue a task to fire hashchange event] | ||
| expected: TIMEOUT | ||
| expected: FAIL |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
cbrewster
Jun 14, 2018
Author
Member
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.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
jdm
Jun 14, 2018
Member
Also it looks like bubbles should be false per the "Example" block at https://dom.spec.whatwg.org/#concept-event-fire.
This comment has been minimized.
This comment has been minimized.
jdm
Jun 14, 2018
Member
Given web-platform-tests/wpt#11355 from 9 days ago, I think we should update 004.html to match.
This comment has been minimized.
This comment has been minimized.
|
|
|
Does this trigger the |
|
@paulrouget looks like it doesn't. I don't think |
d0a7cc2
to
b6b0f32
|
Error syncing changes upstream. Logs saved in error-snapshot-1530134754172. |
|
|
|
OK, this looks really good! Squash, rebase and r=me. |
b6b0f32
to
33f40a4
|
@bors-servo r=asajeffrey |
|
|
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 -->
|
|
|
33f40a4
to
39acdcd
|
Notify history changed on pushState and scroll to frag
39acdcd
to
61442cc
|
@bors-servo r+ |
|
|
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 |
|
|
|
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 retry
|
|
|
|
|
cbrewster commentedJun 13, 2018
•
edited by atouchet
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