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 upImplement dom exception constructor #22480
Conversation
highfive
commented
Dec 17, 2018
|
Thanks for the pull request, and welcome! The Servo team is excited to review your changes, and you should hear from @SimonSapin (or someone else) soon. |
highfive
commented
Dec 17, 2018
|
Heads up! This PR modifies the following files:
|
highfive
commented
Dec 17, 2018
|
Yes, you should follow https://github.com/servo/servo/blob/master/tests/wpt/README.md#updating-test-expectations and you can restrict the tests that are run to the directories that are known to use this. |
37fc164
to
83d318c
|
@jdm I've updated expectations for the tests, which are executed by |
|
@jdm @SimonSapin |
|
This looks like a sensible implementation of the specification. Thanks! |
|
@bors-servo r+ |
|
|
Implement dom exception constructor The constructor method was implemented I have a question: should I edit `./mach test-wpt` expectations? --- <!-- 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 #22412 - [x] There are tests for these changes <!-- 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/22480) <!-- Reviewable:end -->
|
|
|
These changes expose a problem with the upstream Bluetooth tests - they rely on a Chrome-only test feature. |
|
This actually comes from code that is supposed to deal with non-Chromium browsers: https://searchfox.org/mozilla-central/source/testing/web-platform/tests/bluetooth/resources/bluetooth-helpers.js#21-24 |
|
Wilco |
|
Could we do |
|
I actually prefer to keep the commits together when possible. It makes sense to include the test result changes in the same commit as the code changes that caused them. |
b3c7c2a
to
e55b76b
|
@bors-servo r+ |
|
|
Implement dom exception constructor The constructor method was implemented I have a question: should I edit `./mach test-wpt` expectations? --- <!-- 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 #22412 - [x] There are tests for these changes <!-- 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/22480) <!-- Reviewable:end -->
|
|
highfive
commented
Mar 20, 2019
|
Test failures:
|
|
Looks like four tests results need to have a toplevel |
|
@jdm
|
|
Hmm. I suspect that this code is racy in Servo; maybe the page finishes loading sometimes before the promise_test call is executed. I think we should modify that file to immediately call promise_test instead of calling it from a then() callback. |
|
Something like that?
I did it locally. Ran test a couple of times and got that Maybe it would be better to turn them off? UPD without the above changeset these tests also fail unexpectedly. |
|
Humbug. Let's try disabling those tests in that case ( |
|
I'm sorry, looks like I don't understand you. Should I disable By the way: I ran the tests
|
|
Yes, let's try adding a |
|
I did it ( |
|
@bors-servo r+ |
|
|
Implement dom exception constructor The constructor method was implemented I have a question: should I edit `./mach test-wpt` expectations? --- <!-- 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 #22412 - [x] There are tests for these changes <!-- 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/22480) <!-- Reviewable:end -->
|
|
cdeler commentedDec 17, 2018
•
edited by ferjm
The constructor method was implemented
I have a question: should I edit
./mach test-wptexpectations?./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is