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][Coop] Browsing context switch reporting WPT #23670

Merged
merged 1 commit into from
Jun 11, 2020

Conversation

chromium-wpt-export-bot
Copy link
Collaborator

@chromium-wpt-export-bot chromium-wpt-export-bot commented May 18, 2020

This CL adds basic reporting tests for browsing context switches.
It provides a reporting endpoint (report.py), and reusable helpers
within reporting-common.js, allowing future tests.
The helpers provided verify that expected report templates are present
on the expected endpoints, and that no extraneous reports are present.

This CL only convers the cases:
Popup opened from pages with coop :
Same-origin with report only navigating to *
Same-origin (without report) navigatin to *-with report
Follow ups will cover redirects (moved to follow up as it had timeout
issues), other origins and iframe cases.

Bug: 1076456
Change-Id: I7a39d4def20692d8628ce2406569638310684f4f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2207451
Reviewed-by: Arthur Sonzogni <[email protected]>
Commit-Queue: Pâris Meuleman <[email protected]>
Auto-Submit: Pâris Meuleman <[email protected]>
Cr-Commit-Position: refs/heads/master@{#776008}

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 force-pushed the chromium-export-cl-2207451 branch 2 times, most recently from c9693f0 to d9acb68 Compare May 19, 2020 15:18
@chromium-wpt-export-bot chromium-wpt-export-bot force-pushed the chromium-export-cl-2207451 branch 10 times, most recently from 54eced9 to 0eb2590 Compare May 29, 2020 09:00
@chromium-wpt-export-bot chromium-wpt-export-bot changed the title Add basic reporting test from Same-origin [Security][Coop] Browsing context switch reporting WPT May 29, 2020
@chromium-wpt-export-bot chromium-wpt-export-bot force-pushed the chromium-export-cl-2207451 branch 5 times, most recently from 9b67146 to acefb9b Compare June 3, 2020 15:31
This CL adds basic reporting tests for browsing context switches.
It provides a reporting endpoint (report.py), and reusable helpers
within reporting-common.js, allowing future tests.
The helpers provided verify that expected report templates are present
on the expected endpoints, and that no extraneous reports are present.

This CL only convers the cases:
Popup opened from pages with coop :
 Same-origin with report only navigating to *
 Same-origin (without report) navigatin to *-with report
Follow ups will cover redirects (moved to follow up as it had timeout
 issues), other origins and iframe cases.

Bug: 1076456
Change-Id: I7a39d4def20692d8628ce2406569638310684f4f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2207451
Reviewed-by: Arthur Sonzogni <[email protected]>
Commit-Queue: Pâris Meuleman <[email protected]>
Auto-Submit: Pâris Meuleman <[email protected]>
Cr-Commit-Position: refs/heads/master@{#776008}
@KyleJu
Copy link
Contributor

KyleJu commented Jun 11, 2020

The following test failed on wpt-chrome-dev-stability

Slow tests

Test Result Longest duration (ms) Timeout (ms)
/html/cross-origin-opener-policy/reporting-popup-same-origin-coep-report-to.https.html OK 60078 60000

@KyleJu
Copy link
Contributor

KyleJu commented Jun 11, 2020

@stephenmcgruer The Taskcluster failure is caused by a timeout. I did see some failing tests in the log but there is no unstable result. Could you admin merge? #7660

@stephenmcgruer
Copy link
Contributor

Huh, I wanted to say that the correct action is to mark the test timeout=long, but it appears to already be so. Ok, admin-merging.

@stephenmcgruer stephenmcgruer merged commit 2eccf72 into master Jun 11, 2020
@stephenmcgruer stephenmcgruer deleted the chromium-export-cl-2207451 branch June 11, 2020 21:16
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.

5 participants