Closed Bug 1636069 Opened 4 years ago Closed 4 years ago

4 /html/cross-origin-embedder-policy/ tests are expected TIMEOUT

Categories

(Core :: DOM: Core & HTML, defect)

defect

Tracking

()

RESOLVED FIXED
mozilla78
Tracking Status
firefox78 --- fixed

People

(Reporter: jmaher, Assigned: baku)

References

Details

Attachments

(1 file, 1 obsolete file)

I am going through all the expected timeout bugs and filing bugs to fix the tests/harness/tools/browser or to determine if this is something not supported.

these 4 tests fail with no javascript errors in the console, just timeout on the COEP support check:
/html/cross-origin-embedder-policy/cache-storage-reporting-dedicated-worker.https.html
/html/cross-origin-embedder-policy/cache-storage-reporting-document.https.html
/html/cross-origin-embedder-policy/cache-storage-reporting-service-worker.https.html
/html/cross-origin-embedder-policy/cache-storage-reporting-shared-worker.https.html

these 2 tests TIMEOUT with similar javascript errors:
/html/cross-origin-embedder-policy/coep-frame-javascript.https.html
/html/cross-origin-embedder-policy/javascript.https.html

"0:22.75 pid:1468 JavaScript error: about:blank, line 1: SyntaxError: missing } after function body
0:22.75 pid:1468 JavaScript note: about:blank, line 1: { opened at line 1, column 694"

and this last TIMEOUT with javascript errors as well:
/html/cross-origin-embedder-policy/data.https.html

"0:25.20 pid:8432 JavaScript error: data:text/html,<script>const data = { id: """", opener: !!window.opener, origin: window.origin, sameOriginNoCORPSuccess: false, crossOriginNoCORPFailure: false };function record(promise, token, expectation) { return promise.then(() => data[token] = expectation, () => data[token] = !expectation);}const records = [ record(fetch(""https://web-platform.test:8443/common/blank.html"", { mode: ""no-cors"" }), ""crossOriginNoCORPFailure"", false)];if (""null"" !== ""null"") { records.push(record(fetch(""null/common/blank.html"", { mode: ""no-cors"" }), ""sameOriginNoCORPSuccess"", true));}Promise.all(records).then(() => { // Using BroadcastChannel is useful for blob: URLs, which are always same-origin if (""parent"" === ""channel"") { const bc = new BroadcastChannel(""""); bc.postMessage(data); } else { window.parent.postMessage(data, """"); }});</script>, line 1: SyntaxError: missing } after function body
0:25.20 pid:8432 JavaScript note: data:text/html,<script>const data = { id: """", opener: !!window.opener, origin: window.origin, sameOriginNoCORPSuccess: false, crossOriginNoCORPFailure: false };function record(promise, token, expectation) { return promise.then(() => data[token] = expectation, () => data[token] = !expectation);}const records = [ record(fetch(""https://web-platform.test:8443/common/blank.html"", { mode: ""no-cors"" }), ""crossOriginNoCORPFailure"", false)];if (""null"" !== ""null"") { records.push(record(fetch(""null/common/blank.html"", { mode: ""no-cors"" }), ""sameOriginNoCORPSuccess"", true));}Promise.all(records).then(() => { // Using BroadcastChannel is useful for blob: URLs, which are always same-origin if (""parent"" === ""channel"") { const bc = new BroadcastChannel(""""); bc.postMessage(data); } else { window.parent.postMessage(data, ""
""); }});</script>, line 1: { opened at line 1, column 638"

:hsinyi, can you help figure out if these failures are a bug or not supported?

Flags: needinfo?(htsai)

I think this is https://bugzilla.mozilla.org/show_bug.cgi?id=1631237 which I think Baku is working on now?

Flags: needinfo?(htsai) → needinfo?(amarchesini)

Or the -reporting ones are, the js error ones are probably something else. Readding :hsinyi for those latter 3 issues.

Flags: needinfo?(htsai)
Assignee: nobody → amarchesini
Status: NEW → ASSIGNED

Comment on attachment 9146760 [details]
Bug 1636069 - Disable Feature-Policy-Report-Only header WPTs, r?jgraham

Revision D74399 was moved to bug 1632125. Setting attachment 9146760 [details] to obsolete.

Attachment #9146760 - Attachment is obsolete: true
Flags: needinfo?(amarchesini)

the current patch solve coep-reporting tests, but these still remain:
these 2 tests TIMEOUT with similar javascript errors:
/html/cross-origin-embedder-policy/coep-frame-javascript.https.html
/html/cross-origin-embedder-policy/javascript.https.html

"0:22.75 pid:1468 JavaScript error: about:blank, line 1: SyntaxError: missing } after function body
0:22.75 pid:1468 JavaScript note: about:blank, line 1: { opened at line 1, column 694"

and this last TIMEOUT with javascript errors as well:
/html/cross-origin-embedder-policy/data.https.html

should I file a new bug for these?

Pushed by amarchesini@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/58666f77d50d Disable reporting-API related WPTs under html/cross-origin-embedder-policy, r=jmaher
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla78
Summary: 7 /html/cross-origin-embedder-policy/ tests are expected TIMEOUT → 4 /html/cross-origin-embedder-policy/ tests are expected TIMEOUT
Flags: needinfo?(htsai)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: