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 upHistory interface Go, Back, and Forward #12552
Conversation
highfive
commented
Jul 22, 2016
|
Heads up! This PR modifies the following files:
|
|
@bors-servo try |
History interface Go, Back, and Forward <!-- Please describe your changes on the following line: --> r? @asajeffrey --- <!-- 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 #5670 (github issue number if applicable). <!-- Either: --> - [X] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> implement go, forward, back
|
|
The first fail is the interesting one, the second is good news. The other two are just reminding us to get @jdm or @Ms2ger to bless this PR. |
|
Updated test expectations |
|
Reviewed 13 of 14 files at r1, 5 of 5 files at r2. components/script/dom/webidls/History.webidl, line 10 [r2] (raw file):
It would be nice to support length at some point, not necessarily this PR though. Comments from Reviewable |
|
History does not belong in worker scopes and shouldn't have any Exposed annotation. |
|
|
History interface Go, Back, and Forward <!-- Please describe your changes on the following line: --> r? @asajeffrey --- <!-- 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 #5670 (github issue number if applicable). <!-- Either: --> - [X] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> implement go, forward, back <!-- 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/12552) <!-- Reviewable:end -->
|
|
|
@bors-servo retry |
History interface Go, Back, and Forward <!-- Please describe your changes on the following line: --> r? @asajeffrey --- <!-- 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 #5670 (github issue number if applicable). <!-- Either: --> - [X] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> implement go, forward, back <!-- 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/12552) <!-- Reviewable:end -->
|
|
highfive
commented
Jul 22, 2016
|
|
Oh how ironic, this test is now intermittent, most likely due to the race condition between f.onload and the setTimeout. |
|
@asajeffrey sigh.. I wonder if there is a way we can make this pass in both Gecko and Servo regardless of the onload issue |
|
Would it be ok to change: https://github.com/ConnorGBrewster/servo/blob/master/tests/wpt/web-platform-tests/html/browsers/browsing-the-web/history-traversal/browsing_context_name_cross_origin.html#L40
to
That makes it pass in Servo(as the onload callback is not called for |
implement go, forward, back
|
Disabled |
|
@bors-servo r=asajeffrey |
|
|
|
|
History interface Go, Back, and Forward <!-- Please describe your changes on the following line: --> r? @asajeffrey --- <!-- 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 #5670 (github issue number if applicable). <!-- Either: --> - [X] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> implement go, forward, back <!-- 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/12552) <!-- Reviewable:end -->
|
|
|
#12563 makes some changes to onload to make it more consistent, would be nice to see if those changes fix any of the races you see here. |
|
@emilio I tested locally and haven't hit any intermittent failures! |
cbrewster commentedJul 22, 2016
•
edited by larsbergstrom
r? @asajeffrey
./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsimplement go, forward, back
This change is