Commit 05760050 authored by John Chen's avatar John Chen Committed by Commit Bot

Rebaseline web tests for MacOS 10.14 part 5

Rebaseline wpt directory.

TBR=wangxianzhu@chromium.org

Bug: 1028242
Change-Id: If7ea039ab552b6ac25cc33b515300b0c9b344180
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2026376Reviewed-by: default avatarJohn Chen <johnchen@chromium.org>
Reviewed-by: default avatarRobert Ma <robertma@chromium.org>
Commit-Queue: John Chen <johnchen@chromium.org>
Cr-Commit-Position: refs/heads/master@{#736405}
parent 7a0f3b50
......@@ -71,7 +71,7 @@ _PLATFORM_TOKENS_LIST = [
'Fuchsia',
'IOS', 'IOS12.2', 'IOS13.0',
'Linux',
'Mac', 'Mac10.10', 'Mac10.11', 'Retina', 'Mac10.12', 'Mac10.13',
'Mac', 'Mac10.10', 'Mac10.11', 'Retina', 'Mac10.12', 'Mac10.13', 'Mac10.14',
'Win', 'Win7', 'Win10'
]
......
......@@ -1638,14 +1638,17 @@ crbug.com/753671 external/wpt/css/css-content/quotes-002.html [ Failure ]
crbug.com/753671 [ Mac10.11 ] external/wpt/css/css-content/quotes-006.html [ Failure ]
crbug.com/753671 [ Mac10.12 ] external/wpt/css/css-content/quotes-006.html [ Failure ]
crbug.com/753671 [ Mac10.13 ] external/wpt/css/css-content/quotes-006.html [ Failure ]
crbug.com/753671 [ Mac10.14 ] external/wpt/css/css-content/quotes-006.html [ Failure ]
crbug.com/753671 [ Retina ] external/wpt/css/css-content/quotes-006.html [ Failure ]
crbug.com/753671 [ Mac10.12 ] external/wpt/css/css-content/quotes-007.html [ Failure ]
crbug.com/753671 [ Mac10.13 ] external/wpt/css/css-content/quotes-007.html [ Failure ]
crbug.com/753671 [ Mac10.14 ] external/wpt/css/css-content/quotes-007.html [ Failure ]
crbug.com/753671 [ Retina ] external/wpt/css/css-content/quotes-007.html [ Failure ]
crbug.com/753671 [ Mac ] external/wpt/css/css-content/quotes-009.html [ Failure ]
crbug.com/753671 [ Mac10.11 ] external/wpt/css/css-content/quotes-012.html [ Failure ]
crbug.com/753671 [ Mac10.12 ] external/wpt/css/css-content/quotes-012.html [ Failure ]
crbug.com/753671 [ Mac10.13 ] external/wpt/css/css-content/quotes-012.html [ Failure ]
crbug.com/753671 [ Mac10.14 ] external/wpt/css/css-content/quotes-012.html [ Failure ]
crbug.com/753671 [ Retina ] external/wpt/css/css-content/quotes-012.html [ Failure ]
crbug.com/753671 external/wpt/css/css-content/quotes-013.html [ Failure ]
crbug.com/753671 [ Mac ] external/wpt/css/css-content/quotes-014.html [ Failure ]
......@@ -2434,6 +2437,7 @@ crbug.com/1029069 external/wpt/css/css-fonts/standard-font-family-20.html [ Fail
crbug.com/752449 [ Mac10.12 ] external/wpt/css/css-fonts/matching/fixed-stretch-style-over-weight.html [ Failure ]
crbug.com/752449 [ Mac10.13 ] external/wpt/css/css-fonts/matching/fixed-stretch-style-over-weight.html [ Failure ]
crbug.com/752449 [ Mac10.14 ] external/wpt/css/css-fonts/matching/fixed-stretch-style-over-weight.html [ Failure ]
crbug.com/752449 [ Retina ] external/wpt/css/css-fonts/matching/fixed-stretch-style-over-weight.html [ Failure ]
crbug.com/752449 [ Mac10.12 ] external/wpt/css/css-fonts/matching/stretch-distance-over-weight-distance.html [ Failure ]
crbug.com/752449 [ Mac10.12 ] external/wpt/css/css-fonts/matching/style-ranges-over-weight-direction.html [ Failure ]
......@@ -2912,6 +2916,7 @@ crbug.com/626703 [ Linux ] external/wpt/quirks/percentage-height-quirk-excludes-
crbug.com/626703 [ Mac ] external/wpt/quirks/percentage-height-quirk-excludes-flex-grid-001.html [ Failure ]
crbug.com/626703 [ Win ] external/wpt/quirks/percentage-height-quirk-excludes-flex-grid-001.html [ Failure ]
crbug.com/626703 [ Mac10.13 ] external/wpt/screen-capture/getdisplaymedia.https.html [ Failure Timeout ]
crbug.com/626703 [ Mac10.14 ] external/wpt/screen-capture/getdisplaymedia.https.html [ Failure Timeout ]
crbug.com/626703 [ Retina ] external/wpt/screen-capture/getdisplaymedia.https.html [ Timeout ]
crbug.com/626703 [ Linux ] external/wpt/html/semantics/document-metadata/the-link-element/link-multiple-error-events.html [ Timeout ]
crbug.com/626703 [ Mac ] external/wpt/html/semantics/document-metadata/the-link-element/link-multiple-error-events.html [ Timeout ]
......@@ -2924,6 +2929,7 @@ crbug.com/626703 [ Linux ] external/wpt/input-events/input-events-typing.html [
crbug.com/626703 [ Mac10.11 ] external/wpt/input-events/input-events-typing.html [ Timeout ]
crbug.com/626703 [ Mac10.12 ] external/wpt/input-events/input-events-typing.html [ Timeout ]
crbug.com/626703 [ Mac10.13 ] external/wpt/input-events/input-events-typing.html [ Timeout ]
crbug.com/626703 [ Mac10.14 ] external/wpt/input-events/input-events-typing.html [ Timeout ]
crbug.com/626703 [ Retina ] external/wpt/input-events/input-events-typing.html [ Timeout ]
crbug.com/626703 [ Win ] external/wpt/input-events/input-events-typing.html [ Timeout ]
crbug.com/626703 external/wpt/streams/readable-byte-streams/construct-byob-request.any.sharedworker.html [ Timeout ]
......@@ -2994,6 +3000,7 @@ crbug.com/626703 [ Mac ] external/wpt/css/css-lists/li-value-reversed-003.html [
crbug.com/626703 [ Win ] external/wpt/css/css-lists/li-value-reversed-003.html [ Failure ]
crbug.com/626703 [ Mac10.10 ] virtual/cascade/external/wpt/css/css-paint-api/parse-input-arguments-018.https.html [ Failure ]
crbug.com/626703 [ Mac10.13 ] external/wpt/webaudio/the-audio-api/the-mediastreamaudiosourcenode-interface/mediastreamaudiosourcenode-routing.html [ Timeout ]
crbug.com/626703 [ Mac10.14 ] external/wpt/webaudio/the-audio-api/the-mediastreamaudiosourcenode-interface/mediastreamaudiosourcenode-routing.html [ Timeout ]
crbug.com/626703 [ Retina ] external/wpt/webaudio/the-audio-api/the-mediastreamaudiosourcenode-interface/mediastreamaudiosourcenode-routing.html [ Timeout ]
crbug.com/626703 [ Win7 ] external/wpt/IndexedDB/structured-clone.any.html [ Timeout ]
crbug.com/626703 [ Mac10.12 ] external/wpt/html/semantics/embedded-content/media-elements/track/track-element/track-cues-sorted-before-dispatch.html [ Timeout ]
......
......@@ -26,6 +26,8 @@ PASS e.style['clip-path'] = "polygon(evenodd, 1px 2px, 3em 4em, 5pt 6%)" should
FAIL e.style['clip-path'] = "path(\"m 20 0 h -100\")" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['clip-path'] = "path(evenodd, \"M 20 20 h 60 v 60 h -60 Z M 30 30 h 40 v 40 h -40 Z\")" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['clip-path'] = "path(nonzero, \"M20,20h60 v60 h-60z M30,30 h40 v40 h-40z\")" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['clip-path'] = "path(\" \")" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['clip-path'] = "path(evenodd, \"\")" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['clip-path'] = "border-box" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['clip-path'] = "padding-box" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['clip-path'] = "content-box" should set the property value assert_not_equals: property should be set got disallowed value ""
......
......@@ -13,6 +13,8 @@ PASS e.style['offset-path'] = "path(\"M 0 0 L 100 100 m 0 100 l 100 0 Z l 160 20
PASS e.style['offset-path'] = "path(\"m 10 20 l 20 30 Z l 50 60 Z m 70 80 l 90 60 Z t 70 120\")" should set the property value
PASS e.style['offset-path'] = "path(\"m 10 170 h 90 v 30 m 0 0 s 1 2 3 4 z c 9 8 7 6 5 4\")" should set the property value
PASS e.style['offset-path'] = "path(\"m 10 20 a 10 20 30 1 0 40 50 a 110 120 30 1 1 140 50\")" should set the property value
PASS e.style['offset-path'] = "path(\"\")" should set the property value
PASS e.style['offset-path'] = "path(\" \")" should set the property value
FAIL e.style['offset-path'] = "url(\"http://www.example.com/index.html#polyline1\")" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['offset-path'] = "circle(100px)" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['offset-path'] = "margin-box" should set the property value assert_not_equals: property should be set got disallowed value ""
......
......@@ -313,7 +313,7 @@ PASS createDocument test: "foo:","xmlns:foo",null,"NAMESPACE_ERR"
PASS createDocument test: "foo:","xmlfoo:bar",null,null
PASS createDocument test: metadata for "foo:","xmlfoo:bar",null
PASS createDocument test: characterSet aliases for "foo:","xmlfoo:bar",null
PASS createDocument test: null,null,false,object "TypeError"
PASS createDocument test: null,null,false,function "function TypeError() { [native code] }"
PASS createDocument test: null,"",null,null
PASS createDocument test: metadata for null,"",null
PASS createDocument test: characterSet aliases for null,"",null
......
......@@ -14,7 +14,7 @@ FAIL Construct static range with offset greater than length Illegal constructor
FAIL Construct static range with standalone Node container Illegal constructor
FAIL Construct static range with endpoints in disconnected trees Illegal constructor
FAIL Construct static range with endpoints in disconnected documents Illegal constructor
FAIL Throw on DocumentType or Attr container assert_throws: throw a InvalidNodeTypeError when a DocumentType is passed as a startContainer or endContainer function "function() {
FAIL Throw on DocumentType or Attr container assert_throws_dom: throw a InvalidNodeTypeError when a DocumentType is passed as a startContainer or endContainer function "function() {
const staticRange = new StaticRange({startContainer: document.doctype, startOffset: 0, endContainer: document.doctype, endOffset: 0});
}" threw object "TypeError: Illegal constructor" that is not a DOMException INVALID_NODE_TYPE_ERR: property "code" is equal to undefined, expected 24
PASS Throw on missing or invalid arguments
......
This is a testharness.js-based test.
FAIL EventSource: constructor (invalid URL) assert_throws: function "() => { new EventSource("http://this is invalid/"); }" did not throw
FAIL EventSource: constructor (invalid URL) assert_throws_dom: function "() => { new EventSource("http://this is invalid/"); }" did not throw
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL EventSource: constructor (invalid URL) assert_throws: function "() => { new EventSource("http://this is invalid/"); }" did not throw
FAIL EventSource: constructor (invalid URL) assert_throws_dom: function "() => { new EventSource("http://this is invalid/"); }" did not throw
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL EventSource: constructor (invalid URL) assert_throws: function "() => { new EventSource("http://this is invalid/"); }" did not throw
FAIL EventSource: constructor (invalid URL) assert_throws_dom: function "() => { new EventSource("http://this is invalid/"); }" did not throw
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL EventSource: constructor (invalid URL) assert_throws: function "() => { new EventSource("http://this is invalid/"); }" did not throw
FAIL EventSource: constructor (invalid URL) assert_throws_dom: function "() => { new EventSource("http://this is invalid/"); }" did not throw
Harness: the test ran to completion.
......@@ -3,7 +3,7 @@ PASS Same-origin prerequisite check: the original prototype is accessible
FAIL Same-origin: setting the prototype to an empty object via Object.setPrototypeOf should throw a TypeError assert_throws_js: function "() => {
Object.setPrototypeOf(target, newValue);
}" did not throw
FAIL Same-origin: setting the prototype to an empty object via __proto__ should throw a TypeError assert_throws: function "function() {
FAIL Same-origin: setting the prototype to an empty object via __proto__ should throw a TypeError assert_throws_js: function "function() {
target.__proto__ = newValue;
}" did not throw
FAIL Same-origin: setting the prototype to an empty object via Reflect.setPrototypeOf should return false assert_false: expected false got true
......
This is a testharness.js-based test.
PASS window.DragEvent should be exposed
FAIL createEvent should not be able to create a DragEvent assert_throws: function "function() {
FAIL createEvent should not be able to create a DragEvent assert_throws_dom: function "function() {
var evt = document.createEvent('DragEvent');
}" did not throw
PASS DragEvent should have all of the inherited init*Event methods
......
This is a testharness.js-based test.
FAIL TrackEvent created with createEvent assert_throws: function "function() {
FAIL TrackEvent created with createEvent assert_throws_dom: function "function() {
var ev = document.createEvent('TrackEvent');
}" did not throw
Harness: the test ran to completion.
......
......@@ -30,7 +30,7 @@ PASS Stringification of new NDEFRecord({"recordType":"text","data":"Hello World"
PASS NDEFRecord interface: new NDEFRecord({"recordType":"text","data":"Hello World","id":"/custom/path"}); must inherit property "recordType" with the proper type
PASS NDEFRecord interface: new NDEFRecord({"recordType":"text","data":"Hello World","id":"/custom/path"}); must inherit property "mediaType" with the proper type
PASS NDEFRecord interface: new NDEFRecord({"recordType":"text","data":"Hello World","id":"/custom/path"}); must inherit property "id" with the proper type
FAIL NDEFRecord interface: new NDEFRecord({"recordType":"text","data":"Hello World","id":"/custom/path"}); must inherit property "data" with the proper type Unrecognized type DataView
FAIL NDEFRecord interface: new NDEFRecord({"recordType":"text","data":"Hello World","id":"/custom/path"}); must inherit property "data" with the proper type assert_equals: expected "DataView" but got "object"
PASS NDEFRecord interface: new NDEFRecord({"recordType":"text","data":"Hello World","id":"/custom/path"}); must inherit property "encoding" with the proper type
PASS NDEFRecord interface: new NDEFRecord({"recordType":"text","data":"Hello World","id":"/custom/path"}); must inherit property "lang" with the proper type
PASS NDEFRecord interface: new NDEFRecord({"recordType":"text","data":"Hello World","id":"/custom/path"}); must inherit property "toRecords()" with the proper type
......
......@@ -51,59 +51,59 @@ PASS new RTCPeerConnection(config) - with relative url should throw SyntaxError
PASS setConfiguration(config) - with relative url should throw SyntaxError
PASS new RTCPeerConnection(config) - with http url should throw SyntaxError
PASS setConfiguration(config) - with http url should throw SyntaxError
FAIL new RTCPeerConnection(config) - with invalid turn url should throw SyntaxError assert_throws: function "() =>
FAIL new RTCPeerConnection(config) - with invalid turn url should throw SyntaxError assert_throws_dom: function "() =>
makePc({ iceServers: [{
urls: 'turn://example.org/foo?x=y'
}] })" threw object "InvalidAccessError: Failed to construct 'RTCPeerConnection': Both username and credential are required when the URL scheme is "turn" or "turns"." ("InvalidAccessError") expected object "SyntaxError" ("SyntaxError")
FAIL setConfiguration(config) - with invalid turn url should throw SyntaxError assert_throws: function "() =>
}] })" threw object "InvalidAccessError: Failed to construct 'RTCPeerConnection': Both username and credential are required when the URL scheme is "turn" or "turns"." that is not a DOMException SyntaxError: property "code" is equal to 15, expected 12
FAIL setConfiguration(config) - with invalid turn url should throw SyntaxError assert_throws_dom: function "() =>
makePc({ iceServers: [{
urls: 'turn://example.org/foo?x=y'
}] })" threw object "InvalidAccessError: Failed to execute 'setConfiguration' on 'RTCPeerConnection': Both username and credential are required when the URL scheme is "turn" or "turns"." ("InvalidAccessError") expected object "SyntaxError" ("SyntaxError")
FAIL new RTCPeerConnection(config) - with invalid stun url should throw SyntaxError assert_throws: function "() =>
}] })" threw object "InvalidAccessError: Failed to execute 'setConfiguration' on 'RTCPeerConnection': Both username and credential are required when the URL scheme is "turn" or "turns"." that is not a DOMException SyntaxError: property "code" is equal to 15, expected 12
FAIL new RTCPeerConnection(config) - with invalid stun url should throw SyntaxError assert_throws_dom: function "() =>
makePc({ iceServers: [{
urls: 'stun://example.org/foo?x=y'
}] })" threw object "NotSupportedError: Failed to construct 'RTCPeerConnection': Failed to initialize native PeerConnection." ("NotSupportedError") expected object "SyntaxError" ("SyntaxError")
FAIL setConfiguration(config) - with invalid stun url should throw SyntaxError assert_throws: function "() =>
}] })" threw object "NotSupportedError: Failed to construct 'RTCPeerConnection': Failed to initialize native PeerConnection." that is not a DOMException SyntaxError: property "code" is equal to 9, expected 12
FAIL setConfiguration(config) - with invalid stun url should throw SyntaxError assert_throws_dom: function "() =>
makePc({ iceServers: [{
urls: 'stun://example.org/foo?x=y'
}] })" threw object "OperationError: Failed to execute 'setConfiguration' on 'RTCPeerConnection': Could not update the PeerConnection with the given configuration." ("OperationError") expected object "SyntaxError" ("SyntaxError")
FAIL new RTCPeerConnection(config) - with empty urls should throw SyntaxError assert_throws: function "() =>
}] })" threw object "OperationError: Failed to execute 'setConfiguration' on 'RTCPeerConnection': Could not update the PeerConnection with the given configuration." that is not a DOMException SyntaxError: property "code" is equal to 0, expected 12
FAIL new RTCPeerConnection(config) - with empty urls should throw SyntaxError assert_throws_dom: function "() =>
makePc({ iceServers: [{
urls: []
}] })" did not throw
FAIL setConfiguration(config) - with empty urls should throw SyntaxError assert_throws: function "() =>
FAIL setConfiguration(config) - with empty urls should throw SyntaxError assert_throws_dom: function "() =>
makePc({ iceServers: [{
urls: []
}] })" did not throw
FAIL new RTCPeerConnection(config) - with invalid credentialType should throw TypeError assert_throws: function "() =>
FAIL new RTCPeerConnection(config) - with invalid credentialType should throw TypeError assert_throws_js: function "() =>
makePc({ iceServers: [{
urls: [],
credentialType: 'invalid'
}] })" did not throw
FAIL setConfiguration(config) - with invalid credentialType should throw TypeError assert_throws: function "() =>
FAIL setConfiguration(config) - with invalid credentialType should throw TypeError assert_throws_js: function "() =>
makePc({ iceServers: [{
urls: [],
credentialType: 'invalid'
}] })" did not throw
FAIL new RTCPeerConnection(config) - with credentialType token should throw TypeError assert_throws: function "() =>
FAIL new RTCPeerConnection(config) - with credentialType token should throw TypeError assert_throws_js: function "() =>
makePc({ iceServers: [{
urls: [],
credentialType: 'token'
}] })" did not throw
FAIL setConfiguration(config) - with credentialType token should throw TypeError assert_throws: function "() =>
FAIL setConfiguration(config) - with credentialType token should throw TypeError assert_throws_js: function "() =>
makePc({ iceServers: [{
urls: [],
credentialType: 'token'
}] })" did not throw
FAIL new RTCPeerConnection(config) - with url field should throw TypeError assert_throws: function "() =>
FAIL new RTCPeerConnection(config) - with url field should throw TypeError assert_throws_js: function "() =>
makePc({ iceServers: [{
url: 'stun:stun1.example.net'
}] })" did not throw
FAIL setConfiguration(config) - with url field should throw TypeError assert_throws: function "() =>
FAIL setConfiguration(config) - with url field should throw TypeError assert_throws_js: function "() =>
makePc({ iceServers: [{
url: 'stun:stun1.example.net'
}] })" did not throw
FAIL new RTCPeerConnection(config) - with turns server, credentialType password, and RTCOauthCredential credential should throw InvalidAccessError assert_throws: function "() =>
FAIL new RTCPeerConnection(config) - with turns server, credentialType password, and RTCOauthCredential credential should throw InvalidAccessError assert_throws_dom: function "() =>
makePc({ iceServers: [{
urls: 'turns:turn.example.org',
credentialType: 'password',
......@@ -113,7 +113,7 @@ FAIL new RTCPeerConnection(config) - with turns server, credentialType password,
accessToken: ''
}
}] })" did not throw
FAIL setConfiguration(config) - with turns server, credentialType password, and RTCOauthCredential credential should throw InvalidAccessError assert_throws: function "() =>
FAIL setConfiguration(config) - with turns server, credentialType password, and RTCOauthCredential credential should throw InvalidAccessError assert_throws_dom: function "() =>
makePc({ iceServers: [{
urls: 'turns:turn.example.org',
credentialType: 'password',
......@@ -123,14 +123,14 @@ FAIL setConfiguration(config) - with turns server, credentialType password, and
accessToken: ''
}
}] })" did not throw
FAIL new RTCPeerConnection(config) - with turns server, credentialType oauth, and string credential should throw InvalidAccessError assert_throws: function "() =>
FAIL new RTCPeerConnection(config) - with turns server, credentialType oauth, and string credential should throw InvalidAccessError assert_throws_dom: function "() =>
makePc({ iceServers: [{
urls: 'turns:turn.example.org',
credentialType: 'oauth',
username: 'user',
credential: 'cred'
}] })" did not throw
FAIL setConfiguration(config) - with turns server, credentialType oauth, and string credential should throw InvalidAccessError assert_throws: function "() =>
FAIL setConfiguration(config) - with turns server, credentialType oauth, and string credential should throw InvalidAccessError assert_throws_dom: function "() =>
makePc({ iceServers: [{
urls: 'turns:turn.example.org',
credentialType: 'oauth',
......
......@@ -9,6 +9,6 @@ FAIL Data channel should be able to send Blob message and receive as ArrayBuffer
FAIL Data channel should be able to send ArrayBuffer message and receive as Blob promise_test: Unhandled rejection with value: object "NotSupportedError: Failed to set the 'binaryType' property on 'RTCDataChannel': Blob support not implemented yet"
FAIL Data channel binaryType should receive message as Blob by default assert_equals: Expect initial binaryType value to be blob expected "blob" but got "arraybuffer"
FAIL Sending multiple messages with different types should succeed and be received assert_unreached: Unexpected promise rejection: NotSupportedError: Failed to execute 'send' on 'RTCDataChannel': Blob support not implemented yet Reached unreachable code
FAIL Calling send() up to max size should succeed, above max size should fail assert_throws: function "() => channel1.send(message)" did not throw
FAIL Calling send() up to max size should succeed, above max size should fail assert_throws_dom: function "() => channel1.send(message)" did not throw
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS setRemoteDescription with invalid type and invalid SDP should reject with TypeError
FAIL setRemoteDescription() with invalid SDP and stable state should reject with InvalidStateError assert_throws: function "() => { throw e }" threw object "OperationError: Failed to execute 'setRemoteDescription' on 'RTCPeerConnection': Failed to parse SessionDescription. invalid Expect line: v=" that is not a DOMException InvalidStateError: property "code" is equal to 0, expected 11
FAIL setRemoteDescription() with invalid SDP and stable state should reject with InvalidStateError assert_throws_dom: function "() => { throw e }" threw object "OperationError: Failed to execute 'setRemoteDescription' on 'RTCPeerConnection': Failed to parse SessionDescription. invalid Expect line: v=" that is not a DOMException InvalidStateError: property "code" is equal to 0, expected 11
PASS Negotiation should fire signalingsstate events
PASS Calling setRemoteDescription() again after one round of remote-offer/local-answer should succeed
PASS Switching role from offerer to answerer after going back to stable state should succeed
......
......@@ -5,12 +5,12 @@ PASS Test postMessage with no ports and empty array.
PASS Test postMessage with two ports.
PASS Test empty postMessage throws exception.
PASS Test postMessage with null ports throws exception.
FAIL Test postMessage with incorrect ports throws exception assert_throws: postMessage with incorrect ports should throw exception. function "function() { worker.postMessage("notAPort",
[channel.port1, {},
channel.port2]); }" threw object "TypeError: Failed to execute 'postMessage' on 'Worker': Value at index 1 does not have a transferable type." that is not a DOMException DataCloneError: property "code" is equal to undefined, expected 25
FAIL Test postMessage without sequence throws exception assert_throws: postMessage without sequence should throw exception. function "function() { worker.postMessage("notASequence", [{length: 3}]) }" threw object "TypeError: Failed to execute 'postMessage' on 'Worker': Value at index 0 does not have a transferable type." that is not a DOMException DataCloneError: property "code" is equal to undefined, expected 25
FAIL Test postMessage on channel with previous failed postMessage calls. assert_throws: postMessage with incorrect ports should throw exception. function "function() { worker.postMessage("notAPort",
[channel.port1, {},
channel.port2]); }" threw object "TypeError: Failed to execute 'postMessage' on 'Worker': Value at index 1 does not have a transferable type." that is not a DOMException DataCloneError: property "code" is equal to undefined, expected 25
FAIL Test postMessage with incorrect ports throws exception assert_throws_dom: postMessage with incorrect ports should throw exception. function "function() { worker.postMessage("notAPort",
[channel.port1, {},
channel.port2]); }" threw object "TypeError: Failed to execute 'postMessage' on 'Worker': Value at index 1 does not have a transferable type." that is not a DOMException DataCloneError: property "code" is equal to undefined, expected 25
FAIL Test postMessage without sequence throws exception assert_throws_dom: postMessage without sequence should throw exception. function "function() { worker.postMessage("notASequence", [{length: 3}]) }" threw object "TypeError: Failed to execute 'postMessage' on 'Worker': Value at index 0 does not have a transferable type." that is not a DOMException DataCloneError: property "code" is equal to undefined, expected 25
FAIL Test postMessage on channel with previous failed postMessage calls. assert_throws_dom: postMessage with incorrect ports should throw exception. function "function() { worker.postMessage("notAPort",
[channel.port1, {},
channel.port2]); }" threw object "TypeError: Failed to execute 'postMessage' on 'Worker': Value at index 1 does not have a transferable type." that is not a DOMException DataCloneError: property "code" is equal to undefined, expected 25
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL Makes sure that preloaded resources trigger the onload event Uncaught Error: assert_true: video triggered load event expected true got false
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS e.style['clip-path'] = "none" should set the property value
PASS e.style['clip-path'] = "inset(100%)" should set the property value
PASS e.style['clip-path'] = "inset(0 1px)" should set the property value
PASS e.style['clip-path'] = "inset(0px 1px 2%)" should set the property value
PASS e.style['clip-path'] = "inset(0px 1px 2% 3em)" should set the property value
PASS e.style['clip-path'] = "inset(0px round 100%)" should set the property value
PASS e.style['clip-path'] = "inset(0px round 0 1px)" should set the property value
PASS e.style['clip-path'] = "inset(0px round 0px 1px 2%)" should set the property value
PASS e.style['clip-path'] = "inset(0px round 0px 1px 2% 3em)" should set the property value
PASS e.style['clip-path'] = "inset(10px round 20% / 0px 1px 2% 3em)" should set the property value
PASS e.style['clip-path'] = "circle()" should set the property value
PASS e.style['clip-path'] = "circle(1px)" should set the property value
PASS e.style['clip-path'] = "circle(closest-side)" should set the property value
PASS e.style['clip-path'] = "circle(at 10% 20%)" should set the property value
PASS e.style['clip-path'] = "circle(farthest-side at center top)" should set the property value
PASS e.style['clip-path'] = "circle(4% at top right)" should set the property value
PASS e.style['clip-path'] = "ellipse()" should set the property value
PASS e.style['clip-path'] = "ellipse(1px closest-side)" should set the property value
PASS e.style['clip-path'] = "ellipse(at 10% 20%)" should set the property value
PASS e.style['clip-path'] = "ellipse(closest-side closest-side at 10% 20%)" should set the property value
PASS e.style['clip-path'] = "ellipse(farthest-side 4% at bottom left)" should set the property value
PASS e.style['clip-path'] = "polygon(1% 2%)" should set the property value
PASS e.style['clip-path'] = "polygon(nonzero, 1px 2px, 3em 4em)" should set the property value
PASS e.style['clip-path'] = "polygon(evenodd, 1px 2px, 3em 4em, 5pt 6%)" should set the property value
FAIL e.style['clip-path'] = "path(\"m 20 0 h -100\")" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['clip-path'] = "path(evenodd, \"M 20 20 h 60 v 60 h -60 Z M 30 30 h 40 v 40 h -40 Z\")" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['clip-path'] = "path(nonzero, \"M20,20h60 v60 h-60z M30,30 h40 v40 h-40z\")" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['clip-path'] = "path(\" \")" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['clip-path'] = "path(evenodd, \"\")" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['clip-path'] = "border-box" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['clip-path'] = "padding-box" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['clip-path'] = "content-box" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['clip-path'] = "margin-box" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['clip-path'] = "fill-box" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['clip-path'] = "stroke-box" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['clip-path'] = "view-box" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['clip-path'] = "circle(7% at 8% 9%) border-box" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['clip-path'] = "border-box circle(7% at 8% 9%)" should set the property value assert_not_equals: property should be set got disallowed value ""
PASS e.style['clip-path'] = "url(https://example.com/)" should set the property value
PASS e.style['clip-path'] = "url(\"https://example.com/\")" should set the property value
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS e.style['offset-path'] = "none" should set the property value
PASS e.style['offset-path'] = "ray(0rad closest-side)" should set the property value
PASS e.style['offset-path'] = "ray(0.25turn closest-corner contain)" should set the property value
PASS e.style['offset-path'] = "ray(200grad farthest-side)" should set the property value
PASS e.style['offset-path'] = "ray(270deg farthest-corner contain)" should set the property value
PASS e.style['offset-path'] = "ray(-720deg sides)" should set the property value
PASS e.style['offset-path'] = "ray(calc(180deg - 45deg) farthest-side)" should set the property value
PASS e.style['offset-path'] = "path(\"m 20 0 h -100\")" should set the property value
PASS e.style['offset-path'] = "path(\"M 0 0 L 100 100 M 100 200 L 200 200 Z L 300 300 Z\")" should set the property value
PASS e.style['offset-path'] = "path(\"m 10 20 q 30 60 40 50 q 100 70 90 80\")" should set the property value
PASS e.style['offset-path'] = "path(\"M 0 0 L 100 100 m 0 100 l 100 0 Z l 160 20 Z\")" should set the property value
PASS e.style['offset-path'] = "path(\"m 10 20 l 20 30 Z l 50 60 Z m 70 80 l 90 60 Z t 70 120\")" should set the property value
PASS e.style['offset-path'] = "path(\"m 10 170 h 90 v 30 m 0 0 s 1 2 3 4 z c 9 8 7 6 5 4\")" should set the property value
PASS e.style['offset-path'] = "path(\"m 10 20 a 10 20 30 1 0 40 50 a 110 120 30 1 1 140 50\")" should set the property value
PASS e.style['offset-path'] = "path(\"\")" should set the property value
PASS e.style['offset-path'] = "path(\" \")" should set the property value
FAIL e.style['offset-path'] = "url(\"http://www.example.com/index.html#polyline1\")" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['offset-path'] = "circle(100px)" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['offset-path'] = "margin-box" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['offset-path'] = "inset(10% 20% 30% 40%) border-box" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['offset-path'] = "fill-box ellipse(50% 60%)" should set the property value assert_not_equals: property should be set got disallowed value ""
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL Construct static range with Element container Illegal constructor
FAIL Construct static range with Text container Illegal constructor
FAIL Construct static range with Element startContainer and Text endContainer Illegal constructor
FAIL Construct static range with Text startContainer and Element endContainer Illegal constructor
FAIL Construct static range with ProcessingInstruction container Illegal constructor
FAIL Construct static range with Comment container Illegal constructor
FAIL Construct static range with CDATASection container Illegal constructor
FAIL Construct static range with Document container Illegal constructor
FAIL Construct static range with DocumentFragment container Illegal constructor
FAIL Construct collapsed static range Illegal constructor
FAIL Construct inverted static range Illegal constructor
FAIL Construct static range with offset greater than length Illegal constructor
FAIL Construct static range with standalone Node container Illegal constructor
FAIL Construct static range with endpoints in disconnected trees Illegal constructor
FAIL Construct static range with endpoints in disconnected documents Illegal constructor
FAIL Throw on DocumentType or Attr container assert_throws_dom: throw a InvalidNodeTypeError when a DocumentType is passed as a startContainer or endContainer function "function() {
const staticRange = new StaticRange({startContainer: document.doctype, startOffset: 0, endContainer: document.doctype, endOffset: 0});
}" threw object "TypeError: Illegal constructor" that is not a DOMException INVALID_NODE_TYPE_ERR: property "code" is equal to undefined, expected 24
PASS Throw on missing or invalid arguments
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL EventSource: constructor (invalid URL) assert_throws_dom: function "() => { new EventSource("http://this is invalid/"); }" did not throw
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL EventSource: constructor (invalid URL) assert_throws_dom: function "() => { new EventSource("http://this is invalid/"); }" did not throw
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL EventSource: constructor (invalid URL) assert_throws_dom: function "() => { new EventSource("http://this is invalid/"); }" did not throw
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL EventSource: constructor (invalid URL) assert_throws_dom: function "() => { new EventSource("http://this is invalid/"); }" did not throw
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS Same-origin prerequisite check: the original prototype is accessible
FAIL Same-origin: setting the prototype to an empty object via Object.setPrototypeOf should throw a TypeError assert_throws_js: function "() => {
Object.setPrototypeOf(target, newValue);
}" did not throw
FAIL Same-origin: setting the prototype to an empty object via __proto__ should throw a TypeError assert_throws_js: function "function() {
target.__proto__ = newValue;
}" did not throw
FAIL Same-origin: setting the prototype to an empty object via Reflect.setPrototypeOf should return false assert_false: expected false got true
FAIL Same-origin: the prototype must still be its original value assert_equals: expected object "[object Location]" but got object "[object Object]"
PASS Same-origin: setting the prototype to its original value via Object.setPrototypeOf should not throw
PASS Same-origin: setting the prototype to its original value via __proto__ should not throw
PASS Same-origin: setting the prototype to its original value via Reflect.setPrototypeOf should return true
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS window.DragEvent should be exposed
FAIL createEvent should not be able to create a DragEvent assert_throws_dom: function "function() {
var evt = document.createEvent('DragEvent');
}" did not throw
PASS DragEvent should have all of the inherited init*Event methods
PASS initMouseEvent should not throw
PASS initUIEvent should not throw
PASS initEvent should not throw
PASS DragEvent constructor with null as the dataTransfer parameter should be able to fire the event
PASS DragEvent constructor with undefined as the dataTransfer parameter should be able to fire the event
PASS DragEvent constructor with custom object as the dataTransfer parameter should throw TypeError
PASS initMouseEvent should be able to fire the event
PASS initUIEvent should be able to fire the event
PASS initEvent should be able to fire the event
PASS DragEvent constructor with null as the dataTransfer parameter should give null as the dataTransfer
PASS DragEvent constructor with undefined as the dataTransfer parameter should give null as the dataTransfer
PASS initMouseEvent should give null as the dataTransfer
PASS initUIEvent should give null as the dataTransfer
PASS initEvent should give null as the dataTransfer
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL TrackEvent created with createEvent assert_throws_dom: function "function() {
var ev = document.createEvent('TrackEvent');
}" did not throw
Harness: the test ran to completion.
This is a testharness.js-based test.
Found 72 tests; 71 PASS, 1 FAIL, 0 TIMEOUT, 0 NOTRUN.
PASS idl_test setup
PASS idl_test validation
PASS NDEFMessage interface: existence and properties of interface object
PASS NDEFMessage interface object length
PASS NDEFMessage interface object name
PASS NDEFMessage interface: existence and properties of interface prototype object
PASS NDEFMessage interface: existence and properties of interface prototype object's "constructor" property
PASS NDEFMessage interface: existence and properties of interface prototype object's @@unscopables property
PASS NDEFMessage interface: attribute records
PASS NDEFMessage must be primary interface of new NDEFMessage({"url":"/custom/path","records":[{"recordType":"text","data":"Hello World","id":"/custom/path"}]});
PASS Stringification of new NDEFMessage({"url":"/custom/path","records":[{"recordType":"text","data":"Hello World","id":"/custom/path"}]});
PASS NDEFMessage interface: new NDEFMessage({"url":"/custom/path","records":[{"recordType":"text","data":"Hello World","id":"/custom/path"}]}); must inherit property "records" with the proper type
PASS NDEFRecord interface: existence and properties of interface object
PASS NDEFRecord interface object length
PASS NDEFRecord interface object name
PASS NDEFRecord interface: existence and properties of interface prototype object
PASS NDEFRecord interface: existence and properties of interface prototype object's "constructor" property
PASS NDEFRecord interface: existence and properties of interface prototype object's @@unscopables property
PASS NDEFRecord interface: attribute recordType
PASS NDEFRecord interface: attribute mediaType
PASS NDEFRecord interface: attribute id
PASS NDEFRecord interface: attribute data
PASS NDEFRecord interface: attribute encoding
PASS NDEFRecord interface: attribute lang
PASS NDEFRecord interface: operation toRecords()
PASS NDEFRecord must be primary interface of new NDEFRecord({"recordType":"text","data":"Hello World","id":"/custom/path"});
PASS Stringification of new NDEFRecord({"recordType":"text","data":"Hello World","id":"/custom/path"});
PASS NDEFRecord interface: new NDEFRecord({"recordType":"text","data":"Hello World","id":"/custom/path"}); must inherit property "recordType" with the proper type
PASS NDEFRecord interface: new NDEFRecord({"recordType":"text","data":"Hello World","id":"/custom/path"}); must inherit property "mediaType" with the proper type
PASS NDEFRecord interface: new NDEFRecord({"recordType":"text","data":"Hello World","id":"/custom/path"}); must inherit property "id" with the proper type
FAIL NDEFRecord interface: new NDEFRecord({"recordType":"text","data":"Hello World","id":"/custom/path"}); must inherit property "data" with the proper type assert_equals: expected "DataView" but got "object"
PASS NDEFRecord interface: new NDEFRecord({"recordType":"text","data":"Hello World","id":"/custom/path"}); must inherit property "encoding" with the proper type
PASS NDEFRecord interface: new NDEFRecord({"recordType":"text","data":"Hello World","id":"/custom/path"}); must inherit property "lang" with the proper type
PASS NDEFRecord interface: new NDEFRecord({"recordType":"text","data":"Hello World","id":"/custom/path"}); must inherit property "toRecords()" with the proper type
PASS NDEFWriter interface: existence and properties of interface object
PASS NDEFWriter interface object length
PASS NDEFWriter interface object name
PASS NDEFWriter interface: existence and properties of interface prototype object
PASS NDEFWriter interface: existence and properties of interface prototype object's "constructor" property
PASS NDEFWriter interface: existence and properties of interface prototype object's @@unscopables property
PASS NDEFWriter interface: operation write(NDEFMessageSource, NDEFWriteOptions)
PASS NDEFWriter must be primary interface of new NDEFWriter();
PASS Stringification of new NDEFWriter();
PASS NDEFWriter interface: new NDEFWriter(); must inherit property "write(NDEFMessageSource, NDEFWriteOptions)" with the proper type
PASS NDEFWriter interface: calling write(NDEFMessageSource, NDEFWriteOptions) on new NDEFWriter(); with too few arguments must throw TypeError
PASS NDEFReader interface: existence and properties of interface object
PASS NDEFReader interface object length
PASS NDEFReader interface object name
PASS NDEFReader interface: existence and properties of interface prototype object
PASS NDEFReader interface: existence and properties of interface prototype object's "constructor" property
PASS NDEFReader interface: existence and properties of interface prototype object's @@unscopables property
PASS NDEFReader interface: attribute onerror
PASS NDEFReader interface: attribute onreading
PASS NDEFReader interface: operation scan(NDEFScanOptions)
PASS NDEFReader must be primary interface of new NDEFReader();
PASS Stringification of new NDEFReader();
PASS NDEFReader interface: new NDEFReader(); must inherit property "onerror" with the proper type
PASS NDEFReader interface: new NDEFReader(); must inherit property "onreading" with the proper type
PASS NDEFReader interface: new NDEFReader(); must inherit property "scan(NDEFScanOptions)" with the proper type
PASS NDEFReader interface: calling scan(NDEFScanOptions) on new NDEFReader(); with too few arguments must throw TypeError
PASS NDEFReadingEvent interface: existence and properties of interface object
PASS NDEFReadingEvent interface object length
PASS NDEFReadingEvent interface object name
PASS NDEFReadingEvent interface: existence and properties of interface prototype object
PASS NDEFReadingEvent interface: existence and properties of interface prototype object's "constructor" property
PASS NDEFReadingEvent interface: existence and properties of interface prototype object's @@unscopables property
PASS NDEFReadingEvent interface: attribute serialNumber
PASS NDEFReadingEvent interface: attribute message
PASS NDEFReadingEvent must be primary interface of new NDEFReadingEvent("reading", { message: {"url":"/custom/path","records":[{"recordType":"text","data":"Hello World","id":"/custom/path"}]} })
PASS Stringification of new NDEFReadingEvent("reading", { message: {"url":"/custom/path","records":[{"recordType":"text","data":"Hello World","id":"/custom/path"}]} })
PASS NDEFReadingEvent interface: new NDEFReadingEvent("reading", { message: {"url":"/custom/path","records":[{"recordType":"text","data":"Hello World","id":"/custom/path"}]} }) must inherit property "serialNumber" with the proper type
PASS NDEFReadingEvent interface: new NDEFReadingEvent("reading", { message: {"url":"/custom/path","records":[{"recordType":"text","data":"Hello World","id":"/custom/path"}]} }) must inherit property "message" with the proper type
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS Calling send() when data channel is in connecting state should throw InvalidStateError
PASS Data channel should be able to send simple string and receive as string
PASS Data channel should be able to send unicode string and receive as unicode string
PASS Data channel should ignore binaryType and always receive string message as string
PASS Data channel should be able to send Uint8Array message and receive as ArrayBuffer
PASS Data channel should be able to send ArrayBuffer message and receive as ArrayBuffer
FAIL Data channel should be able to send Blob message and receive as ArrayBuffer promise_test: Unhandled rejection with value: object "NotSupportedError: Failed to execute 'send' on 'RTCDataChannel': Blob support not implemented yet"
FAIL Data channel should be able to send ArrayBuffer message and receive as Blob promise_test: Unhandled rejection with value: object "NotSupportedError: Failed to set the 'binaryType' property on 'RTCDataChannel': Blob support not implemented yet"
FAIL Data channel binaryType should receive message as Blob by default assert_equals: Expect initial binaryType value to be blob expected "blob" but got "arraybuffer"
FAIL Sending multiple messages with different types should succeed and be received assert_unreached: Unexpected promise rejection: NotSupportedError: Failed to execute 'send' on 'RTCDataChannel': Blob support not implemented yet Reached unreachable code
FAIL Calling send() up to max size should succeed, above max size should fail assert_throws_dom: function "() => channel1.send(message)" did not throw
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS setRemoteDescription with invalid type and invalid SDP should reject with TypeError
FAIL setRemoteDescription() with invalid SDP and stable state should reject with InvalidStateError assert_throws_dom: function "() => { throw e }" threw object "OperationError: Failed to execute 'setRemoteDescription' on 'RTCPeerConnection': Failed to parse SessionDescription. invalid Expect line: v=" that is not a DOMException InvalidStateError: property "code" is equal to 0, expected 11
PASS Negotiation should fire signalingsstate events
PASS Calling setRemoteDescription() again after one round of remote-offer/local-answer should succeed
PASS Switching role from offerer to answerer after going back to stable state should succeed
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS Test postMessage with no port.
PASS Test postMessage with no arguments.
PASS Test postMessage with no ports and empty array.
PASS Test postMessage with two ports.
PASS Test empty postMessage throws exception.
PASS Test postMessage with null ports throws exception.
FAIL Test postMessage with incorrect ports throws exception assert_throws_dom: postMessage with incorrect ports should throw exception. function "function() { worker.postMessage("notAPort",
[channel.port1, {},
channel.port2]); }" threw object "TypeError: Failed to execute 'postMessage' on 'Worker': Value at index 1 does not have a transferable type." that is not a DOMException DataCloneError: property "code" is equal to undefined, expected 25
FAIL Test postMessage without sequence throws exception assert_throws_dom: postMessage without sequence should throw exception. function "function() { worker.postMessage("notASequence", [{length: 3}]) }" threw object "TypeError: Failed to execute 'postMessage' on 'Worker': Value at index 0 does not have a transferable type." that is not a DOMException DataCloneError: property "code" is equal to undefined, expected 25
FAIL Test postMessage on channel with previous failed postMessage calls. assert_throws_dom: postMessage with incorrect ports should throw exception. function "function() { worker.postMessage("notAPort",
[channel.port1, {},
channel.port2]); }" threw object "TypeError: Failed to execute 'postMessage' on 'Worker': Value at index 1 does not have a transferable type." that is not a DOMException DataCloneError: property "code" is equal to undefined, expected 25
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS Same-origin-domain prerequisite check: the original prototype is accessible
FAIL Same-origin-domain: setting the prototype to an empty object via Object.setPrototypeOf should throw a TypeError assert_throws_js: function "() => {
Object.setPrototypeOf(target, newValue);
}" did not throw
FAIL Same-origin-domain: setting the prototype to an empty object via __proto__ should throw a TypeError assert_throws_js: function "function() {
target.__proto__ = newValue;
}" did not throw
FAIL Same-origin-domain: setting the prototype to an empty object via Reflect.setPrototypeOf should return false assert_false: expected false got true
FAIL Same-origin-domain: the prototype must still be its original value assert_equals: expected object "[object Location]" but got object "[object Object]"
PASS Same-origin-domain: setting the prototype to its original value via Object.setPrototypeOf should not throw
PASS Same-origin-domain: setting the prototype to its original value via __proto__ should not throw
PASS Same-origin-domain: setting the prototype to its original value via Reflect.setPrototypeOf should return true
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS Test postMessage with no port.
PASS Test postMessage with no arguments.
PASS Test postMessage with no ports and empty array.
PASS Test postMessage with two ports.
PASS Test empty postMessage throws exception.
PASS Test postMessage with null ports throws exception.
FAIL Test postMessage with incorrect ports throws exception assert_throws_dom: postMessage with incorrect ports should throw exception. function "function() { worker.postMessage("notAPort",
[channel.port1, {},
channel.port2]); }" threw object "TypeError: Failed to execute 'postMessage' on 'Worker': Value at index 1 does not have a transferable type." that is not a DOMException DataCloneError: property "code" is equal to undefined, expected 25
FAIL Test postMessage without sequence throws exception assert_throws_dom: postMessage without sequence should throw exception. function "function() { worker.postMessage("notASequence", [{length: 3}]) }" threw object "TypeError: Failed to execute 'postMessage' on 'Worker': Value at index 0 does not have a transferable type." that is not a DOMException DataCloneError: property "code" is equal to undefined, expected 25
FAIL Test postMessage on channel with previous failed postMessage calls. assert_throws_dom: postMessage with incorrect ports should throw exception. function "function() { worker.postMessage("notAPort",
[channel.port1, {},
channel.port2]); }" threw object "TypeError: Failed to execute 'postMessage' on 'Worker': Value at index 1 does not have a transferable type." that is not a DOMException DataCloneError: property "code" is equal to undefined, expected 25
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL Construct static range with Element container Illegal constructor
FAIL Construct static range with Text container Illegal constructor
FAIL Construct static range with Element startContainer and Text endContainer Illegal constructor
FAIL Construct static range with Text startContainer and Element endContainer Illegal constructor
FAIL Construct static range with ProcessingInstruction container Illegal constructor
FAIL Construct static range with Comment container Illegal constructor
FAIL Construct static range with CDATASection container Illegal constructor
FAIL Construct static range with Document container Illegal constructor
FAIL Construct static range with DocumentFragment container Illegal constructor
FAIL Construct collapsed static range Illegal constructor
FAIL Construct inverted static range Illegal constructor
FAIL Construct static range with offset greater than length Illegal constructor
FAIL Construct static range with standalone Node container Illegal constructor
FAIL Construct static range with endpoints in disconnected trees Illegal constructor
FAIL Construct static range with endpoints in disconnected documents Illegal constructor
FAIL Throw on DocumentType or Attr container assert_throws_dom: throw a InvalidNodeTypeError when a DocumentType is passed as a startContainer or endContainer function "function() {
const staticRange = new StaticRange({startContainer: document.doctype, startOffset: 0, endContainer: document.doctype, endOffset: 0});
}" threw object "TypeError: Illegal constructor" that is not a DOMException INVALID_NODE_TYPE_ERR: property "code" is equal to undefined, expected 24
PASS Throw on missing or invalid arguments
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL TrackEvent created with createEvent assert_throws_dom: function "function() {
var ev = document.createEvent('TrackEvent');
}" did not throw
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS setRemoteDescription with invalid type and invalid SDP should reject with TypeError
FAIL setRemoteDescription() with invalid SDP and stable state should reject with InvalidStateError assert_throws_dom: function "() => { throw e }" threw object "OperationError: Failed to execute 'setRemoteDescription' on 'RTCPeerConnection': Failed to parse SessionDescription. invalid Expect line: v=" that is not a DOMException InvalidStateError: property "code" is equal to 0, expected 11
PASS Negotiation should fire signalingsstate events
PASS Calling setRemoteDescription() again after one round of remote-offer/local-answer should succeed
PASS Switching role from offerer to answerer after going back to stable state should succeed
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL Makes sure that preloaded resources trigger the onload event Uncaught Error: assert_true: video triggered load event expected true got false
Harness: the test ran to completion.
Content-Type: text/plain
This is a testharness.js-based test.
FAIL Makes sure that preloaded resources trigger the onload event Uncaught Error: assert_true: video triggered load event expected true got false
Harness: the test ran to completion.
#EOF
#EOF
This is a testharness.js-based test.
FAIL background-image: image-set(url(example.png) 1x) [ parsable ] assert_equals: expected true but got false
FAIL background-image: image-set(url('example.png') 1x) [ parsable ] assert_equals: expected true but got false
FAIL background-image: image-set('example.jpg' 1x) [ parsable ] assert_equals: expected true but got false
FAIL background-image: image-set(url(example.png) 1x, 'example.png' 2x) [ parsable ] assert_equals: expected true but got false
FAIL background-image: image-set(url(example.png) 1dppx) [ parsable ] assert_equals: expected true but got false
FAIL background-image: image-set(url(example.png) 1dpi) [ parsable ] assert_equals: expected true but got false
FAIL background-image: image-set(url(example.png) 1dpcm, 'example.png' 2x) [ parsable ] assert_equals: expected true but got false
FAIL background-image: image-set('example.jpeg' 222dpi, url(example.png) 3.5x) [ parsable ] assert_equals: expected true but got false
FAIL background-image: image-set(linear-gradient(black, white) 1x) [ parsable ] assert_equals: expected true but got false
FAIL content: image-set(linear-gradient(black, white) 1x, 'example.png' 4x) [ parsable ] assert_equals: expected true but got false
FAIL content: image-set(url('example.png') 192dpi, linear-gradient(black, white) 1x) [ parsable ] assert_equals: expected true but got false
PASS background-image: image-set(url(example.png) 0x) [ unparsable ]
PASS background-image: image-set(url(example.png) -20x) [ unparsable ]
PASS background-image: image-set('example.jpeg' 92pid url(example.png) 1x) [ unparsable ]
PASS cursor: image-set(linear-gradient(black, white) 1x) [ unparsable ]
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS e.style['clip-path'] = "none" should set the property value
PASS e.style['clip-path'] = "inset(100%)" should set the property value
PASS e.style['clip-path'] = "inset(0 1px)" should set the property value
PASS e.style['clip-path'] = "inset(0px 1px 2%)" should set the property value
PASS e.style['clip-path'] = "inset(0px 1px 2% 3em)" should set the property value
PASS e.style['clip-path'] = "inset(0px round 100%)" should set the property value
PASS e.style['clip-path'] = "inset(0px round 0 1px)" should set the property value
PASS e.style['clip-path'] = "inset(0px round 0px 1px 2%)" should set the property value
PASS e.style['clip-path'] = "inset(0px round 0px 1px 2% 3em)" should set the property value
PASS e.style['clip-path'] = "inset(10px round 20% / 0px 1px 2% 3em)" should set the property value
PASS e.style['clip-path'] = "circle()" should set the property value
PASS e.style['clip-path'] = "circle(1px)" should set the property value
PASS e.style['clip-path'] = "circle(closest-side)" should set the property value
PASS e.style['clip-path'] = "circle(at 10% 20%)" should set the property value
PASS e.style['clip-path'] = "circle(farthest-side at center top)" should set the property value
PASS e.style['clip-path'] = "circle(4% at top right)" should set the property value
PASS e.style['clip-path'] = "ellipse()" should set the property value
PASS e.style['clip-path'] = "ellipse(1px closest-side)" should set the property value
PASS e.style['clip-path'] = "ellipse(at 10% 20%)" should set the property value
PASS e.style['clip-path'] = "ellipse(closest-side closest-side at 10% 20%)" should set the property value
PASS e.style['clip-path'] = "ellipse(farthest-side 4% at bottom left)" should set the property value
PASS e.style['clip-path'] = "polygon(1% 2%)" should set the property value
PASS e.style['clip-path'] = "polygon(nonzero, 1px 2px, 3em 4em)" should set the property value
PASS e.style['clip-path'] = "polygon(evenodd, 1px 2px, 3em 4em, 5pt 6%)" should set the property value
FAIL e.style['clip-path'] = "path(\"m 20 0 h -100\")" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['clip-path'] = "path(evenodd, \"M 20 20 h 60 v 60 h -60 Z M 30 30 h 40 v 40 h -40 Z\")" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['clip-path'] = "path(nonzero, \"M20,20h60 v60 h-60z M30,30 h40 v40 h-40z\")" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['clip-path'] = "path(\" \")" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['clip-path'] = "path(evenodd, \"\")" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['clip-path'] = "border-box" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['clip-path'] = "padding-box" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['clip-path'] = "content-box" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['clip-path'] = "margin-box" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['clip-path'] = "fill-box" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['clip-path'] = "stroke-box" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['clip-path'] = "view-box" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['clip-path'] = "circle(7% at 8% 9%) border-box" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['clip-path'] = "border-box circle(7% at 8% 9%)" should set the property value assert_not_equals: property should be set got disallowed value ""
PASS e.style['clip-path'] = "url(https://example.com/)" should set the property value
PASS e.style['clip-path'] = "url(\"https://example.com/\")" should set the property value
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS e.style['offset-path'] = "none" should set the property value
PASS e.style['offset-path'] = "ray(0rad closest-side)" should set the property value
PASS e.style['offset-path'] = "ray(0.25turn closest-corner contain)" should set the property value
PASS e.style['offset-path'] = "ray(200grad farthest-side)" should set the property value
PASS e.style['offset-path'] = "ray(270deg farthest-corner contain)" should set the property value
PASS e.style['offset-path'] = "ray(-720deg sides)" should set the property value
PASS e.style['offset-path'] = "ray(calc(180deg - 45deg) farthest-side)" should set the property value
PASS e.style['offset-path'] = "path(\"m 20 0 h -100\")" should set the property value
PASS e.style['offset-path'] = "path(\"M 0 0 L 100 100 M 100 200 L 200 200 Z L 300 300 Z\")" should set the property value
PASS e.style['offset-path'] = "path(\"m 10 20 q 30 60 40 50 q 100 70 90 80\")" should set the property value
PASS e.style['offset-path'] = "path(\"M 0 0 L 100 100 m 0 100 l 100 0 Z l 160 20 Z\")" should set the property value
PASS e.style['offset-path'] = "path(\"m 10 20 l 20 30 Z l 50 60 Z m 70 80 l 90 60 Z t 70 120\")" should set the property value
PASS e.style['offset-path'] = "path(\"m 10 170 h 90 v 30 m 0 0 s 1 2 3 4 z c 9 8 7 6 5 4\")" should set the property value
PASS e.style['offset-path'] = "path(\"m 10 20 a 10 20 30 1 0 40 50 a 110 120 30 1 1 140 50\")" should set the property value
PASS e.style['offset-path'] = "path(\"\")" should set the property value
PASS e.style['offset-path'] = "path(\" \")" should set the property value
FAIL e.style['offset-path'] = "url(\"http://www.example.com/index.html#polyline1\")" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['offset-path'] = "circle(100px)" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['offset-path'] = "margin-box" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['offset-path'] = "inset(10% 20% 30% 40%) border-box" should set the property value assert_not_equals: property should be set got disallowed value ""
FAIL e.style['offset-path'] = "fill-box ellipse(50% 60%)" should set the property value assert_not_equals: property should be set got disallowed value ""
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL Construct static range with Element container Illegal constructor
FAIL Construct static range with Text container Illegal constructor
FAIL Construct static range with Element startContainer and Text endContainer Illegal constructor
FAIL Construct static range with Text startContainer and Element endContainer Illegal constructor
FAIL Construct static range with ProcessingInstruction container Illegal constructor
FAIL Construct static range with Comment container Illegal constructor
FAIL Construct static range with CDATASection container Illegal constructor
FAIL Construct static range with Document container Illegal constructor
FAIL Construct static range with DocumentFragment container Illegal constructor
FAIL Construct collapsed static range Illegal constructor
FAIL Construct inverted static range Illegal constructor
FAIL Construct static range with offset greater than length Illegal constructor
FAIL Construct static range with standalone Node container Illegal constructor
FAIL Construct static range with endpoints in disconnected trees Illegal constructor
FAIL Construct static range with endpoints in disconnected documents Illegal constructor
FAIL Throw on DocumentType or Attr container assert_throws_dom: throw a InvalidNodeTypeError when a DocumentType is passed as a startContainer or endContainer function "function() {
const staticRange = new StaticRange({startContainer: document.doctype, startOffset: 0, endContainer: document.doctype, endOffset: 0});
}" threw object "TypeError: Illegal constructor" that is not a DOMException INVALID_NODE_TYPE_ERR: property "code" is equal to undefined, expected 24
PASS Throw on missing or invalid arguments
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL EventSource: constructor (invalid URL) assert_throws_dom: function "() => { new EventSource("http://this is invalid/"); }" did not throw
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL EventSource: constructor (invalid URL) assert_throws_dom: function "() => { new EventSource("http://this is invalid/"); }" did not throw
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL EventSource: constructor (invalid URL) assert_throws_dom: function "() => { new EventSource("http://this is invalid/"); }" did not throw
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL EventSource: constructor (invalid URL) assert_throws_dom: function "() => { new EventSource("http://this is invalid/"); }" did not throw
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS Same-origin prerequisite check: the original prototype is accessible
FAIL Same-origin: setting the prototype to an empty object via Object.setPrototypeOf should throw a TypeError assert_throws_js: function "() => {
Object.setPrototypeOf(target, newValue);
}" did not throw
FAIL Same-origin: setting the prototype to an empty object via __proto__ should throw a TypeError assert_throws_js: function "function() {
target.__proto__ = newValue;
}" did not throw
FAIL Same-origin: setting the prototype to an empty object via Reflect.setPrototypeOf should return false assert_false: expected false got true
FAIL Same-origin: the prototype must still be its original value assert_equals: expected object "[object Location]" but got object "[object Object]"
PASS Same-origin: setting the prototype to its original value via Object.setPrototypeOf should not throw
PASS Same-origin: setting the prototype to its original value via __proto__ should not throw
PASS Same-origin: setting the prototype to its original value via Reflect.setPrototypeOf should return true
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS window.DragEvent should be exposed
FAIL createEvent should not be able to create a DragEvent assert_throws_dom: function "function() {
var evt = document.createEvent('DragEvent');
}" did not throw
PASS DragEvent should have all of the inherited init*Event methods
PASS initMouseEvent should not throw
PASS initUIEvent should not throw
PASS initEvent should not throw
PASS DragEvent constructor with null as the dataTransfer parameter should be able to fire the event
PASS DragEvent constructor with undefined as the dataTransfer parameter should be able to fire the event
PASS DragEvent constructor with custom object as the dataTransfer parameter should throw TypeError
PASS initMouseEvent should be able to fire the event
PASS initUIEvent should be able to fire the event
PASS initEvent should be able to fire the event
PASS DragEvent constructor with null as the dataTransfer parameter should give null as the dataTransfer
PASS DragEvent constructor with undefined as the dataTransfer parameter should give null as the dataTransfer
PASS initMouseEvent should give null as the dataTransfer
PASS initUIEvent should give null as the dataTransfer
PASS initEvent should give null as the dataTransfer
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL TrackEvent created with createEvent assert_throws_dom: function "function() {
var ev = document.createEvent('TrackEvent');
}" did not throw
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS calling undefined callbacks throws
PASS Attributes without type constraints will work as before.
PASS trustedTypes.createPolicy(.., null) creates empty policy.
PASS TestPolicyTrustedHTML0 (TrustedHTML: s => s)
PASS TestPolicyTrustedHTML1 (TrustedHTML: s => null)
PASS TestPolicyTrustedHTML2 (TrustedHTML: s => "well, " + s)
FAIL TestPolicyTrustedHTML3 (TrustedHTML: s => { throw new Error() })
PASS TestPolicyTrustedHTML4 (TrustedHTML: s => { aGlobalVarForSideEffectTesting = s; return s })
PASS TestPolicyTrustedHTML5 (TrustedHTML: s => aGlobalVarForSideEffectTesting + s)
PASS TestPolicyTrustedHTML6 (TrustedHTML: function () { [native code] })
PASS TestPolicyTrustedHTML7 (TrustedHTML: s => aGlobalFunction(s))
PASS TestPolicyTrustedScript0 (TrustedScript: s => s)
PASS TestPolicyTrustedScript1 (TrustedScript: s => null)
PASS TestPolicyTrustedScript2 (TrustedScript: s => "well, " + s)
FAIL TestPolicyTrustedScript3 (TrustedScript: s => { throw new Error() })
PASS TestPolicyTrustedScript4 (TrustedScript: s => { aGlobalVarForSideEffectTesting = s; return s })
PASS TestPolicyTrustedScript5 (TrustedScript: s => aGlobalVarForSideEffectTesting + s)
PASS TestPolicyTrustedScript6 (TrustedScript: function () { [native code] })
PASS TestPolicyTrustedScript7 (TrustedScript: s => aGlobalFunction(s))
PASS TestPolicyTrustedScriptURL0 (TrustedScriptURL: s => s)
PASS TestPolicyTrustedScriptURL1 (TrustedScriptURL: s => null)
PASS TestPolicyTrustedScriptURL2 (TrustedScriptURL: s => s + "#duck")
FAIL TestPolicyTrustedScriptURL3 (TrustedScriptURL: s => { throw new Error() })
PASS TestPolicyTrustedScriptURL4 (TrustedScriptURL: s => s + "#" + aGlobalVarForSideEffectTesting)
PASS TestPolicyTrustedScriptURL5 (TrustedScriptURL: function () { [native code] })
PASS TestPolicyTrustedScriptURL6 (TrustedScriptURL: s => anotherGlobalFunction(s))
Harness: the test ran to completion.
This is a testharness.js-based test.
Found 72 tests; 71 PASS, 1 FAIL, 0 TIMEOUT, 0 NOTRUN.
PASS idl_test setup
PASS idl_test validation
PASS NDEFMessage interface: existence and properties of interface object
PASS NDEFMessage interface object length
PASS NDEFMessage interface object name
PASS NDEFMessage interface: existence and properties of interface prototype object
PASS NDEFMessage interface: existence and properties of interface prototype object's "constructor" property
PASS NDEFMessage interface: existence and properties of interface prototype object's @@unscopables property
PASS NDEFMessage interface: attribute records
PASS NDEFMessage must be primary interface of new NDEFMessage({"url":"/custom/path","records":[{"recordType":"text","data":"Hello World","id":"/custom/path"}]});
PASS Stringification of new NDEFMessage({"url":"/custom/path","records":[{"recordType":"text","data":"Hello World","id":"/custom/path"}]});
PASS NDEFMessage interface: new NDEFMessage({"url":"/custom/path","records":[{"recordType":"text","data":"Hello World","id":"/custom/path"}]}); must inherit property "records" with the proper type
PASS NDEFRecord interface: existence and properties of interface object
PASS NDEFRecord interface object length
PASS NDEFRecord interface object name
PASS NDEFRecord interface: existence and properties of interface prototype object
PASS NDEFRecord interface: existence and properties of interface prototype object's "constructor" property
PASS NDEFRecord interface: existence and properties of interface prototype object's @@unscopables property
PASS NDEFRecord interface: attribute recordType
PASS NDEFRecord interface: attribute mediaType
PASS NDEFRecord interface: attribute id
PASS NDEFRecord interface: attribute data
PASS NDEFRecord interface: attribute encoding
PASS NDEFRecord interface: attribute lang
PASS NDEFRecord interface: operation toRecords()
PASS NDEFRecord must be primary interface of new NDEFRecord({"recordType":"text","data":"Hello World","id":"/custom/path"});
PASS Stringification of new NDEFRecord({"recordType":"text","data":"Hello World","id":"/custom/path"});
PASS NDEFRecord interface: new NDEFRecord({"recordType":"text","data":"Hello World","id":"/custom/path"}); must inherit property "recordType" with the proper type
PASS NDEFRecord interface: new NDEFRecord({"recordType":"text","data":"Hello World","id":"/custom/path"}); must inherit property "mediaType" with the proper type
PASS NDEFRecord interface: new NDEFRecord({"recordType":"text","data":"Hello World","id":"/custom/path"}); must inherit property "id" with the proper type
FAIL NDEFRecord interface: new NDEFRecord({"recordType":"text","data":"Hello World","id":"/custom/path"}); must inherit property "data" with the proper type assert_equals: expected "DataView" but got "object"
PASS NDEFRecord interface: new NDEFRecord({"recordType":"text","data":"Hello World","id":"/custom/path"}); must inherit property "encoding" with the proper type
PASS NDEFRecord interface: new NDEFRecord({"recordType":"text","data":"Hello World","id":"/custom/path"}); must inherit property "lang" with the proper type
PASS NDEFRecord interface: new NDEFRecord({"recordType":"text","data":"Hello World","id":"/custom/path"}); must inherit property "toRecords()" with the proper type
PASS NDEFWriter interface: existence and properties of interface object
PASS NDEFWriter interface object length
PASS NDEFWriter interface object name
PASS NDEFWriter interface: existence and properties of interface prototype object
PASS NDEFWriter interface: existence and properties of interface prototype object's "constructor" property
PASS NDEFWriter interface: existence and properties of interface prototype object's @@unscopables property
PASS NDEFWriter interface: operation write(NDEFMessageSource, NDEFWriteOptions)
PASS NDEFWriter must be primary interface of new NDEFWriter();
PASS Stringification of new NDEFWriter();
PASS NDEFWriter interface: new NDEFWriter(); must inherit property "write(NDEFMessageSource, NDEFWriteOptions)" with the proper type
PASS NDEFWriter interface: calling write(NDEFMessageSource, NDEFWriteOptions) on new NDEFWriter(); with too few arguments must throw TypeError
PASS NDEFReader interface: existence and properties of interface object
PASS NDEFReader interface object length
PASS NDEFReader interface object name
PASS NDEFReader interface: existence and properties of interface prototype object
PASS NDEFReader interface: existence and properties of interface prototype object's "constructor" property
PASS NDEFReader interface: existence and properties of interface prototype object's @@unscopables property
PASS NDEFReader interface: attribute onerror
PASS NDEFReader interface: attribute onreading
PASS NDEFReader interface: operation scan(NDEFScanOptions)
PASS NDEFReader must be primary interface of new NDEFReader();
PASS Stringification of new NDEFReader();
PASS NDEFReader interface: new NDEFReader(); must inherit property "onerror" with the proper type
PASS NDEFReader interface: new NDEFReader(); must inherit property "onreading" with the proper type
PASS NDEFReader interface: new NDEFReader(); must inherit property "scan(NDEFScanOptions)" with the proper type
PASS NDEFReader interface: calling scan(NDEFScanOptions) on new NDEFReader(); with too few arguments must throw TypeError
PASS NDEFReadingEvent interface: existence and properties of interface object
PASS NDEFReadingEvent interface object length
PASS NDEFReadingEvent interface object name
PASS NDEFReadingEvent interface: existence and properties of interface prototype object
PASS NDEFReadingEvent interface: existence and properties of interface prototype object's "constructor" property
PASS NDEFReadingEvent interface: existence and properties of interface prototype object's @@unscopables property
PASS NDEFReadingEvent interface: attribute serialNumber
PASS NDEFReadingEvent interface: attribute message
PASS NDEFReadingEvent must be primary interface of new NDEFReadingEvent("reading", { message: {"url":"/custom/path","records":[{"recordType":"text","data":"Hello World","id":"/custom/path"}]} })
PASS Stringification of new NDEFReadingEvent("reading", { message: {"url":"/custom/path","records":[{"recordType":"text","data":"Hello World","id":"/custom/path"}]} })
PASS NDEFReadingEvent interface: new NDEFReadingEvent("reading", { message: {"url":"/custom/path","records":[{"recordType":"text","data":"Hello World","id":"/custom/path"}]} }) must inherit property "serialNumber" with the proper type
PASS NDEFReadingEvent interface: new NDEFReadingEvent("reading", { message: {"url":"/custom/path","records":[{"recordType":"text","data":"Hello World","id":"/custom/path"}]} }) must inherit property "message" with the proper type
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL 'process' getter on prototype promise_test: Unhandled rejection with value: object "InvalidStateError: Failed to construct 'AudioWorkletNode': AudioWorkletNode cannot be created: The node name 'process-getter-test-prototype' is not defined in AudioWorkletGlobalScope."
FAIL 'process' getter on instance promise_test: Unhandled rejection with value: object "InvalidStateError: Failed to construct 'AudioWorkletNode': AudioWorkletNode cannot be created: The node name 'process-getter-test-instance' is not defined in AudioWorkletGlobalScope."
Harness: the test ran to completion.
This is a testharness.js-based test.
FAIL super() after new AudioWorkletProcessor() promise_test: Unhandled rejection with value: object "InvalidStateError: Failed to construct 'AudioWorkletNode': AudioWorkletNode cannot be created: The node name 'super-after-new' is not defined in AudioWorkletGlobalScope."
FAIL new AudioWorkletProcessor() after super() promise_test: Unhandled rejection with value: object "InvalidStateError: Failed to construct 'AudioWorkletNode': AudioWorkletNode cannot be created: The node name 'new-after-super' is not defined in AudioWorkletGlobalScope."
FAIL new AudioWorkletProcessor() after new AudioWorkletProcessor() promise_test: Unhandled rejection with value: object "InvalidStateError: Failed to construct 'AudioWorkletNode': AudioWorkletNode cannot be created: The node name 'new-after-new' is not defined in AudioWorkletGlobalScope."
FAIL Singleton AudioWorkletProcessor promise_test: Unhandled rejection with value: object "InvalidStateError: Failed to construct 'AudioWorkletNode': AudioWorkletNode cannot be created: The node name 'singleton' is not defined in AudioWorkletGlobalScope."
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS Calling send() when data channel is in connecting state should throw InvalidStateError
PASS Data channel should be able to send simple string and receive as string
PASS Data channel should be able to send unicode string and receive as unicode string
PASS Data channel should ignore binaryType and always receive string message as string
PASS Data channel should be able to send Uint8Array message and receive as ArrayBuffer
PASS Data channel should be able to send ArrayBuffer message and receive as ArrayBuffer
FAIL Data channel should be able to send Blob message and receive as ArrayBuffer promise_test: Unhandled rejection with value: object "NotSupportedError: Failed to execute 'send' on 'RTCDataChannel': Blob support not implemented yet"
FAIL Data channel should be able to send ArrayBuffer message and receive as Blob promise_test: Unhandled rejection with value: object "NotSupportedError: Failed to set the 'binaryType' property on 'RTCDataChannel': Blob support not implemented yet"
FAIL Data channel binaryType should receive message as Blob by default assert_equals: Expect initial binaryType value to be blob expected "blob" but got "arraybuffer"
FAIL Sending multiple messages with different types should succeed and be received assert_unreached: Unexpected promise rejection: NotSupportedError: Failed to execute 'send' on 'RTCDataChannel': Blob support not implemented yet Reached unreachable code
FAIL Calling send() up to max size should succeed, above max size should fail assert_throws_dom: function "() => channel1.send(message)" did not throw
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS setRemoteDescription with invalid type and invalid SDP should reject with TypeError
FAIL setRemoteDescription() with invalid SDP and stable state should reject with InvalidStateError assert_throws_dom: function "() => { throw e }" threw object "OperationError: Failed to execute 'setRemoteDescription' on 'RTCPeerConnection': Failed to parse SessionDescription. invalid Expect line: v=" that is not a DOMException InvalidStateError: property "code" is equal to 0, expected 11
PASS Negotiation should fire signalingsstate events
PASS Calling setRemoteDescription() again after one round of remote-offer/local-answer should succeed
PASS Switching role from offerer to answerer after going back to stable state should succeed
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS Test postMessage with no port.
PASS Test postMessage with no arguments.
PASS Test postMessage with no ports and empty array.
PASS Test postMessage with two ports.
PASS Test empty postMessage throws exception.
PASS Test postMessage with null ports throws exception.
FAIL Test postMessage with incorrect ports throws exception assert_throws_dom: postMessage with incorrect ports should throw exception. function "function() { worker.postMessage("notAPort",
[channel.port1, {},
channel.port2]); }" threw object "TypeError: Failed to execute 'postMessage' on 'Worker': Value at index 1 does not have a transferable type." that is not a DOMException DataCloneError: property "code" is equal to undefined, expected 25
FAIL Test postMessage without sequence throws exception assert_throws_dom: postMessage without sequence should throw exception. function "function() { worker.postMessage("notASequence", [{length: 3}]) }" threw object "TypeError: Failed to execute 'postMessage' on 'Worker': Value at index 0 does not have a transferable type." that is not a DOMException DataCloneError: property "code" is equal to undefined, expected 25
FAIL Test postMessage on channel with previous failed postMessage calls. assert_throws_dom: postMessage with incorrect ports should throw exception. function "function() { worker.postMessage("notAPort",
[channel.port1, {},
channel.port2]); }" threw object "TypeError: Failed to execute 'postMessage' on 'Worker': Value at index 1 does not have a transferable type." that is not a DOMException DataCloneError: property "code" is equal to undefined, expected 25
Harness: the test ran to completion.
This is a testharness.js-based test.
PASS Same-origin-domain prerequisite check: the original prototype is accessible
FAIL Same-origin-domain: setting the prototype to an empty object via Object.setPrototypeOf should throw a TypeError assert_throws_js: function "() => {
Object.setPrototypeOf(target, newValue);
}" did not throw
FAIL Same-origin-domain: setting the prototype to an empty object via __proto__ should throw a TypeError assert_throws_js: function "function() {
target.__proto__ = newValue;
}" did not throw
FAIL Same-origin-domain: setting the prototype to an empty object via Reflect.setPrototypeOf should return false assert_false: expected false got true
FAIL Same-origin-domain: the prototype must still be its original value assert_equals: expected object "[object Location]" but got object "[object Object]"
PASS Same-origin-domain: setting the prototype to its original value via Object.setPrototypeOf should not throw
PASS Same-origin-domain: setting the prototype to its original value via __proto__ should not throw
PASS Same-origin-domain: setting the prototype to its original value via Reflect.setPrototypeOf should return true
Harness: the test ran to completion.
......@@ -3,7 +3,7 @@ PASS Same-origin-domain prerequisite check: the original prototype is accessible
FAIL Same-origin-domain: setting the prototype to an empty object via Object.setPrototypeOf should throw a TypeError assert_throws_js: function "() => {
Object.setPrototypeOf(target, newValue);
}" did not throw
FAIL Same-origin-domain: setting the prototype to an empty object via __proto__ should throw a TypeError assert_throws: function "function() {
FAIL Same-origin-domain: setting the prototype to an empty object via __proto__ should throw a TypeError assert_throws_js: function "function() {
target.__proto__ = newValue;
}" did not throw
FAIL Same-origin-domain: setting the prototype to an empty object via Reflect.setPrototypeOf should return false assert_false: expected false got true
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment