[wpt-sync] Sync PR 25834 - [COOP] access reporting: fix flakes reporting.html
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox88 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 25834 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/25834
Details from upstream follow.
b'arthursonzogni <arthursonzogni@chromium.org>' wrote:
[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.htmlMore generally, we shouldn't check access in between two windows, when
one of them is using testharness.jsBug:1090273
Change-Id: I261b9bfece935e3613c250a3a9402a1c8a6ff14eReviewed-on: https://chromium-review.googlesource.com/2436742
WPT-Export-Revision: f469754f2e93c0549619f5e0eb15f9e645dcfee6
| Assignee | ||
Comment 1•5 years ago
|
||
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Updated•5 years ago
|
| Assignee | ||
Comment 2•5 years ago
|
||
| Assignee | ||
Comment 4•5 years ago
|
||
| Assignee | ||
Comment 6•5 years ago
|
||
| Assignee | ||
Comment 8•5 years ago
|
||
Comment 9•5 years ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/f7a6633c3d21
https://hg.mozilla.org/mozilla-central/rev/d93b8a738cc5
Description
•