Closed Bug 1668059 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 25842 - [COOP] access reporting: Fix WPT flakes.

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox83 fixed)

RESOLVED FIXED
83 Branch
Tracking Status
firefox83 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 25842 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/25842
Details from upstream follow.

b'arthursonzogni <arthursonzogni@chromium.org>' wrote:

[COOP] access reporting: Fix WPT flakes.

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 detected
by the Cross-Origin-Opener-Policy-Report-Only.

In general, we must ensure that testharness.js isn't used together with
access checks. This patch removes the ones for all the tests depending
on test-access-property.js

Bug:1090273
Change-Id: I9f13406783d4f5a1d28205b6492ab1b3318c50b3
Reviewed-on: https://chromium-review.googlesource.com/2436743
WPT-Export-Revision: f482e58f324c37ecd4419435c8f0b5b17335bf1d

Whiteboard: [wptsync downstream] → [wptsync downstream error]
Whiteboard: [wptsync downstream error] → [wptsync downstream]

CI Results

Ran 0 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 15 tests and 2 subtests

Status Summary

Firefox

TIMEOUT: 30
NOTRUN : 15

Chrome

OK : 14
PASS : 28
TIMEOUT: 2
NOTRUN : 1

Safari

TIMEOUT: 30
NOTRUN : 15

Links

GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

/html/cross-origin-opener-policy/reporting/access-reporting/property-blur.https.html: TIMEOUT (Chrome: OK, Safari: TIMEOUT)
same-origin > w => w.blur(): TIMEOUT (Chrome: PASS, Safari: TIMEOUT)
cross-origin > w => w.blur(): NOTRUN (Chrome: PASS, Safari: NOTRUN)
/html/cross-origin-opener-policy/reporting/access-reporting/property-close.https.html: TIMEOUT (Chrome: OK, Safari: TIMEOUT)
same-origin > w => w.close(): TIMEOUT (Chrome: PASS, Safari: TIMEOUT)
cross-origin > w => w.close(): NOTRUN (Chrome: PASS, Safari: NOTRUN)
/html/cross-origin-opener-policy/reporting/access-reporting/property-closed.https.html: TIMEOUT (Chrome: OK, Safari: TIMEOUT)
same-origin > w => w.closed: TIMEOUT (Chrome: PASS, Safari: TIMEOUT)
cross-origin > w => w.closed: NOTRUN (Chrome: PASS, Safari: NOTRUN)
/html/cross-origin-opener-policy/reporting/access-reporting/property-focus.https.html: TIMEOUT (Chrome: OK, Safari: TIMEOUT)
same-origin > w => w.focus(): TIMEOUT (Chrome: PASS, Safari: TIMEOUT)
cross-origin > w => w.focus(): NOTRUN (Chrome: PASS, Safari: NOTRUN)
/html/cross-origin-opener-policy/reporting/access-reporting/property-frames.https.html: TIMEOUT (Chrome: OK, Safari: TIMEOUT)
same-origin > w => w.frames: TIMEOUT (Chrome: PASS, Safari: TIMEOUT)
cross-origin > w => w.frames: NOTRUN (Chrome: PASS, Safari: NOTRUN)
/html/cross-origin-opener-policy/reporting/access-reporting/property-length.https.html: TIMEOUT (Chrome: OK, Safari: TIMEOUT)
same-origin > w => w.length: TIMEOUT (Chrome: PASS, Safari: TIMEOUT)
cross-origin > w => w.length: NOTRUN (Chrome: PASS, Safari: NOTRUN)
/html/cross-origin-opener-policy/reporting/access-reporting/property-location-get.https.html: TIMEOUT (Chrome: OK, Safari: TIMEOUT)
same-origin > w => w.location: TIMEOUT (Chrome: PASS, Safari: TIMEOUT)
cross-origin > w => w.location: NOTRUN (Chrome: PASS, Safari: NOTRUN)
/html/cross-origin-opener-policy/reporting/access-reporting/property-location-set.https.html: TIMEOUT (Chrome: OK, Safari: TIMEOUT)
same-origin > w => w.location = "#": TIMEOUT (Chrome: PASS, Safari: TIMEOUT)
cross-origin > w => w.location = "#": NOTRUN (Chrome: PASS, Safari: NOTRUN)
/html/cross-origin-opener-policy/reporting/access-reporting/property-opener-get.https.html: TIMEOUT (Chrome: OK, Safari: TIMEOUT)
same-origin > w => w.opener: TIMEOUT (Chrome: PASS, Safari: TIMEOUT)
cross-origin > w => w.opener: NOTRUN (Chrome: PASS, Safari: NOTRUN)
/html/cross-origin-opener-policy/reporting/access-reporting/property-opener-set.https.html: TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
same-origin > w => w.opener = "": TIMEOUT (Chrome: TIMEOUT, Safari: TIMEOUT)
cross-origin > w => w.opener = "": NOTRUN (Chrome: NOTRUN, Safari: NOTRUN)
/html/cross-origin-opener-policy/reporting/access-reporting/property-postmessage-1.https.html: TIMEOUT (Chrome: OK, Safari: TIMEOUT)
same-origin > w => w.postMessage("", ""): TIMEOUT (Chrome: PASS, Safari: TIMEOUT)
cross-origin > w => w.postMessage("", ""): NOTRUN (Chrome: PASS, Safari: NOTRUN)
/html/cross-origin-opener-policy/reporting/access-reporting/property-postmessage-2.https.html: TIMEOUT (Chrome: OK, Safari: TIMEOUT)
same-origin > w => w.postMessage(""): TIMEOUT (Chrome: PASS, Safari: TIMEOUT)
cross-origin > w => w.postMessage(""): NOTRUN (Chrome: PASS, Safari: NOTRUN)
/html/cross-origin-opener-policy/reporting/access-reporting/property-self.https.html: TIMEOUT (Chrome: OK, Safari: TIMEOUT)
same-origin > w => w.self: TIMEOUT (Chrome: PASS, Safari: TIMEOUT)
cross-origin > w => w.self: NOTRUN (Chrome: PASS, Safari: NOTRUN)
/html/cross-origin-opener-policy/reporting/access-reporting/property-top.https.html: TIMEOUT (Chrome: OK, Safari: TIMEOUT)
same-origin > w => w.top: TIMEOUT (Chrome: PASS, Safari: TIMEOUT)
cross-origin > w => w.top: NOTRUN (Chrome: PASS, Safari: NOTRUN)
/html/cross-origin-opener-policy/reporting/access-reporting/property-window.https.html: TIMEOUT (Chrome: OK, Safari: TIMEOUT)
same-origin > w => w.window: TIMEOUT (Chrome: PASS, Safari: TIMEOUT)
cross-origin > w => w.window: NOTRUN (Chrome: PASS, Safari: NOTRUN)

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/8353e380133a [wpt PR 25842] - [COOP] access reporting: Fix WPT flakes., a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 83 Branch
You need to log in before you can comment on or make changes to this bug.