Closed Bug 1611182 Opened 6 years ago Closed 6 years ago

[wpt-sync] Sync PR 21379 - Replace some "assert_throws({'name': 'jserror'}, stuff)" with assert_throws_js

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla74
Tracking Status
firefox74 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Boris Zbarsky <bzbarsky@mit.edu> wrote:

Replace some "assert_throws({'name': 'jserror'}, stuff)" with assert_throws_js

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.

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 73 tests and 44 subtests

Status Summary

Firefox

OK : 29[Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt] 30[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-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, GitHub]
PASS : 424[GitHub] 463[Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt] 465[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-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 : 62[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-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, GitHub] 63[Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt]
TIMEOUT: 1
NOTRUN : 1

Chrome

OK : 30
PASS : 360
FAIL : 126

Safari

OK : 28
PASS : 374
FAIL : 94
ERROR : 2

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

Firefox-only Failures

/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

/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)
/streams/count-queuing-strategy.any.js: SKIP (Chrome: SKIP, Safari: SKIP)
/resize-observer/observe.html: OK [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-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, GitHub], TIMEOUT [Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt] (Chrome: OK, Safari: OK)
guard: NOTRUN [Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt], PASS [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-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, GitHub] (Chrome: PASS, Safari: PASS)
test6: iframe notifications: FAIL [Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt], PASS [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-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, GitHub] (Chrome: PASS, Safari: PASS)
/media-source/mediasource-sourcebuffer-mode-timestamps.html
audio/aac : If generate timestamps flag equals true and new mode equals "segments", then throw a TypeError exception and abort these steps.: FAIL (Chrome: PASS, Safari: FAIL)
audio/mpeg : If generate timestamps flag equals true and new mode equals "segments", then throw a TypeError exception and abort these steps.: FAIL (Chrome: PASS, Safari: FAIL)
/media-source/mediasource-append-buffer.html
Test appendBuffer events order.: FAIL (Chrome: FAIL, Safari: FAIL)
/orientation-sensor/RelativeOrientationSensor.https.html
RelativeOrientationSensor: frequency hint works.: FAIL (Chrome: FAIL, Safari: FAIL)
RelativeOrientationSensor: sensor.stop() returns undefined.: FAIL (Chrome: FAIL, Safari: FAIL)
RelativeOrientationSensor: Test that frequency is capped to the maximum supported frequency.: FAIL (Chrome: FAIL, Safari: FAIL)
RelativeOrientationSensor.populateMatrix() method works correctly.: FAIL (Chrome: FAIL, Safari: FAIL)
RelativeOrientationSensor: sensor timestamp is updated when time passes.: FAIL (Chrome: FAIL, Safari: FAIL)
RelativeOrientationSensor: no exception is thrown when calling stop() on already stopped sensor.: FAIL (Chrome: FAIL, Safari: FAIL)
RelativeOrientationSensor: sensor.start() returns undefined.: FAIL (Chrome: FAIL, Safari: FAIL)
RelativeOrientationSensor: sensor reading is correct when options.referenceFrame is 'screen'.: FAIL (Chrome: FAIL, Safari: FAIL)
RelativeOrientationSensor: Test that onerror is send when start() call has failed.: FAIL (Chrome: FAIL, Safari: FAIL)
RelativeOrientationSensor: sensor reading is correct.: FAIL (Chrome: FAIL, Safari: FAIL)
RelativeOrientationSensor: Test that onerror is sent when permissions are not granted.: FAIL (Chrome: FAIL, Safari: FAIL)
RelativeOrientationSensor: throw 'TypeError' if referenceFrame is not one of enumeration values.: FAIL (Chrome: PASS, Safari: FAIL)
RelativeOrientationSensor: Test that sensor can be successfully created and its states are correct.: FAIL (Chrome: FAIL, Safari: FAIL)
RelativeOrientationSensor: sensor receives suspend / resume notifications when cross-origin subframe is focused.: FAIL (Chrome: FAIL, Safari: FAIL)
RelativeOrientationSensor: Test that frequency is limited to the minimum supported frequency.: FAIL (Chrome: FAIL, Safari: FAIL)
RelativeOrientationSensor: Test that onerror is sent when sensor is not supported.: FAIL (Chrome: FAIL, Safari: FAIL)
RelativeOrientationSensor.quaternion return a four-element FrozenArray.: FAIL (Chrome: FAIL, Safari: FAIL)
RelativeOrientationSensor: Test that 'onreading' is called and sensor reading is valid.: FAIL (Chrome: FAIL, Safari: FAIL)
RelativeOrientationSensor: Test that sensor can be constructed within an iframe allowed to use feature policy.: FAIL (Chrome: FAIL, Safari: FAIL)
RelativeOrientationSensor: Test that frequency is capped to allowed maximum.: FAIL (Chrome: FAIL, Safari: FAIL)
RelativeOrientationSensor: throw 'TypeError' if frequency is invalid.: FAIL (Chrome: PASS, Safari: FAIL)
RelativeOrientationSensor: Test that fresh reading is fetched on start().: FAIL (Chrome: FAIL, Safari: FAIL)
RelativeOrientationSensor: no exception is thrown when calling start() on already started sensor.: FAIL (Chrome: FAIL, Safari: FAIL)
RelativeOrientationSensor: Test that sensor cannot be constructed within iframe disallowed to use feature policy.: FAIL (Chrome: FAIL, Safari: FAIL)
/streams/byte-length-queuing-strategy.any.js: SKIP (Chrome: SKIP, Safari: SKIP)
/orientation-sensor/AbsoluteOrientationSensor.https.html
AbsoluteOrientationSensor: sensor reading is correct when options.referenceFrame is 'screen'.: FAIL (Chrome: FAIL, Safari: FAIL)
AbsoluteOrientationSensor: Test that 'onreading' is called and sensor reading is valid.: FAIL (Chrome: FAIL, Safari: FAIL)
AbsoluteOrientationSensor: sensor.stop() returns undefined.: FAIL (Chrome: FAIL, Safari: FAIL)
AbsoluteOrientationSensor: Test that sensor can be constructed within an iframe allowed to use feature policy.: FAIL (Chrome: FAIL, Safari: FAIL)
AbsoluteOrientationSensor: sensor.start() returns undefined.: FAIL (Chrome: FAIL, Safari: FAIL)
AbsoluteOrientationSensor: throw 'TypeError' if frequency is invalid.: FAIL (Chrome: PASS, Safari: FAIL)
AbsoluteOrientationSensor.populateMatrix() method works correctly.: FAIL (Chrome: FAIL, Safari: FAIL)
AbsoluteOrientationSensor: Test that frequency is capped to allowed maximum.: FAIL (Chrome: FAIL, Safari: FAIL)
AbsoluteOrientationSensor: Test that frequency is capped to the maximum supported frequency.: FAIL (Chrome: FAIL, Safari: FAIL)
AbsoluteOrientationSensor: sensor receives suspend / resume notifications when cross-origin subframe is focused.: FAIL (Chrome: FAIL, Safari: FAIL)
AbsoluteOrientationSensor: Test that frequency is limited to the minimum supported frequency.: FAIL (Chrome: FAIL, Safari: FAIL)
AbsoluteOrientationSensor: no exception is thrown when calling start() on already started sensor.: FAIL (Chrome: FAIL, Safari: FAIL)
AbsoluteOrientationSensor: Test that onerror is sent when permissions are not granted.: FAIL (Chrome: FAIL, Safari: FAIL)
AbsoluteOrientationSensor: frequency hint works.: FAIL (Chrome: FAIL, Safari: FAIL)
AbsoluteOrientationSensor: Test that onerror is sent when sensor is not supported.: FAIL (Chrome: FAIL, Safari: FAIL)
AbsoluteOrientationSensor: Test that sensor cannot be constructed within iframe disallowed to use feature policy.: FAIL (Chrome: FAIL, Safari: FAIL)
AbsoluteOrientationSensor.quaternion return a four-element FrozenArray.: FAIL (Chrome: FAIL, Safari: FAIL)
AbsoluteOrientationSensor: sensor reading is correct.: FAIL (Chrome: FAIL, Safari: FAIL)
AbsoluteOrientationSensor: Test that sensor can be successfully created and its states are correct.: FAIL (Chrome: FAIL, Safari: FAIL)
AbsoluteOrientationSensor: Test that fresh reading is fetched on start().: FAIL (Chrome: FAIL, Safari: FAIL)
AbsoluteOrientationSensor: throw 'TypeError' if referenceFrame is not one of enumeration values.: FAIL (Chrome: PASS, Safari: FAIL)
AbsoluteOrientationSensor: sensor timestamp is updated when time passes.: FAIL (Chrome: FAIL, Safari: FAIL)
AbsoluteOrientationSensor: Test that onerror is send when start() call has failed.: FAIL (Chrome: FAIL, Safari: FAIL)
AbsoluteOrientationSensor: no exception is thrown when calling stop() on already stopped sensor.: FAIL (Chrome: FAIL, Safari: FAIL)
/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

/streams/count-queuing-strategy.any.js: SKIP (Chrome: SKIP, Safari: SKIP)
/streams/byte-length-queuing-strategy.any.js: SKIP (Chrome: SKIP, Safari: SKIP)

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