Closed Bug 1611239 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 21390 - Replace some "assert_throws({'name': 'domerror'}, stuff)" with assert_throws_dom

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla74
Tracking Status
firefox74 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Boris Zbarsky <bzbarsky@mit.edu> wrote:

Replace some "assert_throws({'name': 'domerror'}, stuff)" with assert_throws_dom

This a piece-by-piece landing of #21350 due to the size of the original PR. Please excuse the email spam when wpt-pr-bot cc's you to this PR.

PR 21390 applied with additional changes from upstream: b0daaa6b86c3dc2f9c16aa362136655c0db7308b, f06523527a0735d23879f4e687d6efc095f780b7, a2175cc3a07e1de1e9d09df99a09ab60e954d9dc
Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

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

Total 56 tests and 44 subtests

Status Summary

Firefox

OK : 13[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-asan-opt, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt] 15[GitHub]
PASS: 124[GitHub] 165[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-asan-opt, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt]
FAIL: 16[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-asan-opt, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt] 18[GitHub]

Chrome

OK : 15
PASS: 137
FAIL: 5

Safari

OK : 15
PASS: 120
FAIL: 22

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

/payment-request/allowpaymentrequest/active-document-cross-origin.https.sub.html
PaymentRequest <iframe allowpaymentrequest> in non-active document (cross-origin): FAIL
/payment-request/allowpaymentrequest/active-document-same-origin.https.html
PaymentRequest <iframe allowpaymentrequest> in non-active document (same-origin): FAIL
/custom-elements/CustomElementRegistry.html
customElements.define must get callbacks of the constructor prototype: FAIL
customElements.define must rethrow an exception thrown while converting a callback value to Function callback type: FAIL
customElements.define must rethrow an exception thrown while getting callbacks on the constructor prototype: FAIL

New Tests That Don't Pass

/payment-request/allowpaymentrequest/active-document-cross-origin.https.sub.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-asan-opt, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt] (Chrome: OK, Safari: OK)
PaymentRequest <iframe allowpaymentrequest> in non-active document (cross-origin): FAIL (Chrome: PASS, Safari: PASS)
/service-workers/service-worker/detached-context.https.html
accessing navigator on a removed frame: FAIL (Chrome: PASS, Safari: FAIL)
accessing navigator.serviceWorker on a removed about:blank frame: FAIL (Chrome: PASS, Safari: FAIL)
/media-source/mediasource-append-buffer.html
Test appendBuffer events order.: FAIL (Chrome: FAIL, Safari: FAIL)
/2dcontext/hit-regions/addHitRegions-NotSupportedError-01.html
strokeRect should not affect current default path and NotSupportedError should be thrown.: FAIL (Chrome: PASS, Safari: FAIL)
fillRect should not affect current default path and NotSupportedError should be thrown.: FAIL (Chrome: PASS, Safari: FAIL)
strokeText should not affect current default path and NotSupportedError shuld be thrown.: FAIL (Chrome: PASS, Safari: FAIL)
fillText should not affect current default path and NotSupportedError should be thrown.: FAIL (Chrome: PASS, Safari: FAIL)
/payment-request/allowpaymentrequest/active-document-same-origin.https.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-asan-opt, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt] (Chrome: OK, Safari: OK)
PaymentRequest <iframe allowpaymentrequest> in non-active document (same-origin): FAIL (Chrome: PASS, Safari: PASS)
/custom-elements/CustomElementRegistry.html
customElements.define must get "observedAttributes" property on the constructor prototype when "attributeChangedCallback" is present: FAIL (Chrome: PASS, Safari: FAIL)
customElements.define must rethrow an exception thrown while getting formAssociated on the constructor prototype: FAIL (Chrome: PASS, Safari: FAIL)
customElements.define must rethrow an exception thrown while getting additional formAssociated callbacks on the constructor prototype: FAIL (Chrome: PASS, Safari: FAIL)
customElements.define must get callbacks of the constructor prototype: FAIL (Chrome: PASS, Safari: PASS)
customElements.define must rethrow an exception thrown while converting a callback value to Function callback type: FAIL (Chrome: PASS, Safari: PASS)
customElements.define must get four additional callbacks on the prototype if formAssociated is converted to true: FAIL (Chrome: PASS, Safari: FAIL)
customElements.define must rethrow an exception thrown while getting callbacks on the constructor prototype: FAIL (Chrome: PASS, Safari: PASS)
customElements.define must get "prototype", "disabledFeatures", and "formAssociated" property of the constructor: FAIL (Chrome: PASS, Safari: FAIL)
customElements.define must not throw when defining another custom element in a different global object during Get(constructor, "prototype"): FAIL (Chrome: PASS, Safari: FAIL)

Tests Disabled in Gecko Infrastructure

/payment-request/allowpaymentrequest/active-document-cross-origin.https.sub.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-asan-opt, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt] (Chrome: OK, Safari: OK)
/payment-request/allowpaymentrequest/active-document-same-origin.https.html: OK [GitHub], SKIP [Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview, Gecko-linux1804-64-asan-opt, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt, Gecko-windows10-64-debug, Gecko-windows10-64-opt, Gecko-windows10-64-qr-debug, Gecko-windows10-64-qr-opt, Gecko-windows7-32-debug, Gecko-windows7-32-opt] (Chrome: OK, Safari: OK)

Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4238bbb31647
[wpt PR 21390] - Replace some "assert_throws({'name': 'domerror'}, stuff)" with assert_throws_dom, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla74
You need to log in before you can comment on or make changes to this bug.