Repository navigation
Index the session past correctly when discarding. - #14860
bors-servo merged 3 commits into
Conversation
|
r? @cbrewster |
|
Any chance to test this? |
|
Not entirely sure how we'd test this. Do we have a servo-specific wpt? |
|
Yes, you have the tests/mozilla, and TestBinding if you need to expose internals. |
|
I meant |
|
Do we have tests that are only intended for servo, not for FF? |
|
May fix #7572? |
Yes, quite a few of them, grep for |
|
@emilio I added a test, took a while to work out how to test for this! |
cbrewster
left a comment
There was a problem hiding this comment.
Shouldn't we be use an iframe for the test? Does it mess with the testharness to discard and reload the page?
|
There's no messing with the test harness, just some hoop jumping to make sure the test reporting comes from a page with the same URL as the original. |
|
@bors-servo r+ |
|
📌 Commit 0396934 has been approved by |
…when-discarding, r=cbrewster Index the session past correctly when discarding. <!-- Please describe your changes on the following line: --> Oops, indexed from the wrong end when discarding documents in #14312. --- <!-- 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 do not require tests because we're not testing document discarding <!-- 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/14860) <!-- Reviewable:end -->
|
💔 Test failed - mac-rel-wpt1 |
Details |
0396934 to
53436c8
Compare
|
IRC chat with @cbrewster http://logs.glob.uno/?c=mozilla%23servo&s=5+Jan+2017&e=5+Jan+2017#c587879 TL;DR the crash is the same as #14312 (comment), with root cause #14843. The long-term solution is to fix that issue, but in the short term increasing the default @bors-servo r=cbrewster |
|
📌 Commit 53436c8 has been approved by |
…when-discarding, r=cbrewster Index the session past correctly when discarding. <!-- Please describe your changes on the following line: --> Oops, indexed from the wrong end when discarding documents in #14312. --- <!-- 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 do not require tests because we're not testing document discarding <!-- 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/14860) <!-- Reviewable:end -->
|
💔 Test failed - linux-rel-wpt |
|
|
Oh that's ironic, that would be the test I just added to make sure that document discarding is happening, and which assumes the default max session history is 16. |
53436c8 to
b401556
Compare
|
Fixed the test. @bors-servo r=cbrewster |
|
📌 Commit b401556 has been approved by |
…when-discarding, r=cbrewster Index the session past correctly when discarding. <!-- Please describe your changes on the following line: --> Oops, indexed from the wrong end when discarding documents in #14312. --- <!-- 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 do not require tests because we're not testing document discarding <!-- 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/14860) <!-- Reviewable:end -->
|
☀️ Test successful - android, arm32, arm64, linux-dev, linux-rel-css, linux-rel-wpt, mac-dev-unit, mac-rel-css, mac-rel-wpt1, mac-rel-wpt2, windows-gnu-dev, windows-msvc-dev |
Oops, indexed from the wrong end when discarding documents in #14312.
./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is