Closed Bug 1611178 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 21377 - Replace some assert_throws("Something", stuff) calls 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])

Attachments

(4 files)

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

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

Boris Zbarsky <bzbarsky@mit.edu> wrote:

Replace some assert_throws("Something", stuff) calls 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 21377 applied with additional changes from upstream: d0b106336b7e41b36113476f0fd3d0c78034ed1d, b2cd48af39df7cbd3d2669b96fde90fc79d8cc6d, a3cddf04f127ef7f14556bd0326c804c2e72fb2d, 2c5c3c4c27d27a419c1fdba3e9879c2d22037074
Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core
Attached file Notable wpt changes
# CI Results

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

Total 625 tests and 8 subtests

## Status Summary

### Firefox
OK     : 509[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview] 518[Gecko-linux1804-64-asan-opt, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt] 573[GitHub]
PASS   : 41[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] 61442[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview] 61451[Gecko-linux1804-64-asan-opt, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt] 61783[GitHub]
FAIL   : 833[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview] 856[Gecko-linux1804-64-asan-opt, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt] 878[GitHub]
TIMEOUT: 7[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] 9[GitHub]
ERROR  : 3[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] 6[GitHub]
NOTRUN : 12[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] 19[GitHub]

### Chrome
OK     : 582
PASS   : 61855
FAIL   : 835
ERROR  : 2

### Safari
OK     : 556
PASS   : 45352
FAIL   : 17172
TIMEOUT: 43
ERROR  : 12
NOTRUN : 19

## Links
[Gecko CI (Treeherder)](https://treeherder.mozilla.org/#/jobs?repo=try&revision=bb645a98b4543af9125cb5ab71fb09959b0882f9)
[GitHub PR Head](https://wpt.fyi/results/?sha=00f76373af681af74c9cc217f63f432b2b157fd0&label=pr_head)
[GitHub PR Base](https://wpt.fyi/results/?sha=00f76373af681af74c9cc217f63f432b2b157fd0&label=pr_base)

## Details

### Firefox-only Failures
/pointerevents/pointerevent_setpointercapture_invalid_pointerid.html
  setPointerCapture: DOMException NotFoundError: FAIL
/imagebitmap-renderingcontext/transferFromImageBitmap-detached.html
  Test transferFromImageBitmap(image) with a detached image should throw InvalidStateError: FAIL
/fetch/images/canvas-remote-read-remote-image-redirect.html
  Load a no-cors image from a same-origin URL that redirects to a cross-origin URL that redirects to the initial origin: FAIL
/html/browsers/offline/application-cache-api/api_update_error.https.html
  INVALID_STATE_ERR error test: FAIL
/media-source/mediasource-changetype.html
  Test changeType sets mode to sequence for change to type that generates timestamps: FAIL
/webrtc/RTCCertificate-postMessage.html
  Check cross-origin RTCCertificate serialization: FAIL
  Check same-origin RTCCertificate serialization: FAIL
/dom/nodes/attributes.html
  First set attribute is returned with mapped attribute set first: FAIL linked bug:Bug 1303629
/url/failure.html
  sendBeacon(): https://0x100000000/test should throw: FAIL
  window.open(): file://example:test/ should throw: FAIL
  XHR: https://� should throw: FAIL
  URL's constructor's base argument: https://256.0.0.1/test should throw: FAIL
  window.open(): https://256.0.0.1/test should throw: FAIL
  sendBeacon(): https://%EF%BF%BD should throw: FAIL
  sendBeacon(): https://� should throw: FAIL
  URL's constructor's base argument: https://0x100000000/test should throw: FAIL
  URL's constructor's base argument: file://[example]/ should throw: FAIL
  XHR: ftp://example.com%A0/ should throw: FAIL
  window.open(): https://%EF%BF%BD should throw: FAIL
  window.open(): https://� should throw: FAIL
  XHR: file://[example]/ should throw: FAIL
  window.open(): file://example%/ should throw: FAIL
  XHR: file://example:test/ should throw: FAIL
  window.open(): file://[example]/ should throw: FAIL
  window.open(): https://0x100000000/test should throw: FAIL
  URL's constructor's base argument: file://example%/ should throw: FAIL
  XHR: https://0x100000000/test should throw: FAIL
  XHR: https://256.0.0.1/test should throw: FAIL
  URL's constructor's base argument: https://%EF%BF%BD should throw: FAIL
  XHR: file://example%/ should throw: FAIL
  XHR: https://example.com%A0/ should throw: FAIL
  XHR: https://%EF%BF%BD should throw: FAIL
  URL's constructor's base argument: file://example:test/ should throw: FAIL
  sendBeacon(): https://256.0.0.1/test should throw: FAIL
  URL's constructor's base argument: https://� should throw: FAIL
  XHR: ftp://example.com%80/ should throw: FAIL
  XHR: https://example.com%80/ should throw: FAIL
/dom/nodes/Document-createEvent.https.html
  Should throw NOT_SUPPORTED_ERR for non-legacy event interface "TimeEvent": FAIL
  Should throw NOT_SUPPORTED_ERR for non-legacy event interface "ScrollAreaEvent": FAIL
  Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "KeyEvents": FAIL
  Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "MouseScrollEvents": FAIL
/payment-request/MerchantValidationEvent/complete-method.https.html
  If event's isTrusted attribute is false, then then throw an InvalidStateError DOMException.: FAIL
/2dcontext/imagebitmap/createImageBitmap-drawImage-closed.html
  attempt to draw a closed ImageBitmap to a 2d canvas throws INVALID_STATE_ERR: FAIL
/svg/types/scripted/SVGLengthList-basics.html
  SVGLengthList, basics: FAIL
/websockets/Create-asciiSep-protocol-string.any.html
  Create WebSocket - Pass a valid URL and a protocol string with an ascii separator character - SYNTAX_ERR is thrown: FAIL
/payment-request/PaymentRequestUpdateEvent/updatewith-method.https.html
  Let target be the request which is dispatching the event.: FAIL
  Calling .updateWith() with a dispatched, untrusted event, throws "InvalidStateError": FAIL
  Calling .updateWith() with an undispatched untrusted event throws "InvalidStateError": FAIL
/2dcontext/imagebitmap/createImageBitmap-invalid-args.html
  createImageBitmap with CanvasRenderingContext2D image source.: FAIL
/websockets/Create-asciiSep-protocol-string.any.worker.html
  Create WebSocket - Pass a valid URL and a protocol string with an ascii separator character - SYNTAX_ERR is thrown: FAIL
/dom/nodes/adoption.window.html
  appendChild() and DocumentFragment: FAIL
  appendChild() and ShadowRoot: FAIL
  appendChild() and DocumentFragment with host: FAIL
/html/browsers/the-window-object/security-window/window-security.https.html
  A SecurityError exception must be thrown when window.onmousewheel is accessed from a different origin.: FAIL
/css/css-syntax/escaped-eof.html
  Escaped EOF turns into a U+FFFD in an ident token.: FAIL
  Escaped EOF turns into a U+FFFD in a dimension token.: FAIL
  Escaped EOF turns into a U+FFFD in a url token.: FAIL
/pointerevents/pointerevent_releasepointercapture_invalid_pointerid.html
  releasePointerCapture: DOMException NotFoundError: FAIL
/html/infrastructure/safe-passing-of-structured-data/transfer-errors.window.html
  Serialize should make the ArrayBuffer detached, so it cannot be transferred again: FAIL
/workers/Worker-formdata.any.worker.html
  Test FormData interface object: FAIL

(See attachment for full changes)
Attached file Notable wpt changes
# CI Results

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

Total 625 tests and 8 subtests

## Status Summary

### Firefox
OK     : 509[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview] 518[Gecko-linux1804-64-asan-opt, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt] 573[GitHub]
PASS   : 41[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] 61442[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview] 61451[Gecko-linux1804-64-asan-opt, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt] 61783[GitHub]
FAIL   : 833[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview] 856[Gecko-linux1804-64-asan-opt, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt] 878[GitHub]
TIMEOUT: 7[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] 9[GitHub]
ERROR  : 3[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] 6[GitHub]
NOTRUN : 12[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] 19[GitHub]

### Chrome
OK     : 582
PASS   : 61855
FAIL   : 835
ERROR  : 2

### Safari
OK     : 556
PASS   : 45352
FAIL   : 17172
TIMEOUT: 43
ERROR  : 12
NOTRUN : 19

## Links
[Gecko CI (Treeherder)](https://treeherder.mozilla.org/#/jobs?repo=try&revision=bb645a98b4543af9125cb5ab71fb09959b0882f9)
[GitHub PR Head](https://wpt.fyi/results/?sha=00f76373af681af74c9cc217f63f432b2b157fd0&label=pr_head)
[GitHub PR Base](https://wpt.fyi/results/?sha=00f76373af681af74c9cc217f63f432b2b157fd0&label=pr_base)

## Details

### Firefox-only Failures
/pointerevents/pointerevent_setpointercapture_invalid_pointerid.html
  setPointerCapture: DOMException NotFoundError: FAIL
/imagebitmap-renderingcontext/transferFromImageBitmap-detached.html
  Test transferFromImageBitmap(image) with a detached image should throw InvalidStateError: FAIL
/fetch/images/canvas-remote-read-remote-image-redirect.html
  Load a no-cors image from a same-origin URL that redirects to a cross-origin URL that redirects to the initial origin: FAIL
/html/browsers/offline/application-cache-api/api_update_error.https.html
  INVALID_STATE_ERR error test: FAIL
/media-source/mediasource-changetype.html
  Test changeType sets mode to sequence for change to type that generates timestamps: FAIL
/webrtc/RTCCertificate-postMessage.html
  Check cross-origin RTCCertificate serialization: FAIL
  Check same-origin RTCCertificate serialization: FAIL
/dom/nodes/attributes.html
  First set attribute is returned with mapped attribute set first: FAIL linked bug:Bug 1303629
/url/failure.html
  sendBeacon(): https://0x100000000/test should throw: FAIL
  window.open(): file://example:test/ should throw: FAIL
  XHR: https://� should throw: FAIL
  URL's constructor's base argument: https://256.0.0.1/test should throw: FAIL
  window.open(): https://256.0.0.1/test should throw: FAIL
  sendBeacon(): https://%EF%BF%BD should throw: FAIL
  sendBeacon(): https://� should throw: FAIL
  URL's constructor's base argument: https://0x100000000/test should throw: FAIL
  URL's constructor's base argument: file://[example]/ should throw: FAIL
  XHR: ftp://example.com%A0/ should throw: FAIL
  window.open(): https://%EF%BF%BD should throw: FAIL
  window.open(): https://� should throw: FAIL
  XHR: file://[example]/ should throw: FAIL
  window.open(): file://example%/ should throw: FAIL
  XHR: file://example:test/ should throw: FAIL
  window.open(): file://[example]/ should throw: FAIL
  window.open(): https://0x100000000/test should throw: FAIL
  URL's constructor's base argument: file://example%/ should throw: FAIL
  XHR: https://0x100000000/test should throw: FAIL
  XHR: https://256.0.0.1/test should throw: FAIL
  URL's constructor's base argument: https://%EF%BF%BD should throw: FAIL
  XHR: file://example%/ should throw: FAIL
  XHR: https://example.com%A0/ should throw: FAIL
  XHR: https://%EF%BF%BD should throw: FAIL
  URL's constructor's base argument: file://example:test/ should throw: FAIL
  sendBeacon(): https://256.0.0.1/test should throw: FAIL
  URL's constructor's base argument: https://� should throw: FAIL
  XHR: ftp://example.com%80/ should throw: FAIL
  XHR: https://example.com%80/ should throw: FAIL
/dom/nodes/Document-createEvent.https.html
  Should throw NOT_SUPPORTED_ERR for non-legacy event interface "TimeEvent": FAIL
  Should throw NOT_SUPPORTED_ERR for non-legacy event interface "ScrollAreaEvent": FAIL
  Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "KeyEvents": FAIL
  Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "MouseScrollEvents": FAIL
/payment-request/MerchantValidationEvent/complete-method.https.html
  If event's isTrusted attribute is false, then then throw an InvalidStateError DOMException.: FAIL
/2dcontext/imagebitmap/createImageBitmap-drawImage-closed.html
  attempt to draw a closed ImageBitmap to a 2d canvas throws INVALID_STATE_ERR: FAIL
/svg/types/scripted/SVGLengthList-basics.html
  SVGLengthList, basics: FAIL
/websockets/Create-asciiSep-protocol-string.any.html
  Create WebSocket - Pass a valid URL and a protocol string with an ascii separator character - SYNTAX_ERR is thrown: FAIL
/payment-request/PaymentRequestUpdateEvent/updatewith-method.https.html
  Let target be the request which is dispatching the event.: FAIL
  Calling .updateWith() with a dispatched, untrusted event, throws "InvalidStateError": FAIL
  Calling .updateWith() with an undispatched untrusted event throws "InvalidStateError": FAIL
/2dcontext/imagebitmap/createImageBitmap-invalid-args.html
  createImageBitmap with CanvasRenderingContext2D image source.: FAIL
/websockets/Create-asciiSep-protocol-string.any.worker.html
  Create WebSocket - Pass a valid URL and a protocol string with an ascii separator character - SYNTAX_ERR is thrown: FAIL
/dom/nodes/adoption.window.html
  appendChild() and DocumentFragment: FAIL
  appendChild() and ShadowRoot: FAIL
  appendChild() and DocumentFragment with host: FAIL
/html/browsers/the-window-object/security-window/window-security.https.html
  A SecurityError exception must be thrown when window.onmousewheel is accessed from a different origin.: FAIL
/css/css-syntax/escaped-eof.html
  Escaped EOF turns into a U+FFFD in an ident token.: FAIL
  Escaped EOF turns into a U+FFFD in a dimension token.: FAIL
  Escaped EOF turns into a U+FFFD in a url token.: FAIL
/pointerevents/pointerevent_releasepointercapture_invalid_pointerid.html
  releasePointerCapture: DOMException NotFoundError: FAIL
/html/infrastructure/safe-passing-of-structured-data/transfer-errors.window.html
  Serialize should make the ArrayBuffer detached, so it cannot be transferred again: FAIL
/workers/Worker-formdata.any.worker.html
  Test FormData interface object: FAIL

(See attachment for full changes)
Attached file Notable wpt changes
# CI Results

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

Total 625 tests and 8 subtests

## Status Summary

### Firefox
OK     : 509[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview] 518[Gecko-linux1804-64-asan-opt, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt] 573[GitHub]
PASS   : 41[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] 61442[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview] 61451[Gecko-linux1804-64-asan-opt, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt] 61783[GitHub]
FAIL   : 833[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview] 856[Gecko-linux1804-64-asan-opt, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt] 878[GitHub]
TIMEOUT: 7[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] 9[GitHub]
ERROR  : 3[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] 6[GitHub]
NOTRUN : 12[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] 19[GitHub]

### Chrome
OK     : 582
PASS   : 61855
FAIL   : 835
ERROR  : 2

### Safari
OK     : 556
PASS   : 45352
FAIL   : 17172
TIMEOUT: 43
ERROR  : 12
NOTRUN : 19

## Links
[Gecko CI (Treeherder)](https://treeherder.mozilla.org/#/jobs?repo=try&revision=bb645a98b4543af9125cb5ab71fb09959b0882f9)
[GitHub PR Head](https://wpt.fyi/results/?sha=00f76373af681af74c9cc217f63f432b2b157fd0&label=pr_head)
[GitHub PR Base](https://wpt.fyi/results/?sha=00f76373af681af74c9cc217f63f432b2b157fd0&label=pr_base)

## Details

### Firefox-only Failures
/pointerevents/pointerevent_setpointercapture_invalid_pointerid.html
  setPointerCapture: DOMException NotFoundError: FAIL
/imagebitmap-renderingcontext/transferFromImageBitmap-detached.html
  Test transferFromImageBitmap(image) with a detached image should throw InvalidStateError: FAIL
/fetch/images/canvas-remote-read-remote-image-redirect.html
  Load a no-cors image from a same-origin URL that redirects to a cross-origin URL that redirects to the initial origin: FAIL
/html/browsers/offline/application-cache-api/api_update_error.https.html
  INVALID_STATE_ERR error test: FAIL
/media-source/mediasource-changetype.html
  Test changeType sets mode to sequence for change to type that generates timestamps: FAIL
/webrtc/RTCCertificate-postMessage.html
  Check cross-origin RTCCertificate serialization: FAIL
  Check same-origin RTCCertificate serialization: FAIL
/dom/nodes/attributes.html
  First set attribute is returned with mapped attribute set first: FAIL linked bug:Bug 1303629
/url/failure.html
  sendBeacon(): https://0x100000000/test should throw: FAIL
  window.open(): file://example:test/ should throw: FAIL
  XHR: https://� should throw: FAIL
  URL's constructor's base argument: https://256.0.0.1/test should throw: FAIL
  window.open(): https://256.0.0.1/test should throw: FAIL
  sendBeacon(): https://%EF%BF%BD should throw: FAIL
  sendBeacon(): https://� should throw: FAIL
  URL's constructor's base argument: https://0x100000000/test should throw: FAIL
  URL's constructor's base argument: file://[example]/ should throw: FAIL
  XHR: ftp://example.com%A0/ should throw: FAIL
  window.open(): https://%EF%BF%BD should throw: FAIL
  window.open(): https://� should throw: FAIL
  XHR: file://[example]/ should throw: FAIL
  window.open(): file://example%/ should throw: FAIL
  XHR: file://example:test/ should throw: FAIL
  window.open(): file://[example]/ should throw: FAIL
  window.open(): https://0x100000000/test should throw: FAIL
  URL's constructor's base argument: file://example%/ should throw: FAIL
  XHR: https://0x100000000/test should throw: FAIL
  XHR: https://256.0.0.1/test should throw: FAIL
  URL's constructor's base argument: https://%EF%BF%BD should throw: FAIL
  XHR: file://example%/ should throw: FAIL
  XHR: https://example.com%A0/ should throw: FAIL
  XHR: https://%EF%BF%BD should throw: FAIL
  URL's constructor's base argument: file://example:test/ should throw: FAIL
  sendBeacon(): https://256.0.0.1/test should throw: FAIL
  URL's constructor's base argument: https://� should throw: FAIL
  XHR: ftp://example.com%80/ should throw: FAIL
  XHR: https://example.com%80/ should throw: FAIL
/dom/nodes/Document-createEvent.https.html
  Should throw NOT_SUPPORTED_ERR for non-legacy event interface "TimeEvent": FAIL
  Should throw NOT_SUPPORTED_ERR for non-legacy event interface "ScrollAreaEvent": FAIL
  Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "KeyEvents": FAIL
  Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "MouseScrollEvents": FAIL
/payment-request/MerchantValidationEvent/complete-method.https.html
  If event's isTrusted attribute is false, then then throw an InvalidStateError DOMException.: FAIL
/2dcontext/imagebitmap/createImageBitmap-drawImage-closed.html
  attempt to draw a closed ImageBitmap to a 2d canvas throws INVALID_STATE_ERR: FAIL
/svg/types/scripted/SVGLengthList-basics.html
  SVGLengthList, basics: FAIL
/websockets/Create-asciiSep-protocol-string.any.html
  Create WebSocket - Pass a valid URL and a protocol string with an ascii separator character - SYNTAX_ERR is thrown: FAIL
/payment-request/PaymentRequestUpdateEvent/updatewith-method.https.html
  Let target be the request which is dispatching the event.: FAIL
  Calling .updateWith() with a dispatched, untrusted event, throws "InvalidStateError": FAIL
  Calling .updateWith() with an undispatched untrusted event throws "InvalidStateError": FAIL
/2dcontext/imagebitmap/createImageBitmap-invalid-args.html
  createImageBitmap with CanvasRenderingContext2D image source.: FAIL
/websockets/Create-asciiSep-protocol-string.any.worker.html
  Create WebSocket - Pass a valid URL and a protocol string with an ascii separator character - SYNTAX_ERR is thrown: FAIL
/dom/nodes/adoption.window.html
  appendChild() and DocumentFragment: FAIL
  appendChild() and ShadowRoot: FAIL
  appendChild() and DocumentFragment with host: FAIL
/html/browsers/the-window-object/security-window/window-security.https.html
  A SecurityError exception must be thrown when window.onmousewheel is accessed from a different origin.: FAIL
/css/css-syntax/escaped-eof.html
  Escaped EOF turns into a U+FFFD in an ident token.: FAIL
  Escaped EOF turns into a U+FFFD in a dimension token.: FAIL
  Escaped EOF turns into a U+FFFD in a url token.: FAIL
/pointerevents/pointerevent_releasepointercapture_invalid_pointerid.html
  releasePointerCapture: DOMException NotFoundError: FAIL
/html/infrastructure/safe-passing-of-structured-data/transfer-errors.window.html
  Serialize should make the ArrayBuffer detached, so it cannot be transferred again: FAIL
/workers/Worker-formdata.any.worker.html
  Test FormData interface object: FAIL

(See attachment for full changes)
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/30da7e6aed45
[wpt PR 21377] - Replace some assert_throws("Something", stuff) calls with assert_throws_dom, a=testonly
https://hg.mozilla.org/integration/autoland/rev/b1b008c30f19
[wpt PR 21377] - Update wpt metadata, a=testonly
Attached file Notable wpt changes
# CI Results

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

Total 625 tests and 8 subtests

## Status Summary

### Firefox
OK     : 509[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview] 518[Gecko-linux1804-64-asan-opt, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt] 573[GitHub]
PASS   : 41[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] 61442[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview] 61451[Gecko-linux1804-64-asan-opt, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt] 61783[GitHub]
FAIL   : 833[Gecko-android-em-7.0-x86_64-debug-geckoview, Gecko-android-em-7.0-x86_64-opt-geckoview] 856[Gecko-linux1804-64-asan-opt, Gecko-linux1804-64-debug, Gecko-linux1804-64-opt, Gecko-linux1804-64-qr-debug, Gecko-linux1804-64-qr-opt] 878[GitHub]
TIMEOUT: 7[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] 9[GitHub]
ERROR  : 3[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] 6[GitHub]
NOTRUN : 12[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] 19[GitHub]

### Chrome
OK     : 582
PASS   : 61855
FAIL   : 835
ERROR  : 2

### Safari
OK     : 556
PASS   : 45352
FAIL   : 17172
TIMEOUT: 43
ERROR  : 12
NOTRUN : 19

## Links
[Gecko CI (Treeherder)](https://treeherder.mozilla.org/#/jobs?repo=try&revision=bb645a98b4543af9125cb5ab71fb09959b0882f9)
[GitHub PR Head](https://wpt.fyi/results/?sha=00f76373af681af74c9cc217f63f432b2b157fd0&label=pr_head)
[GitHub PR Base](https://wpt.fyi/results/?sha=00f76373af681af74c9cc217f63f432b2b157fd0&label=pr_base)

## Details

### Firefox-only Failures
/pointerevents/pointerevent_setpointercapture_invalid_pointerid.html
  setPointerCapture: DOMException NotFoundError: FAIL
/imagebitmap-renderingcontext/transferFromImageBitmap-detached.html
  Test transferFromImageBitmap(image) with a detached image should throw InvalidStateError: FAIL
/fetch/images/canvas-remote-read-remote-image-redirect.html
  Load a no-cors image from a same-origin URL that redirects to a cross-origin URL that redirects to the initial origin: FAIL
/html/browsers/offline/application-cache-api/api_update_error.https.html
  INVALID_STATE_ERR error test: FAIL
/media-source/mediasource-changetype.html
  Test changeType sets mode to sequence for change to type that generates timestamps: FAIL
/webrtc/RTCCertificate-postMessage.html
  Check cross-origin RTCCertificate serialization: FAIL
  Check same-origin RTCCertificate serialization: FAIL
/dom/nodes/attributes.html
  First set attribute is returned with mapped attribute set first: FAIL linked bug:Bug 1303629
/url/failure.html
  sendBeacon(): https://0x100000000/test should throw: FAIL
  window.open(): file://example:test/ should throw: FAIL
  XHR: https://� should throw: FAIL
  URL's constructor's base argument: https://256.0.0.1/test should throw: FAIL
  window.open(): https://256.0.0.1/test should throw: FAIL
  sendBeacon(): https://%EF%BF%BD should throw: FAIL
  sendBeacon(): https://� should throw: FAIL
  URL's constructor's base argument: https://0x100000000/test should throw: FAIL
  URL's constructor's base argument: file://[example]/ should throw: FAIL
  XHR: ftp://example.com%A0/ should throw: FAIL
  window.open(): https://%EF%BF%BD should throw: FAIL
  window.open(): https://� should throw: FAIL
  XHR: file://[example]/ should throw: FAIL
  window.open(): file://example%/ should throw: FAIL
  XHR: file://example:test/ should throw: FAIL
  window.open(): file://[example]/ should throw: FAIL
  window.open(): https://0x100000000/test should throw: FAIL
  URL's constructor's base argument: file://example%/ should throw: FAIL
  XHR: https://0x100000000/test should throw: FAIL
  XHR: https://256.0.0.1/test should throw: FAIL
  URL's constructor's base argument: https://%EF%BF%BD should throw: FAIL
  XHR: file://example%/ should throw: FAIL
  XHR: https://example.com%A0/ should throw: FAIL
  XHR: https://%EF%BF%BD should throw: FAIL
  URL's constructor's base argument: file://example:test/ should throw: FAIL
  sendBeacon(): https://256.0.0.1/test should throw: FAIL
  URL's constructor's base argument: https://� should throw: FAIL
  XHR: ftp://example.com%80/ should throw: FAIL
  XHR: https://example.com%80/ should throw: FAIL
/dom/nodes/Document-createEvent.https.html
  Should throw NOT_SUPPORTED_ERR for non-legacy event interface "TimeEvent": FAIL
  Should throw NOT_SUPPORTED_ERR for non-legacy event interface "ScrollAreaEvent": FAIL
  Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "KeyEvents": FAIL
  Should throw NOT_SUPPORTED_ERR for pluralized non-legacy event interface "MouseScrollEvents": FAIL
/payment-request/MerchantValidationEvent/complete-method.https.html
  If event's isTrusted attribute is false, then then throw an InvalidStateError DOMException.: FAIL
/2dcontext/imagebitmap/createImageBitmap-drawImage-closed.html
  attempt to draw a closed ImageBitmap to a 2d canvas throws INVALID_STATE_ERR: FAIL
/svg/types/scripted/SVGLengthList-basics.html
  SVGLengthList, basics: FAIL
/websockets/Create-asciiSep-protocol-string.any.html
  Create WebSocket - Pass a valid URL and a protocol string with an ascii separator character - SYNTAX_ERR is thrown: FAIL
/payment-request/PaymentRequestUpdateEvent/updatewith-method.https.html
  Let target be the request which is dispatching the event.: FAIL
  Calling .updateWith() with a dispatched, untrusted event, throws "InvalidStateError": FAIL
  Calling .updateWith() with an undispatched untrusted event throws "InvalidStateError": FAIL
/2dcontext/imagebitmap/createImageBitmap-invalid-args.html
  createImageBitmap with CanvasRenderingContext2D image source.: FAIL
/websockets/Create-asciiSep-protocol-string.any.worker.html
  Create WebSocket - Pass a valid URL and a protocol string with an ascii separator character - SYNTAX_ERR is thrown: FAIL
/dom/nodes/adoption.window.html
  appendChild() and DocumentFragment: FAIL
  appendChild() and ShadowRoot: FAIL
  appendChild() and DocumentFragment with host: FAIL
/html/browsers/the-window-object/security-window/window-security.https.html
  A SecurityError exception must be thrown when window.onmousewheel is accessed from a different origin.: FAIL
/css/css-syntax/escaped-eof.html
  Escaped EOF turns into a U+FFFD in an ident token.: FAIL
  Escaped EOF turns into a U+FFFD in a dimension token.: FAIL
  Escaped EOF turns into a U+FFFD in a url token.: FAIL
/pointerevents/pointerevent_releasepointercapture_invalid_pointerid.html
  releasePointerCapture: DOMException NotFoundError: FAIL
/html/infrastructure/safe-passing-of-structured-data/transfer-errors.window.html
  Serialize should make the ArrayBuffer detached, so it cannot be transferred again: FAIL
/workers/Worker-formdata.any.worker.html
  Test FormData interface object: FAIL

(See attachment for full changes)
Test result changes from PR not available.
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.

Attachment

General

Created:
Updated:
Size: