-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[COOP] access reporting: fix flakes reporting.html
The WPT testharness.js is defining: ``` WindowTestEnvironment.prototype._forEach_windows = function(callback) { // Iterate over the windows [self ... top, opener]. The callback is // passed two objects, the first one is the window object itself, the // second one is a boolean indicating whether or not it's on the same // origin as the (...) ``` This causes some postMessage to be sent cross-window. They are reported and causes failures. For instance in reporting-observer.html test. This patch removes testharness.js from executor.html This fixed the issue for reporting-observer.html More generally, we shouldn't check access in between two windows, when one of them is using testharness.js Bug:1090273 Change-Id: I261b9bfece935e3613c250a3a9402a1c8a6ff14e
- Loading branch information
1 parent
16c99fc
commit 89de933
Showing
3 changed files
with
4 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 0 additions & 1 deletion
1
html/cross-origin-opener-policy/reporting/resources/executor.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters