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 upAdd referrerpolicy to list of relevant mutations #26450
Conversation
highfive
commented
May 6, 2020
|
Thanks for the pull request, and welcome! The Servo team is excited to review your changes, and you should hear from @Manishearth (or someone else) soon. |
highfive
commented
May 6, 2020
|
Heads up! This PR modifies the following files:
|
|
@bors-servo try=wpt |
…evant_mutations, r=<try> Add referrerpolicy to list of relevant mutations <!-- Please describe your changes on the following line: --> `img.referrerPolicy` change now mutates the image. Not all `referrerPolicy` attribute changes result in an image update event. Only valid changes are reflected. All referrerpolicy tests inside `relevant-mutations.html` WPT test now pass. --- <!-- 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 #26388 <!-- Either: --> - [x] These have tests: ``` ./mach test-wpt tests/wpt/web-platform-tests/html/semantics/embedded-content/the-img-element/relevant-mutations.html ```
|
|
|
I don't fully understand the test results. There are some irrelevant tests (probably), I didn't change anything related to CSS, but some CSS tests are failing. However, it appears that there are some relevant tests with unexpected results:
Unfortunately, I cannot run this test locally. I tried running:
This is due to #26431 (it runs the test in headless mode). I am not sure what to do next. Should I edit What about the other tests? Is this me or they are just flaky? |
|
Oh, only the results in the public/filtered-wpt-errorsummary.log artifact matter; the others are filtered into public/intermittents.log because they are tests with known intermittent failures. And yes, removing those expected failures from the ini file is the correct choice here. |
|
@bors-servo try=wpt |
…evant_mutations, r=<try> Add referrerpolicy to list of relevant mutations <!-- Please describe your changes on the following line: --> `img.referrerPolicy` change now mutates the image. Not all `referrerPolicy` attribute changes result in an image update event. Only valid changes are reflected. All referrerpolicy tests inside `relevant-mutations.html` WPT test now pass. --- <!-- 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 #26388 <!-- Either: --> - [x] These have tests: ``` ./mach test-wpt tests/wpt/web-platform-tests/html/semantics/embedded-content/the-img-element/relevant-mutations.html ```
|
|
One missing one. |
Sorry, added removed this expectation as well. |
|
@bors-servo try=wpt |
|
@PeterZhizhin: |
2 similar comments
|
@PeterZhizhin: |
|
@PeterZhizhin: |
|
Looks good! Please squash your changes into a single commit, too. |
c7ee67a
to
f44c2c9
|
I've addressed all review comments. Also squashed all commits into one. |
|
@bors-servo r+ |
|
|
|
|
PeterZhizhin commentedMay 6, 2020
img.referrerPolicychange now mutates the image.Not all
referrerPolicyattribute changes result in an image update event.Only valid changes are reflected.
All referrerpolicy tests inside
relevant-mutations.htmlWPT test now pass../mach build -ddoes not report any errors./mach test-tidydoes not report any errors