Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Security] WPT for COOP and iframe relationships #20942

Merged
merged 1 commit into from Jan 15, 2020

Conversation

chromium-wpt-export-bot
Copy link
Collaborator

@chromium-wpt-export-bot chromium-wpt-export-bot commented Dec 30, 2019

This adds several popup initiated from iframe tests, including the
specific test asserting that, when:
- given top-level document A;
- given Iframe B;
- A is cross-origin with B;
- A has a Cross-origin-opener-policy of "same-origin";
- B opens a popup C;
C must have the noopener property.

Bug: 922191
Change-Id: I90e2bea3ebc4f2e59653c9fc54b2858246d59c13
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1984306
Commit-Queue: Pâris Meuleman <pmeuleman@chromium.org>
Reviewed-by: Camille Lamy <clamy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#731905}

Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Chromium project.

@chromium-wpt-export-bot chromium-wpt-export-bot changed the title [Security] WPT test for COOP and noopener popups [Security] WPT for COOP and iframe relationships Dec 30, 2019
@chromium-wpt-export-bot chromium-wpt-export-bot force-pushed the chromium-export-cl-1984306 branch 3 times, most recently from 7ad4b74 to 4638d77 Compare January 6, 2020 12:09
@chromium-wpt-export-bot chromium-wpt-export-bot force-pushed the chromium-export-cl-1984306 branch 4 times, most recently from 554cc89 to dac2dc7 Compare January 13, 2020 08:57
@chromium-wpt-export-bot chromium-wpt-export-bot force-pushed the chromium-export-cl-1984306 branch 2 times, most recently from bf8788b to 81af4fe Compare January 14, 2020 15:22
This adds several popup initiated from iframe tests, including the
specific test asserting that, when:
    - given top-level document A;
    - given Iframe B;
    - A is cross-origin with B;
    - A has a Cross-origin-opener-policy of "same-origin";
    - B opens a popup C;
C must have the noopener property.

Bug: 922191
Change-Id: I90e2bea3ebc4f2e59653c9fc54b2858246d59c13
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1984306
Commit-Queue: Pâris Meuleman <pmeuleman@chromium.org>
Reviewed-by: Camille Lamy <clamy@chromium.org>
Cr-Commit-Position: refs/heads/master@{#731905}
@ParisMeuleman
Copy link
Contributor

@zcorpan, not sure what to do about the status of this PR? the failure does not seem directly related to the changes introduced here, am I missing something?

(Also good opportunity to FYI on this)

@stephenmcgruer
Copy link
Contributor

(We have a sheriff rotation that notices blocked PRs and investigates. Takes a few hours after the test lands Chromium-side for it to show up on our dashboard.)

An affected test flaked on Firefox stability checks:

24:03.40 INFO |                                             Test                                            |                              Subtest                               |            Results            |     Messages     |
24:03.40 INFO |---------------------------------------------------------------------------------------------|--------------------------------------------------------------------|-------------------------------|------------------|
24:03.40 INFO | `/html/cross-origin-opener-policy/historical/coep-navigate-popup-unsafe-inherit.https.html` |                                                                    | **OK: 1/10, TIMEOUT: 9/10**   |                  |
24:03.40 INFO | `/html/cross-origin-opener-policy/historical/coep-navigate-popup-unsafe-inherit.https.html` | `Popup navigating to same-origin with coop unsafe-inherit/no coep` | **PASS: 1/10, TIMEOUT: 9/10** | `Test timed out` |
24:03.40 INFO 

I would agree that this PR didn't affect that test directly, and looks like it was already flaky. Admin-merging.

@stephenmcgruer stephenmcgruer merged commit 11ac3be into master Jan 15, 2020
@stephenmcgruer stephenmcgruer deleted the chromium-export-cl-1984306 branch January 15, 2020 18:25
@zcorpan
Copy link
Member

zcorpan commented Jan 15, 2020

@ParisMeuleman thanks for the heads up. I believe that is this issue #21107

Edit: also thanks @stephenmcgruer for investigating and merging :)

@zcorpan
Copy link
Member

zcorpan commented Jan 15, 2020

@annevk might be interested in this PR also

@ParisMeuleman
Copy link
Contributor

annevk might be interested in this PR also

Yep, I did not mention him here since he had a look on the chromium repo :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants