Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add tests for constructible/subclassable EventTarget #6306

Merged
merged 3 commits into from
Jul 7, 2017

Conversation

domenic
Copy link
Member

@domenic domenic commented Jun 21, 2017

Follows whatwg/dom#467.

@w3c-bots
Copy link

w3c-bots commented Jun 21, 2017

*This report has been truncated because the total content is 2960860 characters in length, which is in excess of GitHub.com's limit for comments (65536 characters).

View the complete job log.

Firefox (nightly)

Testing web-platform-tests at revision d547d0c
Using browser at version BuildID 20170612100241; SourceStamp 27cad9749cddf68e11fdd4e5d73dad84a8f8cf23
Starting 10 test iterations
All results were stable

All results

6 tests ran
/XMLHttpRequest/interfaces.html
Subtest Results Messages
OK
Test driver PASS
XMLHttpRequestEventTarget interface: existence and properties of interface object PASS
XMLHttpRequestEventTarget interface object length PASS
XMLHttpRequestEventTarget interface object name PASS
XMLHttpRequestEventTarget interface: existence and properties of interface prototype object PASS
XMLHttpRequestEventTarget interface: existence and properties of interface prototype object's "constructor" property PASS
XMLHttpRequestEventTarget interface: attribute onloadstart PASS
XMLHttpRequestEventTarget interface: attribute onprogress PASS
XMLHttpRequestEventTarget interface: attribute onabort PASS
XMLHttpRequestEventTarget interface: attribute onerror PASS
XMLHttpRequestEventTarget interface: attribute onload PASS
XMLHttpRequestEventTarget interface: attribute ontimeout PASS
XMLHttpRequestEventTarget interface: attribute onloadend PASS
XMLHttpRequestUpload interface: existence and properties of interface object PASS
XMLHttpRequestUpload interface object length PASS
XMLHttpRequestUpload interface object name PASS
XMLHttpRequestUpload interface: existence and properties of interface prototype object PASS
XMLHttpRequestUpload interface: existence and properties of interface prototype object's "constructor" property PASS
XMLHttpRequestUpload must be primary interface of (new XMLHttpRequest()).upload PASS
Stringification of (new XMLHttpRequest()).upload PASS
XMLHttpRequestEventTarget interface: (new XMLHttpRequest()).upload must inherit property "onloadstart" with the proper type (0) PASS
XMLHttpRequestEventTarget interface: (new XMLHttpRequest()).upload must inherit property "onprogress" with the proper type (1) PASS
XMLHttpRequestEventTarget interface: (new XMLHttpRequest()).upload must inherit property "onabort" with the proper type (2) PASS
XMLHttpRequestEventTarget interface: (new XMLHttpRequest()).upload must inherit property "onerror" with the proper type (3) PASS
XMLHttpRequestEventTarget interface: (new XMLHttpRequest()).upload must inherit property "onload" with the proper type (4) PASS
XMLHttpRequestEventTarget interface: (new XMLHttpRequest()).upload must inherit property "ontimeout" with the proper type (5) PASS
XMLHttpRequestEventTarget interface: (new XMLHttpRequest()).upload must inherit property "onloadend" with the proper type (6) PASS
XMLHttpRequest interface: existence and properties of interface object PASS
XMLHttpRequest interface object length PASS
XMLHttpRequest interface object name PASS
XMLHttpRequest interface: existence and properties of interface prototype object PASS
XMLHttpRequest interface: existence and properties of interface prototype object's "constructor" property PASS
XMLHttpRequest interface: attribute onreadystatechange PASS
XMLHttpRequest interface: constant UNSENT on interface object PASS
XMLHttpRequest interface: constant UNSENT on interface prototype object PASS
XMLHttpRequest interface: constant OPENED on interface object PASS
XMLHttpRequest interface: constant OPENED on interface prototype object PASS
XMLHttpRequest interface: constant HEADERS_RECEIVED on interface object PASS
XMLHttpRequest interface: constant HEADERS_RECEIVED on interface prototype object PASS
XMLHttpRequest interface: constant LOADING on interface object PASS
XMLHttpRequest interface: constant LOADING on interface prototype object PASS
XMLHttpRequest interface: constant DONE on interface object PASS
XMLHttpRequest interface: constant DONE on interface prototype object PASS
XMLHttpRequest interface: attribute readyState PASS
XMLHttpRequest interface: operation open(ByteString,USVString) PASS
XMLHttpRequest interface: operation open(ByteString,USVString,boolean,USVString,USVString) PASS
XMLHttpRequest interface: operation setRequestHeader(ByteString,ByteString) PASS
XMLHttpRequest interface: attribute timeout PASS
XMLHttpRequest interface: attribute withCredentials PASS
XMLHttpRequest interface: attribute upload PASS
XMLHttpRequest interface: operation send([object Object],[object Object]) PASS
XMLHttpRequest interface: operation abort() PASS
XMLHttpRequest interface: attribute responseURL PASS
XMLHttpRequest interface: attribute status PASS
XMLHttpRequest interface: attribute statusText PASS
XMLHttpRequest interface: operation getResponseHeader(ByteString) PASS
XMLHttpRequest interface: operation getAllResponseHeaders() PASS
XMLHttpRequest interface: operation overrideMimeType(DOMString) PASS
XMLHttpRequest interface: attribute responseType PASS
XMLHttpRequest interface: attribute response PASS
XMLHttpRequest interface: attribute responseText PASS
XMLHttpRequest interface: attribute responseXML PASS
XMLHttpRequest must be primary interface of new XMLHttpRequest() PASS
Stringification of new XMLHttpRequest() PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "onreadystatechange" with the proper type (0) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "UNSENT" with the proper type (1) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "OPENED" with the proper type (2) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "HEADERS_RECEIVED" with the proper type (3) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "LOADING" with the proper type (4) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "DONE" with the proper type (5) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "readyState" with the proper type (6) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "open" with the proper type (7) PASS
XMLHttpRequest interface: calling open(ByteString,USVString) on new XMLHttpRequest() with too few arguments must throw TypeError PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "open" with the proper type (8) PASS
XMLHttpRequest interface: calling open(ByteString,USVString,boolean,USVString,USVString) on new XMLHttpRequest() with too few arguments must throw TypeError PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "setRequestHeader" with the proper type (9) PASS
XMLHttpRequest interface: calling setRequestHeader(ByteString,ByteString) on new XMLHttpRequest() with too few arguments must throw TypeError PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "timeout" with the proper type (10) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "withCredentials" with the proper type (11) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "upload" with the proper type (12) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "send" with the proper type (13) PASS
XMLHttpRequest interface: calling send([object Object],[object Object]) on new XMLHttpRequest() with too few arguments must throw TypeError PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "abort" with the proper type (14) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "responseURL" with the proper type (15) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "status" with the proper type (16) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "statusText" with the proper type (17) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "getResponseHeader" with the proper type (18) PASS
XMLHttpRequest interface: calling getResponseHeader(ByteString) on new XMLHttpRequest() with too few arguments must throw TypeError PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "getAllResponseHeaders" with the proper type (19) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "overrideMimeType" with the proper type (20) PASS
XMLHttpRequest interface: calling overrideMimeType(DOMString) on new XMLHttpRequest() with too few arguments must throw TypeError PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "responseType" with the proper type (21) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "response" with the proper type (22) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "responseText" with the proper type (23) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "responseXML" with the proper type (24) PASS
XMLHttpRequestEventTarget interface: new XMLHttpRequest() must inherit property "onloadstart" with the proper type (0) PASS
XMLHttpRequestEventTarget interface: new XMLHttpRequest() must inherit property "onprogress" with the proper type (1) PASS
XMLHttpRequestEventTarget interface: new XMLHttpRequest() must inherit property "onabort" with the proper type (2) PASS
XMLHttpRequestEventTarget interface: new XMLHttpRequest() must inherit property "onerror" with the proper type (3) PASS
XMLHttpRequestEventTarget interface: new XMLHttpRequest() must inherit property "onload" with the proper type (4) PASS
XMLHttpRequestEventTarget interface: new XMLHttpRequest() must inherit property "ontimeout" with the proper type (5) PASS
XMLHttpRequestEventTarget interface: new XMLHttpRequest() must inherit property "onloadend" with the proper type (6) PASS
FormData interface: existence and properties of interface object PASS
FormData interface object length PASS
FormData interface object name PASS
FormData interface: existence and properties of interface prototype object PASS
FormData interface: existence and properties of interface prototype object's "constructor" property PASS
FormData interface: operation append(USVString,Blob,USVString) PASS
FormData interface: operation append(USVString,USVString) PASS
FormData interface: operation delete(USVString) PASS
FormData interface: operation get(USVString) PASS
FormData interface: operation getAll(USVString) PASS
FormData interface: operation has(USVString) PASS
FormData interface: operation set(USVString,Blob,USVString) PASS
FormData interface: operation set(USVString,USVString) PASS
FormData must be primary interface of new FormData() PASS
Stringification of new FormData() PASS
FormData interface: new FormData() must inherit property "append" with the proper type (0) PASS
FormData interface: calling append(USVString,Blob,USVString) on new FormData() with too few arguments must throw TypeError PASS
FormData interface: new FormData() must inherit property "append" with the proper type (1) PASS
FormData interface: calling append(USVString,USVString) on new FormData() with too few arguments must throw TypeError PASS
FormData interface: new FormData() must inherit property "delete" with the proper type (2) PASS
FormData interface: calling delete(USVString) on new FormData() with too few arguments must throw TypeError PASS
FormData interface: new FormData() must inherit property "get" with the proper type (3) PASS
FormData interface: calling get(USVString) on new FormData() with too few arguments must throw TypeError PASS
FormData interface: new FormData() must inherit property "getAll" with the proper type (4) PASS
FormData interface: calling getAll(USVString) on new FormData() with too few arguments must throw TypeError PASS
FormData interface: new FormData() must inherit property "has" with the proper type (5) PASS
FormData interface: calling has(USVString) on new FormData() with too few arguments must throw TypeError PASS
FormData interface: new FormData() must inherit property "set" with the proper type (6) PASS
FormData interface: calling set(USVString,Blob,USVString) on new FormData() with too few arguments must throw TypeError PASS
FormData interface: new FormData() must inherit property "set" with the proper type (7) PASS
FormData interface: calling set(USVString,USVString) on new FormData() with too few arguments must throw TypeError PASS
FormData must be primary interface of new FormData(form) PASS
Stringification of new FormData(form) PASS
FormData interface: new FormData(form) must inherit property "append" with the proper type (0) PASS
FormData interface: calling append(USVString,Blob,USVString) on new FormData(form) with too few arguments must throw TypeError PASS
FormData interface: new FormData(form) must inherit property "append" with the proper type (1) PASS
FormData interface: calling append(USVString,USVString) on new FormData(form) with too few arguments must throw TypeError PASS
FormData interface: new FormData(form) must inherit property "delete" with the proper type (2) PASS
FormData interface: calling delete(USVString) on new FormData(form) with too few arguments must throw TypeError PASS
FormData interface: new FormData(form) must inherit property "get" with the proper type (3) PASS
FormData interface: calling get(USVString) on new FormData(form) with too few arguments must throw TypeError PASS
FormData interface: new FormData(form) must inherit property "getAll" with the proper type (4) PASS
FormData interface: calling getAll(USVString) on new FormData(form) with too few arguments must throw TypeError PASS
FormData interface: new FormData(form) must inherit property "has" with the proper type (5) PASS
FormData interface: calling has(USVString) on new FormData(form) with too few arguments must throw TypeError PASS
FormData interface: new FormData(form) must inherit property "set" with the proper type (6) PASS
FormData interface: calling set(USVString,Blob,USVString) on new FormData(form) with too few arguments must throw TypeError PASS
FormData interface: new FormData(form) must inherit property "set" with the proper type (7) PASS
FormData interface: calling set(USVString,USVString) on new FormData(form) with too few arguments must throw TypeError PASS
ProgressEvent interface: existence and properties of interface object PASS
ProgressEvent interface object length PASS
ProgressEvent interface object name PASS
ProgressEvent interface: existence and properties of interface prototype object PASS
ProgressEvent interface: existence and properties of interface prototype object's "constructor" property PASS
ProgressEvent interface: attribute lengthComputable PASS
ProgressEvent interface: attribute loaded PASS
ProgressEvent interface: attribute total PASS
/dom/events/EventTarget-constructible.any.html
Subtest Results Messages
OK
A constructed EventTarget can be used as expected FAIL Illegal constructor.
EventTarget can be subclassed FAIL Illegal constructor.
/dom/events/EventTarget-constructible.any.worker.html
Subtest Results Messages
OK
A constructed EventTarget can be used as expected FAIL Illegal constructor.
EventTarget can be subclassed FAIL Illegal constructor.
/dom/interfaces.html
Subtest Results Messages
OK
Test driver PASS
Event interface: existence and properties of interface object PASS
Event interface object length PASS
Event interface object name PASS
Event interface: existence and properties of interface prototype object PASS
Event interface: existence and properties of interface prototype object's "constructor" property PASS
Event interface: attribute type PASS
Event interface: attribute target PASS
Event interface: attribute currentTarget PASS
Event interface: constant NONE on interface object PASS
Event interface: constant NONE on interface prototype object PASS
Event interface: constant CAPTURING_PHASE on interface object PASS
Event interface: constant CAPTURING_PHASE on interface prototype object PASS
Event interface: constant AT_TARGET on interface object PASS
Event interface: constant AT_TARGET on interface prototype object PASS
Event interface: constant BUBBLING_PHASE on interface object PASS
Event interface: constant BUBBLING_PHASE on interface prototype object PASS
Event interface: attribute eventPhase PASS
Event interface: operation stopPropagation() PASS
Event interface: operation stopImmediatePropagation() PASS
Event interface: attribute bubbles PASS
Event interface: attribute cancelable PASS
Event interface: operation preventDefault() PASS
Event interface: attribute defaultPrevented PASS
Event interface: attribute timeStamp PASS
Event interface: operation initEvent(DOMString,boolean,boolean) PASS
Event must be primary interface of document.createEvent("Event") PASS
Stringification of document.createEvent("Event") PASS
Event interface: document.createEvent("Event") must inherit property "type" with the proper type (0) PASS
Event interface: document.createEvent("Event") must inherit property "target" with the proper type (1) PASS
Event interface: document.createEvent("Event") must inherit property "currentTarget" with the proper type (2) PASS
Event interface: document.createEvent("Event") must inherit property "NONE" with the proper type (3) PASS
Event interface: document.createEvent("Event") must inherit property "CAPTURING_PHASE" with the proper type (4) PASS
Event interface: document.createEvent("Event") must inherit property "AT_TARGET" with the proper type (5) PASS
Event interface: document.createEvent("Event") must inherit property "BUBBLING_PHASE" with the proper type (6) PASS
Event interface: document.createEvent("Event") must inherit property "eventPhase" with the proper type (7) PASS
Event interface: document.createEvent("Event") must inherit property "stopPropagation" with the proper type (8) PASS
Event interface: document.createEvent("Event") must inherit property "stopImmediatePropagation" with the proper type (9) PASS
Event interface: document.createEvent("Event") must inherit property "bubbles" with the proper type (10) PASS
Event interface: document.createEvent("Event") must inherit property "cancelable" with the proper type (11) PASS
Event interface: document.createEvent("Event") must inherit property "preventDefault" with the proper type (12) PASS
Event interface: document.createEvent("Event") must inherit property "defaultPrevented" with the proper type (13) PASS
Event interface: document.createEvent("Event") must have own property "isTrusted" PASS
Event interface: document.createEvent("Event") must inherit property "timeStamp" with the proper type (15) PASS
Event interface: document.createEvent("Event") must inherit property "initEvent" with the proper type (16) PASS
Event interface: calling initEvent(DOMString,boolean,boolean) on document.createEvent("Event") with too few arguments must throw TypeError PASS
Event must be primary interface of new Event("foo") PASS
Stringification of new Event("foo") PASS
Event interface: new Event("foo") must inherit property "type" with the proper type (0) PASS
Event interface: new Event("foo") must inherit property "target" with the proper type (1) PASS
Event interface: new Event("foo") must inherit property "currentTarget" with the proper type (2) PASS
Event interface: new Event("foo") must inherit property "NONE" with the proper type (3) PASS
Event interface: new Event("foo") must inherit property "CAPTURING_PHASE" with the proper type (4) PASS
Event interface: new Event("foo") must inherit property "AT_TARGET" with the proper type (5) PASS
Event interface: new Event("foo") must inherit property "BUBBLING_PHASE" with the proper type (6) PASS
Event interface: new Event("foo") must inherit property "eventPhase" with the proper type (7) PASS
Event interface: new Event("foo") must inherit property "stopPropagation" with the proper type (8) PASS
Event interface: new Event("foo") must inherit property "stopImmediatePropagation" with the proper type (9) PASS
Event interface: new Event("foo") must inherit property "bubbles" with the proper type (10) PASS
Event interface: new Event("foo") must inherit property "cancelable" with the proper type (11) PASS
Event interface: new Event("foo") must inherit property "preventDefault" with the proper type (12) PASS
Event interface: new Event("foo") must inherit property "defaultPrevented" with the proper type (13) PASS
Event interface: new Event("foo") must have own property "isTrusted" PASS
Event interface: new Event("foo") must inherit property "timeStamp" with the proper type (15) PASS
Event interface: new Event("foo") must inherit property "initEvent" with the proper type (16) PASS
Event interface: calling initEvent(DOMString,boolean,boolean) on new Event("foo") with too few arguments must throw TypeError PASS
CustomEvent interface: existence and properties of interface object PASS
CustomEvent interface object length PASS
CustomEvent interface object name PASS
CustomEvent interface: existence and properties of interface prototype object PASS
CustomEvent interface: existence and properties of interface prototype object's "constructor" property PASS
CustomEvent interface: attribute detail PASS
CustomEvent interface: operation initCustomEvent(DOMString,boolean,boolean,any) PASS
CustomEvent must be primary interface of new CustomEvent("foo") PASS
Stringification of new CustomEvent("foo") PASS
CustomEvent interface: new CustomEvent("foo") must inherit property "detail" with the proper type (0) PASS
CustomEvent interface: new CustomEvent("foo") must inherit property "initCustomEvent" with the proper type (1) PASS
CustomEvent interface: calling initCustomEvent(DOMString,boolean,boolean,any) on new CustomEvent("foo") with too few arguments must throw TypeError PASS
Event interface: new CustomEvent("foo") must inherit property "type" with the proper type (0) PASS
Event interface: new CustomEvent("foo") must inherit property "target" with the proper type (1) PASS
Event interface: new CustomEvent("foo") must inherit property "currentTarget" with the proper type (2) PASS
Event interface: new CustomEvent("foo") must inherit property "NONE" with the proper type (3) PASS
Event interface: new CustomEvent("foo") must inherit property "CAPTURING_PHASE" with the proper type (4) PASS
Event interface: new CustomEvent("foo") must inherit property "AT_TARGET" with the proper type (5) PASS
Event interface: new CustomEvent("foo") must inherit property "BUBBLING_PHASE" with the proper type (6) PASS
Event interface: new CustomEvent("foo") must inherit property "eventPhase" with the proper type (7) PASS
Event interface: new CustomEvent("foo") must inherit property "stopPropagation" with the proper type (8) PASS
Event interface: new CustomEvent("foo") must inherit property "stopImmediatePropagation" with the proper type (9) PASS
Event interface: new CustomEvent("foo") must inherit property "bubbles" with the proper type (10) PASS
Event interface: new CustomEvent("foo") must inherit property "cancelable" with the proper type (11) PASS
Event interface: new CustomEvent("foo") must inherit property "preventDefault" with the proper type (12) PASS
Event interface: new CustomEvent("foo") must inherit property "defaultPrevented" with the proper type (13) PASS
Event interface: new CustomEvent("foo") must have own property "isTrusted" PASS
Event interface: new CustomEvent("foo") must inherit property "timeStamp" with the proper type (15) PASS
`Event interf

@w3c-bots
Copy link

w3c-bots commented Jun 21, 2017

View the complete job log.

Sauce (safari)

Testing web-platform-tests at revision d547d0c
Using browser at version 10.0
Starting 10 test iterations
All results were stable

All results

6 tests ran
/XMLHttpRequest/interfaces.html
Subtest Results Messages
OK
Test driver FAIL Can't find variable: fetch
/dom/events/EventTarget-constructible.any.html
Subtest Results Messages
OK
A constructed EventTarget can be used as expected FAIL function is not a constructor (evaluating 'new EventTarget()')
EventTarget can be subclassed FAIL function is not a constructor (evaluating 'super(...arguments)')
/dom/events/EventTarget-constructible.any.worker.html
Subtest Results Messages
OK
A constructed EventTarget can be used as expected FAIL function is not a constructor (evaluating 'new EventTarget()')
EventTarget can be subclassed FAIL function is not a constructor (evaluating 'super(...arguments)')
/dom/interfaces.html
Subtest Results Messages
OK
Test driver FAIL Can't find variable: fetch
/fullscreen/interfaces.html
Subtest Results Messages
OK
Test driver FAIL Can't find variable: fetch
/html/dom/interfaces.html
Subtest Results Messages
OK
Test driver FAIL Can't find variable: fetch

@w3c-bots
Copy link

w3c-bots commented Jun 21, 2017

*This report has been truncated because the total content is 3000042 characters in length, which is in excess of GitHub.com's limit for comments (65536 characters).

View the complete job log.

Chrome (unstable)

Testing web-platform-tests at revision d547d0c
Using browser at version 61.0.3135.4 dev
Starting 10 test iterations
All results were stable

All results

6 tests ran
/XMLHttpRequest/interfaces.html
Subtest Results Messages
OK
Test driver PASS
XMLHttpRequestEventTarget interface: existence and properties of interface object PASS
XMLHttpRequestEventTarget interface object length PASS
XMLHttpRequestEventTarget interface object name PASS
XMLHttpRequestEventTarget interface: existence and properties of interface prototype object PASS
XMLHttpRequestEventTarget interface: existence and properties of interface prototype object's "constructor" property PASS
XMLHttpRequestEventTarget interface: attribute onloadstart PASS
XMLHttpRequestEventTarget interface: attribute onprogress PASS
XMLHttpRequestEventTarget interface: attribute onabort PASS
XMLHttpRequestEventTarget interface: attribute onerror PASS
XMLHttpRequestEventTarget interface: attribute onload PASS
XMLHttpRequestEventTarget interface: attribute ontimeout PASS
XMLHttpRequestEventTarget interface: attribute onloadend PASS
XMLHttpRequestUpload interface: existence and properties of interface object PASS
XMLHttpRequestUpload interface object length PASS
XMLHttpRequestUpload interface object name PASS
XMLHttpRequestUpload interface: existence and properties of interface prototype object PASS
XMLHttpRequestUpload interface: existence and properties of interface prototype object's "constructor" property PASS
XMLHttpRequestUpload must be primary interface of (new XMLHttpRequest()).upload PASS
Stringification of (new XMLHttpRequest()).upload PASS
XMLHttpRequestEventTarget interface: (new XMLHttpRequest()).upload must inherit property "onloadstart" with the proper type (0) PASS
XMLHttpRequestEventTarget interface: (new XMLHttpRequest()).upload must inherit property "onprogress" with the proper type (1) PASS
XMLHttpRequestEventTarget interface: (new XMLHttpRequest()).upload must inherit property "onabort" with the proper type (2) PASS
XMLHttpRequestEventTarget interface: (new XMLHttpRequest()).upload must inherit property "onerror" with the proper type (3) PASS
XMLHttpRequestEventTarget interface: (new XMLHttpRequest()).upload must inherit property "onload" with the proper type (4) PASS
XMLHttpRequestEventTarget interface: (new XMLHttpRequest()).upload must inherit property "ontimeout" with the proper type (5) PASS
XMLHttpRequestEventTarget interface: (new XMLHttpRequest()).upload must inherit property "onloadend" with the proper type (6) PASS
XMLHttpRequest interface: existence and properties of interface object PASS
XMLHttpRequest interface object length PASS
XMLHttpRequest interface object name PASS
XMLHttpRequest interface: existence and properties of interface prototype object PASS
XMLHttpRequest interface: existence and properties of interface prototype object's "constructor" property PASS
XMLHttpRequest interface: attribute onreadystatechange PASS
XMLHttpRequest interface: constant UNSENT on interface object PASS
XMLHttpRequest interface: constant UNSENT on interface prototype object PASS
XMLHttpRequest interface: constant OPENED on interface object PASS
XMLHttpRequest interface: constant OPENED on interface prototype object PASS
XMLHttpRequest interface: constant HEADERS_RECEIVED on interface object PASS
XMLHttpRequest interface: constant HEADERS_RECEIVED on interface prototype object PASS
XMLHttpRequest interface: constant LOADING on interface object PASS
XMLHttpRequest interface: constant LOADING on interface prototype object PASS
XMLHttpRequest interface: constant DONE on interface object PASS
XMLHttpRequest interface: constant DONE on interface prototype object PASS
XMLHttpRequest interface: attribute readyState PASS
XMLHttpRequest interface: operation open(ByteString,USVString) PASS
XMLHttpRequest interface: operation open(ByteString,USVString,boolean,USVString,USVString) PASS
XMLHttpRequest interface: operation setRequestHeader(ByteString,ByteString) PASS
XMLHttpRequest interface: attribute timeout PASS
XMLHttpRequest interface: attribute withCredentials PASS
XMLHttpRequest interface: attribute upload PASS
XMLHttpRequest interface: operation send([object Object],[object Object]) PASS
XMLHttpRequest interface: operation abort() PASS
XMLHttpRequest interface: attribute responseURL PASS
XMLHttpRequest interface: attribute status PASS
XMLHttpRequest interface: attribute statusText PASS
XMLHttpRequest interface: operation getResponseHeader(ByteString) PASS
XMLHttpRequest interface: operation getAllResponseHeaders() PASS
XMLHttpRequest interface: operation overrideMimeType(DOMString) PASS
XMLHttpRequest interface: attribute responseType PASS
XMLHttpRequest interface: attribute response PASS
XMLHttpRequest interface: attribute responseText PASS
XMLHttpRequest interface: attribute responseXML PASS
XMLHttpRequest must be primary interface of new XMLHttpRequest() PASS
Stringification of new XMLHttpRequest() PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "onreadystatechange" with the proper type (0) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "UNSENT" with the proper type (1) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "OPENED" with the proper type (2) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "HEADERS_RECEIVED" with the proper type (3) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "LOADING" with the proper type (4) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "DONE" with the proper type (5) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "readyState" with the proper type (6) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "open" with the proper type (7) PASS
XMLHttpRequest interface: calling open(ByteString,USVString) on new XMLHttpRequest() with too few arguments must throw TypeError PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "open" with the proper type (8) PASS
XMLHttpRequest interface: calling open(ByteString,USVString,boolean,USVString,USVString) on new XMLHttpRequest() with too few arguments must throw TypeError PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "setRequestHeader" with the proper type (9) PASS
XMLHttpRequest interface: calling setRequestHeader(ByteString,ByteString) on new XMLHttpRequest() with too few arguments must throw TypeError PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "timeout" with the proper type (10) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "withCredentials" with the proper type (11) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "upload" with the proper type (12) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "send" with the proper type (13) PASS
XMLHttpRequest interface: calling send([object Object],[object Object]) on new XMLHttpRequest() with too few arguments must throw TypeError PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "abort" with the proper type (14) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "responseURL" with the proper type (15) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "status" with the proper type (16) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "statusText" with the proper type (17) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "getResponseHeader" with the proper type (18) PASS
XMLHttpRequest interface: calling getResponseHeader(ByteString) on new XMLHttpRequest() with too few arguments must throw TypeError PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "getAllResponseHeaders" with the proper type (19) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "overrideMimeType" with the proper type (20) PASS
XMLHttpRequest interface: calling overrideMimeType(DOMString) on new XMLHttpRequest() with too few arguments must throw TypeError PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "responseType" with the proper type (21) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "response" with the proper type (22) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "responseText" with the proper type (23) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "responseXML" with the proper type (24) PASS
XMLHttpRequestEventTarget interface: new XMLHttpRequest() must inherit property "onloadstart" with the proper type (0) PASS
XMLHttpRequestEventTarget interface: new XMLHttpRequest() must inherit property "onprogress" with the proper type (1) PASS
XMLHttpRequestEventTarget interface: new XMLHttpRequest() must inherit property "onabort" with the proper type (2) PASS
XMLHttpRequestEventTarget interface: new XMLHttpRequest() must inherit property "onerror" with the proper type (3) PASS
XMLHttpRequestEventTarget interface: new XMLHttpRequest() must inherit property "onload" with the proper type (4) PASS
XMLHttpRequestEventTarget interface: new XMLHttpRequest() must inherit property "ontimeout" with the proper type (5) PASS
XMLHttpRequestEventTarget interface: new XMLHttpRequest() must inherit property "onloadend" with the proper type (6) PASS
FormData interface: existence and properties of interface object PASS
FormData interface object length PASS
FormData interface object name PASS
FormData interface: existence and properties of interface prototype object PASS
FormData interface: existence and properties of interface prototype object's "constructor" property PASS
FormData interface: operation append(USVString,Blob,USVString) PASS
FormData interface: operation append(USVString,USVString) PASS
FormData interface: operation delete(USVString) PASS
FormData interface: operation get(USVString) PASS
FormData interface: operation getAll(USVString) PASS
FormData interface: operation has(USVString) PASS
FormData interface: operation set(USVString,Blob,USVString) PASS
FormData interface: operation set(USVString,USVString) PASS
FormData must be primary interface of new FormData() PASS
Stringification of new FormData() PASS
FormData interface: new FormData() must inherit property "append" with the proper type (0) PASS
FormData interface: calling append(USVString,Blob,USVString) on new FormData() with too few arguments must throw TypeError PASS
FormData interface: new FormData() must inherit property "append" with the proper type (1) PASS
FormData interface: calling append(USVString,USVString) on new FormData() with too few arguments must throw TypeError PASS
FormData interface: new FormData() must inherit property "delete" with the proper type (2) PASS
FormData interface: calling delete(USVString) on new FormData() with too few arguments must throw TypeError PASS
FormData interface: new FormData() must inherit property "get" with the proper type (3) PASS
FormData interface: calling get(USVString) on new FormData() with too few arguments must throw TypeError PASS
FormData interface: new FormData() must inherit property "getAll" with the proper type (4) PASS
FormData interface: calling getAll(USVString) on new FormData() with too few arguments must throw TypeError PASS
FormData interface: new FormData() must inherit property "has" with the proper type (5) PASS
FormData interface: calling has(USVString) on new FormData() with too few arguments must throw TypeError PASS
FormData interface: new FormData() must inherit property "set" with the proper type (6) PASS
FormData interface: calling set(USVString,Blob,USVString) on new FormData() with too few arguments must throw TypeError PASS
FormData interface: new FormData() must inherit property "set" with the proper type (7) PASS
FormData interface: calling set(USVString,USVString) on new FormData() with too few arguments must throw TypeError PASS
FormData must be primary interface of new FormData(form) PASS
Stringification of new FormData(form) PASS
FormData interface: new FormData(form) must inherit property "append" with the proper type (0) PASS
FormData interface: calling append(USVString,Blob,USVString) on new FormData(form) with too few arguments must throw TypeError PASS
FormData interface: new FormData(form) must inherit property "append" with the proper type (1) PASS
FormData interface: calling append(USVString,USVString) on new FormData(form) with too few arguments must throw TypeError PASS
FormData interface: new FormData(form) must inherit property "delete" with the proper type (2) PASS
FormData interface: calling delete(USVString) on new FormData(form) with too few arguments must throw TypeError PASS
FormData interface: new FormData(form) must inherit property "get" with the proper type (3) PASS
FormData interface: calling get(USVString) on new FormData(form) with too few arguments must throw TypeError PASS
FormData interface: new FormData(form) must inherit property "getAll" with the proper type (4) PASS
FormData interface: calling getAll(USVString) on new FormData(form) with too few arguments must throw TypeError PASS
FormData interface: new FormData(form) must inherit property "has" with the proper type (5) PASS
FormData interface: calling has(USVString) on new FormData(form) with too few arguments must throw TypeError PASS
FormData interface: new FormData(form) must inherit property "set" with the proper type (6) PASS
FormData interface: calling set(USVString,Blob,USVString) on new FormData(form) with too few arguments must throw TypeError PASS
FormData interface: new FormData(form) must inherit property "set" with the proper type (7) PASS
FormData interface: calling set(USVString,USVString) on new FormData(form) with too few arguments must throw TypeError PASS
ProgressEvent interface: existence and properties of interface object PASS
ProgressEvent interface object length PASS
ProgressEvent interface object name PASS
ProgressEvent interface: existence and properties of interface prototype object PASS
ProgressEvent interface: existence and properties of interface prototype object's "constructor" property PASS
ProgressEvent interface: attribute lengthComputable PASS
ProgressEvent interface: attribute loaded PASS
ProgressEvent interface: attribute total PASS
/dom/events/EventTarget-constructible.any.html
Subtest Results Messages
OK
A constructed EventTarget can be used as expected FAIL Illegal constructor
EventTarget can be subclassed FAIL Illegal constructor
/dom/events/EventTarget-constructible.any.worker.html
Subtest Results Messages
OK
A constructed EventTarget can be used as expected FAIL Illegal constructor
EventTarget can be subclassed FAIL Illegal constructor
/dom/interfaces.html
Subtest Results Messages
OK
Test driver PASS
Event interface: existence and properties of interface object PASS
Event interface object length PASS
Event interface object name PASS
Event interface: existence and properties of interface prototype object PASS
Event interface: existence and properties of interface prototype object's "constructor" property PASS
Event interface: attribute type PASS
Event interface: attribute target PASS
Event interface: attribute currentTarget PASS
Event interface: constant NONE on interface object PASS
Event interface: constant NONE on interface prototype object PASS
Event interface: constant CAPTURING_PHASE on interface object PASS
Event interface: constant CAPTURING_PHASE on interface prototype object PASS
Event interface: constant AT_TARGET on interface object PASS
Event interface: constant AT_TARGET on interface prototype object PASS
Event interface: constant BUBBLING_PHASE on interface object PASS
Event interface: constant BUBBLING_PHASE on interface prototype object PASS
Event interface: attribute eventPhase PASS
Event interface: operation stopPropagation() PASS
Event interface: operation stopImmediatePropagation() PASS
Event interface: attribute bubbles PASS
Event interface: attribute cancelable PASS
Event interface: operation preventDefault() PASS
Event interface: attribute defaultPrevented PASS
Event interface: attribute timeStamp PASS
Event interface: operation initEvent(DOMString,boolean,boolean) PASS
Event must be primary interface of document.createEvent("Event") PASS
Stringification of document.createEvent("Event") PASS
Event interface: document.createEvent("Event") must inherit property "type" with the proper type (0) PASS
Event interface: document.createEvent("Event") must inherit property "target" with the proper type (1) PASS
Event interface: document.createEvent("Event") must inherit property "currentTarget" with the proper type (2) PASS
Event interface: document.createEvent("Event") must inherit property "NONE" with the proper type (3) PASS
Event interface: document.createEvent("Event") must inherit property "CAPTURING_PHASE" with the proper type (4) PASS
Event interface: document.createEvent("Event") must inherit property "AT_TARGET" with the proper type (5) PASS
Event interface: document.createEvent("Event") must inherit property "BUBBLING_PHASE" with the proper type (6) PASS
Event interface: document.createEvent("Event") must inherit property "eventPhase" with the proper type (7) PASS
Event interface: document.createEvent("Event") must inherit property "stopPropagation" with the proper type (8) PASS
Event interface: document.createEvent("Event") must inherit property "stopImmediatePropagation" with the proper type (9) PASS
Event interface: document.createEvent("Event") must inherit property "bubbles" with the proper type (10) PASS
Event interface: document.createEvent("Event") must inherit property "cancelable" with the proper type (11) PASS
Event interface: document.createEvent("Event") must inherit property "preventDefault" with the proper type (12) PASS
Event interface: document.createEvent("Event") must inherit property "defaultPrevented" with the proper type (13) PASS
Event interface: document.createEvent("Event") must have own property "isTrusted" PASS
Event interface: document.createEvent("Event") must inherit property "timeStamp" with the proper type (15) PASS
Event interface: document.createEvent("Event") must inherit property "initEvent" with the proper type (16) PASS
Event interface: calling initEvent(DOMString,boolean,boolean) on document.createEvent("Event") with too few arguments must throw TypeError PASS
Event must be primary interface of new Event("foo") PASS
Stringification of new Event("foo") PASS
Event interface: new Event("foo") must inherit property "type" with the proper type (0) PASS
Event interface: new Event("foo") must inherit property "target" with the proper type (1) PASS
Event interface: new Event("foo") must inherit property "currentTarget" with the proper type (2) PASS
Event interface: new Event("foo") must inherit property "NONE" with the proper type (3) PASS
Event interface: new Event("foo") must inherit property "CAPTURING_PHASE" with the proper type (4) PASS
Event interface: new Event("foo") must inherit property "AT_TARGET" with the proper type (5) PASS
Event interface: new Event("foo") must inherit property "BUBBLING_PHASE" with the proper type (6) PASS
Event interface: new Event("foo") must inherit property "eventPhase" with the proper type (7) PASS
Event interface: new Event("foo") must inherit property "stopPropagation" with the proper type (8) PASS
Event interface: new Event("foo") must inherit property "stopImmediatePropagation" with the proper type (9) PASS
Event interface: new Event("foo") must inherit property "bubbles" with the proper type (10) PASS
Event interface: new Event("foo") must inherit property "cancelable" with the proper type (11) PASS
Event interface: new Event("foo") must inherit property "preventDefault" with the proper type (12) PASS
Event interface: new Event("foo") must inherit property "defaultPrevented" with the proper type (13) PASS
Event interface: new Event("foo") must have own property "isTrusted" PASS
Event interface: new Event("foo") must inherit property "timeStamp" with the proper type (15) PASS
Event interface: new Event("foo") must inherit property "initEvent" with the proper type (16) PASS
Event interface: calling initEvent(DOMString,boolean,boolean) on new Event("foo") with too few arguments must throw TypeError PASS
CustomEvent interface: existence and properties of interface object PASS
CustomEvent interface object length PASS
CustomEvent interface object name PASS
CustomEvent interface: existence and properties of interface prototype object PASS
CustomEvent interface: existence and properties of interface prototype object's "constructor" property PASS
CustomEvent interface: attribute detail PASS
CustomEvent interface: operation initCustomEvent(DOMString,boolean,boolean,any) PASS
CustomEvent must be primary interface of new CustomEvent("foo") PASS
Stringification of new CustomEvent("foo") PASS
CustomEvent interface: new CustomEvent("foo") must inherit property "detail" with the proper type (0) PASS
CustomEvent interface: new CustomEvent("foo") must inherit property "initCustomEvent" with the proper type (1) PASS
CustomEvent interface: calling initCustomEvent(DOMString,boolean,boolean,any) on new CustomEvent("foo") with too few arguments must throw TypeError PASS
Event interface: new CustomEvent("foo") must inherit property "type" with the proper type (0) PASS
Event interface: new CustomEvent("foo") must inherit property "target" with the proper type (1) PASS
Event interface: new CustomEvent("foo") must inherit property "currentTarget" with the proper type (2) PASS
Event interface: new CustomEvent("foo") must inherit property "NONE" with the proper type (3) PASS
Event interface: new CustomEvent("foo") must inherit property "CAPTURING_PHASE" with the proper type (4) PASS
Event interface: new CustomEvent("foo") must inherit property "AT_TARGET" with the proper type (5) PASS
Event interface: new CustomEvent("foo") must inherit property "BUBBLING_PHASE" with the proper type (6) PASS
Event interface: new CustomEvent("foo") must inherit property "eventPhase" with the proper type (7) PASS
Event interface: new CustomEvent("foo") must inherit property "stopPropagation" with the proper type (8) PASS
Event interface: new CustomEvent("foo") must inherit property "stopImmediatePropagation" with the proper type (9) PASS
Event interface: new CustomEvent("foo") must inherit property "bubbles" with the proper type (10) PASS
Event interface: new CustomEvent("foo") must inherit property "cancelable" with the proper type (11) PASS
Event interface: new CustomEvent("foo") must inherit property "preventDefault" with the proper type (12) PASS
Event interface: new CustomEvent("foo") must inherit property "defaultPrevented" with the proper type (13) PASS
Event interface: new CustomEvent("foo") must have own property "isTrusted" PASS
Event interface: new CustomEvent("foo") must inherit property "timeStamp" with the proper type (15) PASS
Event interface: new CustomEvent("foo") must inherit property "initEvent" with the proper type (16)

@w3c-bots
Copy link

w3c-bots commented Jun 21, 2017

*This report has been truncated because the total content is 2836552 characters in length, which is in excess of GitHub.com's limit for comments (65536 characters).

View the complete job log.

Sauce (MicrosoftEdge)

Testing web-platform-tests at revision d547d0c
Using browser at version 14.14393
Starting 10 test iterations
All results were stable

All results

6 tests ran
/XMLHttpRequest/interfaces.html
Subtest Results Messages
OK
Test driver PASS
XMLHttpRequestEventTarget interface: existence and properties of interface object FAIL assert_own_property: self does not have own property "XMLHttpRequestEventTarget" expected property "XMLHttpRequestEventTarget" missing
XMLHttpRequestEventTarget interface object length FAIL assert_own_property: self does not have own property "XMLHttpRequestEventTarget" expected property "XMLHttpRequestEventTarget" missing
XMLHttpRequestEventTarget interface object name FAIL assert_own_property: self does not have own property "XMLHttpRequestEventTarget" expected property "XMLHttpRequestEventTarget" missing
XMLHttpRequestEventTarget interface: existence and properties of interface prototype object FAIL assert_own_property: self does not have own property "XMLHttpRequestEventTarget" expected property "XMLHttpRequestEventTarget" missing
XMLHttpRequestEventTarget interface: existence and properties of interface prototype object's "constructor" property FAIL assert_own_property: self does not have own property "XMLHttpRequestEventTarget" expected property "XMLHttpRequestEventTarget" missing
XMLHttpRequestEventTarget interface: attribute onloadstart FAIL assert_own_property: self does not have own property "XMLHttpRequestEventTarget" expected property "XMLHttpRequestEventTarget" missing
XMLHttpRequestEventTarget interface: attribute onprogress FAIL assert_own_property: self does not have own property "XMLHttpRequestEventTarget" expected property "XMLHttpRequestEventTarget" missing
XMLHttpRequestEventTarget interface: attribute onabort FAIL assert_own_property: self does not have own property "XMLHttpRequestEventTarget" expected property "XMLHttpRequestEventTarget" missing
XMLHttpRequestEventTarget interface: attribute onerror FAIL assert_own_property: self does not have own property "XMLHttpRequestEventTarget" expected property "XMLHttpRequestEventTarget" missing
XMLHttpRequestEventTarget interface: attribute onload FAIL assert_own_property: self does not have own property "XMLHttpRequestEventTarget" expected property "XMLHttpRequestEventTarget" missing
XMLHttpRequestEventTarget interface: attribute ontimeout FAIL assert_own_property: self does not have own property "XMLHttpRequestEventTarget" expected property "XMLHttpRequestEventTarget" missing
XMLHttpRequestEventTarget interface: attribute onloadend FAIL assert_own_property: self does not have own property "XMLHttpRequestEventTarget" expected property "XMLHttpRequestEventTarget" missing
XMLHttpRequestUpload interface: existence and properties of interface object FAIL assert_own_property: should inherit from XMLHttpRequestEventTarget, but self has no such property expected property "XMLHttpRequestEventTarget" missing
XMLHttpRequestUpload interface object length FAIL assert_own_property: expected property "length" missing
XMLHttpRequestUpload interface object name PASS
XMLHttpRequestUpload interface: existence and properties of interface prototype object FAIL assert_own_property: should inherit from XMLHttpRequestEventTarget, but self has no such property expected property "XMLHttpRequestEventTarget" missing
XMLHttpRequestUpload interface: existence and properties of interface prototype object's "constructor" property PASS
XMLHttpRequestUpload must be primary interface of (new XMLHttpRequest()).upload PASS
Stringification of (new XMLHttpRequest()).upload PASS
XMLHttpRequestEventTarget interface: (new XMLHttpRequest()).upload must inherit property "onloadstart" with the proper type (0) PASS
XMLHttpRequestEventTarget interface: (new XMLHttpRequest()).upload must inherit property "onprogress" with the proper type (1) PASS
XMLHttpRequestEventTarget interface: (new XMLHttpRequest()).upload must inherit property "onabort" with the proper type (2) PASS
XMLHttpRequestEventTarget interface: (new XMLHttpRequest()).upload must inherit property "onerror" with the proper type (3) PASS
XMLHttpRequestEventTarget interface: (new XMLHttpRequest()).upload must inherit property "onload" with the proper type (4) PASS
XMLHttpRequestEventTarget interface: (new XMLHttpRequest()).upload must inherit property "ontimeout" with the proper type (5) PASS
XMLHttpRequestEventTarget interface: (new XMLHttpRequest()).upload must inherit property "onloadend" with the proper type (6) PASS
XMLHttpRequest interface: existence and properties of interface object FAIL assert_own_property: should inherit from XMLHttpRequestEventTarget, but self has no such property expected property "XMLHttpRequestEventTarget" missing
XMLHttpRequest interface object length FAIL assert_own_property: expected property "length" missing
XMLHttpRequest interface object name PASS
XMLHttpRequest interface: existence and properties of interface prototype object FAIL assert_own_property: should inherit from XMLHttpRequestEventTarget, but self has no such property expected property "XMLHttpRequestEventTarget" missing
XMLHttpRequest interface: existence and properties of interface prototype object's "constructor" property PASS
XMLHttpRequest interface: attribute onreadystatechange FAIL assert_equals: setter length must be 1 expected 1 but got 0
XMLHttpRequest interface: constant UNSENT on interface object PASS
XMLHttpRequest interface: constant UNSENT on interface prototype object PASS
XMLHttpRequest interface: constant OPENED on interface object PASS
XMLHttpRequest interface: constant OPENED on interface prototype object PASS
XMLHttpRequest interface: constant HEADERS_RECEIVED on interface object PASS
XMLHttpRequest interface: constant HEADERS_RECEIVED on interface prototype object PASS
XMLHttpRequest interface: constant LOADING on interface object PASS
XMLHttpRequest interface: constant LOADING on interface prototype object PASS
XMLHttpRequest interface: constant DONE on interface object PASS
XMLHttpRequest interface: constant DONE on interface prototype object PASS
XMLHttpRequest interface: attribute readyState PASS
XMLHttpRequest interface: operation open(ByteString,USVString) FAIL assert_equals: property has wrong .length expected 2 but got 0
XMLHttpRequest interface: operation open(ByteString,USVString,boolean,USVString,USVString) FAIL assert_equals: property has wrong .length expected 2 but got 0
XMLHttpRequest interface: operation setRequestHeader(ByteString,ByteString) FAIL assert_equals: property has wrong .length expected 2 but got 0
XMLHttpRequest interface: attribute timeout FAIL assert_equals: setter length must be 1 expected 1 but got 0
XMLHttpRequest interface: attribute withCredentials FAIL assert_equals: setter length must be 1 expected 1 but got 0
XMLHttpRequest interface: attribute upload PASS
XMLHttpRequest interface: operation send([object Object],[object Object]) PASS
XMLHttpRequest interface: operation abort() PASS
XMLHttpRequest interface: attribute responseURL PASS
XMLHttpRequest interface: attribute status PASS
XMLHttpRequest interface: attribute statusText PASS
XMLHttpRequest interface: operation getResponseHeader(ByteString) FAIL assert_equals: property has wrong .length expected 1 but got 0
XMLHttpRequest interface: operation getAllResponseHeaders() PASS
XMLHttpRequest interface: operation overrideMimeType(DOMString) FAIL assert_equals: property has wrong .length expected 1 but got 0
XMLHttpRequest interface: attribute responseType FAIL assert_equals: setter length must be 1 expected 1 but got 0
XMLHttpRequest interface: attribute response PASS
XMLHttpRequest interface: attribute responseText PASS
XMLHttpRequest interface: attribute responseXML PASS
XMLHttpRequest must be primary interface of new XMLHttpRequest() PASS
Stringification of new XMLHttpRequest() PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "onreadystatechange" with the proper type (0) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "UNSENT" with the proper type (1) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "OPENED" with the proper type (2) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "HEADERS_RECEIVED" with the proper type (3) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "LOADING" with the proper type (4) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "DONE" with the proper type (5) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "readyState" with the proper type (6) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "open" with the proper type (7) PASS
XMLHttpRequest interface: calling open(ByteString,USVString) on new XMLHttpRequest() with too few arguments must throw TypeError PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "open" with the proper type (8) PASS
XMLHttpRequest interface: calling open(ByteString,USVString,boolean,USVString,USVString) on new XMLHttpRequest() with too few arguments must throw TypeError PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "setRequestHeader" with the proper type (9) PASS
XMLHttpRequest interface: calling setRequestHeader(ByteString,ByteString) on new XMLHttpRequest() with too few arguments must throw TypeError PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "timeout" with the proper type (10) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "withCredentials" with the proper type (11) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "upload" with the proper type (12) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "send" with the proper type (13) PASS
XMLHttpRequest interface: calling send([object Object],[object Object]) on new XMLHttpRequest() with too few arguments must throw TypeError PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "abort" with the proper type (14) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "responseURL" with the proper type (15) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "status" with the proper type (16) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "statusText" with the proper type (17) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "getResponseHeader" with the proper type (18) PASS
XMLHttpRequest interface: calling getResponseHeader(ByteString) on new XMLHttpRequest() with too few arguments must throw TypeError PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "getAllResponseHeaders" with the proper type (19) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "overrideMimeType" with the proper type (20) PASS
XMLHttpRequest interface: calling overrideMimeType(DOMString) on new XMLHttpRequest() with too few arguments must throw TypeError PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "responseType" with the proper type (21) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "response" with the proper type (22) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "responseText" with the proper type (23) PASS
XMLHttpRequest interface: new XMLHttpRequest() must inherit property "responseXML" with the proper type (24) PASS
XMLHttpRequestEventTarget interface: new XMLHttpRequest() must inherit property "onloadstart" with the proper type (0) PASS
XMLHttpRequestEventTarget interface: new XMLHttpRequest() must inherit property "onprogress" with the proper type (1) PASS
XMLHttpRequestEventTarget interface: new XMLHttpRequest() must inherit property "onabort" with the proper type (2) PASS
XMLHttpRequestEventTarget interface: new XMLHttpRequest() must inherit property "onerror" with the proper type (3) PASS
XMLHttpRequestEventTarget interface: new XMLHttpRequest() must inherit property "onload" with the proper type (4) PASS
XMLHttpRequestEventTarget interface: new XMLHttpRequest() must inherit property "ontimeout" with the proper type (5) PASS
XMLHttpRequestEventTarget interface: new XMLHttpRequest() must inherit property "onloadend" with the proper type (6) PASS
FormData interface: existence and properties of interface object PASS
FormData interface object length FAIL assert_own_property: expected property "length" missing
FormData interface object name PASS
FormData interface: existence and properties of interface prototype object PASS
FormData interface: existence and properties of interface prototype object's "constructor" property PASS
FormData interface: operation append(USVString,Blob,USVString) FAIL assert_equals: property has wrong .length expected 2 but got 0
FormData interface: operation append(USVString,USVString) FAIL assert_equals: property has wrong .length expected 2 but got 0
FormData interface: operation delete(USVString) FAIL assert_own_property: interface prototype object missing non-static operation expected property "delete" missing
FormData interface: operation get(USVString) FAIL assert_own_property: interface prototype object missing non-static operation expected property "get" missing
FormData interface: operation getAll(USVString) FAIL assert_own_property: interface prototype object missing non-static operation expected property "getAll" missing
FormData interface: operation has(USVString) FAIL assert_own_property: interface prototype object missing non-static operation expected property "has" missing
FormData interface: operation set(USVString,Blob,USVString) FAIL assert_own_property: interface prototype object missing non-static operation expected property "set" missing
FormData interface: operation set(USVString,USVString) FAIL assert_own_property: interface prototype object missing non-static operation expected property "set" missing
FormData must be primary interface of new FormData() PASS
Stringification of new FormData() PASS
FormData interface: new FormData() must inherit property "append" with the proper type (0) PASS
FormData interface: calling append(USVString,Blob,USVString) on new FormData() with too few arguments must throw TypeError PASS
FormData interface: new FormData() must inherit property "append" with the proper type (1) PASS
FormData interface: calling append(USVString,USVString) on new FormData() with too few arguments must throw TypeError PASS
FormData interface: new FormData() must inherit property "delete" with the proper type (2) FAIL assert_inherits: property "delete" not found in prototype chain
FormData interface: calling delete(USVString) on new FormData() with too few arguments must throw TypeError FAIL assert_inherits: property "delete" not found in prototype chain
FormData interface: new FormData() must inherit property "get" with the proper type (3) FAIL assert_inherits: property "get" not found in prototype chain
FormData interface: calling get(USVString) on new FormData() with too few arguments must throw TypeError FAIL assert_inherits: property "get" not found in prototype chain
FormData interface: new FormData() must inherit property "getAll" with the proper type (4) FAIL assert_inherits: property "getAll" not found in prototype chain
FormData interface: calling getAll(USVString) on new FormData() with too few arguments must throw TypeError FAIL assert_inherits: property "getAll" not found in prototype chain
FormData interface: new FormData() must inherit property "has" with the proper type (5) FAIL assert_inherits: property "has" not found in prototype chain
FormData interface: calling has(USVString) on new FormData() with too few arguments must throw TypeError FAIL assert_inherits: property "has" not found in prototype chain
FormData interface: new FormData() must inherit property "set" with the proper type (6) FAIL assert_inherits: property "set" not found in prototype chain
FormData interface: calling set(USVString,Blob,USVString) on new FormData() with too few arguments must throw TypeError FAIL assert_inherits: property "set" not found in prototype chain
FormData interface: new FormData() must inherit property "set" with the proper type (7) FAIL assert_inherits: property "set" not found in prototype chain
FormData interface: calling set(USVString,USVString) on new FormData() with too few arguments must throw TypeError FAIL assert_inherits: property "set" not found in prototype chain
FormData must be primary interface of new FormData(form) PASS
Stringification of new FormData(form) PASS
FormData interface: new FormData(form) must inherit property "append" with the proper type (0) PASS
FormData interface: calling append(USVString,Blob,USVString) on new FormData(form) with too few arguments must throw TypeError PASS
FormData interface: new FormData(form) must inherit property "append" with the proper type (1) PASS
FormData interface: calling append(USVString,USVString) on new FormData(form) with too few arguments must throw TypeError PASS
FormData interface: new FormData(form) must inherit property "delete" with the proper type (2) FAIL assert_inherits: property "delete" not found in prototype chain
FormData interface: calling delete(USVString) on new FormData(form) with too few arguments must throw TypeError FAIL assert_inherits: property "delete" not found in prototype chain
FormData interface: new FormData(form) must inherit property "get" with the proper type (3) FAIL assert_inherits: property "get" not found in prototype chain
FormData interface: calling get(USVString) on new FormData(form) with too few arguments must throw TypeError FAIL assert_inherits: property "get" not found in prototype chain
FormData interface: new FormData(form) must inherit property "getAll" with the proper type (4) FAIL assert_inherits: property "getAll" not found in prototype chain
FormData interface: calling getAll(USVString) on new FormData(form) with too few arguments must throw TypeError FAIL assert_inherits: property "getAll" not found in prototype chain
FormData interface: new FormData(form) must inherit property "has" with the proper type (5) FAIL assert_inherits: property "has" not found in prototype chain
FormData interface: calling has(USVString) on new FormData(form) with too few arguments must throw TypeError FAIL assert_inherits: property "has" not found in prototype chain
FormData interface: new FormData(form) must inherit property "set" with the proper type (6) FAIL assert_inherits: property "set" not found in prototype chain
FormData interface: calling set(USVString,Blob,USVString) on new FormData(form) with too few arguments must throw TypeError FAIL assert_inherits: property "set" not found in prototype chain
FormData interface: new FormData(form) must inherit property "set" with the proper type (7) FAIL assert_inherits: property "set" not found in prototype chain
FormData interface: calling set(USVString,USVString) on new FormData(form) with too few arguments must throw TypeError FAIL assert_inherits: property "set" not found in prototype chain
ProgressEvent interface: existence and properties of interface object FAIL assert_equals: prototype of ProgressEvent is not Event expected function "function Event() { [native code] }" but got function "\nfunction() {\n [native code]\n}\n"
ProgressEvent interface object length FAIL assert_own_property: expected property "length" missing
ProgressEvent interface object name PASS
ProgressEvent interface: existence and properties of interface prototype object PASS
ProgressEvent interface: existence and properties of interface prototype object's "constructor" property PASS
ProgressEvent interface: attribute lengthComputable PASS
ProgressEvent interface: attribute loaded PASS
ProgressEvent interface: attribute total PASS
/dom/events/EventTarget-constructible.any.html
Subtest Results Messages
OK
A constructed EventTarget can be used as expected FAIL Function expected
EventTarget can be subclassed FAIL Function expected
/dom/events/EventTarget-constructible.any.worker.html
Subtest Results Messages
OK
A constructed EventTarget can be used as expected FAIL Function expected
EventTarget can be subclassed FAIL Function expected
/dom/interfaces.html
Subtest Results Messages
OK
Test driver PASS
Event interface: existence and properties of interface object PASS
Event interface object length FAIL assert_own_property: expected property "length" missing
Event interface object name PASS
Event interface: existence and properties of interface prototype object PASS
Event interface: existence and properties of interface prototype object's "constructor" property PASS
Event interface: attribute type PASS
Event interface: attribute target PASS
Event interface: attribute currentTarget PASS
Event interface: constant NONE on interface object FAIL assert_own_property: expected property "NONE" missing
Event interface: constant NONE on interface prototype object FAIL assert_own_property: expected property "NONE" missing
Event interface: constant CAPTURING_PHASE on interface object PASS
Event interface: constant CAPTURING_PHASE on interface prototype object PASS
Event interface: constant AT_TARGET on interface object PASS
Event interface: constant AT_TARGET on interface prototype object


target.on("foo", listener);

target.dispatch("foo", detail);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

detail is not declared anywhere?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, fixed. Hard to write tests without anything to test against.

@@ -44,7 +44,7 @@ dictionary CustomEventInit : EventInit {
};


//[Exposed=(Window,Worker)]
[Constructor/*, Exposed=(Window,Worker)*/]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are you sure this still needs to be commented out?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nope. But, I figured it was best to stay consistent, and if someone wanted to go through and update that file en masse, they could.

@domenic domenic merged commit ffc315c into master Jul 7, 2017
@domenic domenic deleted the constructible-eventtarget branch July 7, 2017 18:55
@bzbarsky
Copy link
Contributor

For what it's worth, the following files need to be fixed to have tests not fail in a UA that implements constructible EventTarget:

eventsource/interfaces.html
interfaces/dedicated-workers.idl
service-workers/service-worker/resources/interfaces-idls.js
webrtc/RTCPeerConnection-idl.html

because they have an interface EventTarget without [Constructor] and the relevant tests don't put that part of the idl in the "don't test" bucket, so idlharness verifies things like non-constructibility.

I'll fix those files in https://bugzilla.mozilla.org/show_bug.cgi?id=1379688 if someone doesn't get to them first.

@domenic
Copy link
Member Author

domenic commented Nov 19, 2017

It looks like at least some of those are fixed; see e.g. https://github.com/w3c/web-platform-tests/blob/b0efb74111af13f7abf3b3b1860667f98746b07f/eventsource/interfaces.html#L12 . In fact I think all of them are fixed in master...

@bzbarsky
Copy link
Contributor

Ah, because the Blink folks ran into the same issue I did and synced their stuff back already, ok. ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants