From 3d0c330bc5604f4cbd3641ef01021f37f13937c7 Mon Sep 17 00:00:00 2001 From: arthursonzogni Date: Fri, 7 Aug 2020 12:40:42 +0000 Subject: [PATCH] Bug 1656457 [wpt PR 24823] - [COOP] ReportingObserver [1/M] Add WPT tests., a=testonly MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Automatic update from web-platform-tests [COOP] ReportingObserver [1/M] Add WPT tests. When an access is made in between two windows that would be put in different browsing context group if COOP was enforced, we should dispatch events to the ReportingObserver(s) and display error messages. This patch adds the first two basic WPT tests. A few more are also coming in follow-ups, in particular when the access is made from an iframe. Branch: [1/M] This patch. Bug: 1111691 Change-Id: I38d7092c9edb664b9f2936c7a86f2c488fafde9c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2332257 Commit-Queue: Arthur Sonzogni Reviewed-by: Pâris Meuleman Cr-Commit-Position: refs/heads/master@{#794105} -- wpt-commits: 813888b3f830c6d52ed3382a4976fd6196240159 wpt-pr: 24823 --- .../access-reporting/reporting-observer.html | 135 +++++++++++++++++++++ 1 file changed, 135 insertions(+) create mode 100644 testing/web-platform/tests/html/cross-origin-opener-policy/reporting/access-reporting/reporting-observer.html diff --git a/testing/web-platform/tests/html/cross-origin-opener-policy/reporting/access-reporting/reporting-observer.html b/testing/web-platform/tests/html/cross-origin-opener-policy/reporting/access-reporting/reporting-observer.html new file mode 100644 index 000000000000..4d1eda941ae5 --- /dev/null +++ b/testing/web-platform/tests/html/cross-origin-opener-policy/reporting/access-reporting/reporting-observer.html @@ -0,0 +1,135 @@ + + Check the ReportingObserver(s) are notified about the coop-access-violation + events. + + + + + + + + -- 2.11.4.GIT