Dispatch error events at the window object.

This commit is contained in:
Ms2ger 2016-08-27 16:17:37 +02:00
parent 92c3961743
commit ae38c53de7
737 changed files with 815 additions and 758 deletions

View file

@ -1,3 +1,3 @@
[cssstylerule.htm]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,3 +1,3 @@
[index-003.htm]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,3 +1,3 @@
[matchMedia.htm]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,3 +1,3 @@
[matchMedia.htm]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,3 +1,3 @@
[matchMediaAddListener.htm]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,5 +1,6 @@
[test_digest.html]
type: testharness
expected: ERROR
[SHA-1 with empty source data]
expected: FAIL

View file

@ -1,3 +1,3 @@
[test_aes_cbc.html]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,3 +1,3 @@
[test_aes_ctr.html]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,3 +1,3 @@
[test_aes_gcm.html]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,3 +1,3 @@
[test_rsa_oaep.html]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,6 +1,6 @@
[open-url-multi-window-6.htm]
type: testharness
expected: TIMEOUT
expected: ERROR
[XMLHttpRequest: open() in document that is not fully active (but may be active) should throw]
expected: NOTRUN

View file

@ -1,8 +0,0 @@
[Event-dispatch-throwing.html]
type: testharness
[Throwing in event listener with a single listeners]
expected: FAIL
[Throwing in event listener with multiple listeners]
expected: FAIL

View file

@ -1,6 +1,5 @@
[Element-getElementsByTagName-change-document-HTMLNess.html]
type: testharness
expected: TIMEOUT
[Untitled]
expected: NOTRUN
expected: FAIL

View file

@ -1,5 +1,6 @@
[request-cache.html]
type: testharness
expected: ERROR
[RequestCache "default" mode checks the cache for previously cached content and goes to the network for stale responses with Etag and stale response]
expected: FAIL

View file

@ -1,3 +1,3 @@
[request-clone.sub.html]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,5 +1,6 @@
[request-consume-empty.html]
type: testharness
expected: ERROR
[Consume request's body as text]
expected: FAIL

View file

@ -1,5 +1,6 @@
[request-consume.html]
type: testharness
expected: ERROR
[Consume request's body as text]
expected: FAIL

View file

@ -1,3 +1,3 @@
[request-disturbed.html]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,5 +1,6 @@
[request-init-002.html]
type: testharness
expected: ERROR
[Initialize Request with headers values]
expected: FAIL

View file

@ -1,3 +1,3 @@
[request-init-003.sub.html]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,5 +1,6 @@
[response-cancel-stream.html]
type: testharness
expected: ERROR
[Cancelling a starting blob Response stream]
expected: FAIL

View file

@ -1,3 +1,3 @@
[response-clone.html]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,5 +1,6 @@
[response-consume-empty.html]
type: testharness
expected: ERROR
[Consume response's body as text]
expected: FAIL

View file

@ -1,5 +1,6 @@
[response-consume-stream.html]
type: testharness
expected: ERROR
[Read empty text response's body as readableStream]
expected: FAIL

View file

@ -1,5 +1,6 @@
[response-consume.html]
type: testharness
expected: ERROR
[Consume response's body as text]
expected: FAIL

View file

@ -1,3 +1,3 @@
[response-init-001.html]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,5 +1,6 @@
[response-init-002.html]
type: testharness
expected: ERROR
[Initialize Response with headers values]
expected: FAIL

View file

@ -1,5 +1,6 @@
[response-stream-disturbed-1.html]
type: testharness
expected: ERROR
[Getting blob after getting the Response body - not disturbed, not locked]
expected: FAIL

View file

@ -1,5 +1,6 @@
[response-stream-disturbed-2.html]
type: testharness
expected: ERROR
[Getting blob after getting a locked Response body]
expected: FAIL

View file

@ -1,5 +1,6 @@
[response-stream-disturbed-3.html]
type: testharness
expected: ERROR
[Getting blob after reading the Response body]
expected: FAIL

View file

@ -1,5 +1,6 @@
[response-stream-disturbed-4.html]
type: testharness
expected: ERROR
[Getting blob after cancelling the Response body]
expected: FAIL

View file

@ -1,5 +1,6 @@
[response-stream-disturbed-5.html]
type: testharness
expected: ERROR
[Getting a body reader after consuming as blob]
expected: FAIL

View file

@ -1,3 +1,3 @@
[008.html]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,6 +1,6 @@
[001.html]
type: testharness
expected: TIMEOUT
expected: ERROR
[Session history length on initial load]
expected: NOTRUN

View file

@ -1,6 +1,6 @@
[002.html]
type: testharness
expected: TIMEOUT
expected: ERROR
[Session history length on initial load]
expected: NOTRUN

View file

@ -1,6 +1,6 @@
[allow_prototype_cycle_through_location.sub.html]
type: testharness
expected: TIMEOUT
expected: ERROR
[same-origin, same-window location cycle]
expected: FAIL

View file

@ -1,3 +1,3 @@
[reload_document_open_write.html]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,3 +1,3 @@
[reload_document_write.html]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,3 +1,3 @@
[reload_document_write_onload.html]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,3 +1,3 @@
[reload_post_1.html]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,6 +1,6 @@
[scripted_click_assign_during_load.html]
type: testharness
expected: TIMEOUT
expected: ERROR
[Assignment to location with click during load]
expected: NOTRUN

View file

@ -1,6 +1,6 @@
[scripted_click_location_assign_during_load.html]
type: testharness
expected: TIMEOUT
expected: ERROR
[location.assign with click during load]
expected: NOTRUN

View file

@ -1,6 +1,6 @@
[scripted_form_submit_assign_during_load.html]
type: testharness
expected: TIMEOUT
expected: ERROR
[Assignment to location with form submit during load]
expected: NOTRUN

View file

@ -1,3 +1,3 @@
[cross-origin-objects.sub.html]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,6 +1,6 @@
[close_beforeunload.html]
type: testharness
expected: TIMEOUT
expected: ERROR
[Running beforeunload handler in window.close()]
expected: NOTRUN

View file

@ -1,6 +1,6 @@
[close_unload.html]
type: testharness
expected: TIMEOUT
expected: ERROR
[Running unload handler in window.close()]
expected: NOTRUN

View file

@ -1,6 +1,6 @@
[discard_iframe_history_1.html]
type: testharness
expected: TIMEOUT
expected: ERROR
[Removing iframe from document removes it from history]
expected: NOTRUN

View file

@ -1,6 +1,6 @@
[discard_iframe_history_2.html]
type: testharness
expected: TIMEOUT
expected: ERROR
[Removing iframe from document via innerHTML removes it from history]
expected: NOTRUN

View file

@ -1,6 +1,6 @@
[discard_iframe_history_3.html]
type: testharness
expected: TIMEOUT
expected: ERROR
[Removing iframe from document removes it from history]
expected: NOTRUN

View file

@ -1,6 +1,6 @@
[discard_iframe_history_4.html]
type: testharness
expected: TIMEOUT
expected: ERROR
[Removing iframe from document removes it from history]
expected: NOTRUN

View file

@ -1,6 +1,6 @@
[browsing-context-choose-existing.html]
type: testharness
expected: TIMEOUT
expected: ERROR
[The browsing context must be chosen if the given name is same as its name]
expected: NOTRUN

View file

@ -1,9 +1,6 @@
[Document.currentScript.sub.html]
type: testharness
expected: TIMEOUT
[Script script-window-error]
expected: FAIL
[Script script-svg]
expected: NOTRUN

View file

@ -9002,3 +9002,4 @@
[Event interface: calling initEvent(DOMString,boolean,boolean) on new TrackEvent("addtrack", {track:document.createElement("track").track}) with too few arguments must throw TypeError]
expected: FAIL

View file

@ -1,6 +1,6 @@
[video_008.htm]
type: testharness
expected: TIMEOUT
expected: ERROR
[HTML5 Media Elements: 'media' attribute]
expected: NOTRUN

View file

@ -1,6 +1,6 @@
[iframe_sandbox_allow_script.html]
type: testharness
expected: TIMEOUT
expected: ERROR
[iframe_sandbox_allow_scripts]
expected: NOTRUN

View file

@ -1,3 +1,3 @@
[move_iframe_in_dom_01.html]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,3 +1,3 @@
[move_iframe_in_dom_02.html]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,3 +1,3 @@
[move_iframe_in_dom_04.html]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,5 +1,6 @@
[form-validation-checkValidity.html]
type: testharness
expected: ERROR
[[INPUT in TEXT status\] no constraint]
expected: FAIL

View file

@ -1,5 +1,6 @@
[form-validation-reportValidity.html]
type: testharness
expected: ERROR
[[INPUT in TEXT status\] no constraint]
expected: FAIL

View file

@ -1,5 +1,6 @@
[form-validation-validity-customError.html]
type: testharness
expected: ERROR
[[input\] The validity.customError must be true if the custom validity error message is not empty]
expected: FAIL

View file

@ -1,5 +1,6 @@
[form-validation-validity-valid.html]
type: testharness
expected: ERROR
[[INPUT in TEXT status\] validity.valid must be false if validity.tooLong is true]
expected: FAIL

View file

@ -1,5 +1,6 @@
[form-validation-validity-valueMissing.html]
type: testharness
expected: ERROR
[[INPUT in TEXT status\] The required attribute is not set]
expected: FAIL

View file

@ -1,5 +1,6 @@
[form-validation-willValidate.html]
type: testharness
expected: ERROR
[[INPUT in HIDDEN status\] Must be barred from the constraint validation]
expected: FAIL

View file

@ -1,7 +0,0 @@
[callback-exception.html]
type: testharness
expected: TIMEOUT
bug: https://github.com/servo/servo/issues/3311
[requestAnimationFrame callback exceptions are reported to error handler]
expected: TIMEOUT

View file

@ -0,0 +1,5 @@
[addEventListener.html]
type: testharness
[window.onerror - addEventListener]
expected: FAIL

View file

@ -1,5 +0,0 @@
[body-onerror-compile-error-data-url.html]
type: testharness
[<]
expected: FAIL

View file

@ -1,5 +0,0 @@
[body-onerror-compile-error.html]
type: testharness
[<]
expected: FAIL

View file

@ -1,5 +0,0 @@
[body-onerror-runtime-error.html]
type: testharness
[<]
expected: FAIL

View file

@ -1,8 +0,0 @@
[compile-error-data-url.html]
type: testharness
[window.onerror - compile error in ]
expected: FAIL
[window.onerror - compile error in <script src=data:...> (column)]
expected: FAIL

View file

@ -3,6 +3,3 @@
[window.onerror - compile error in setInterval]
expected: FAIL
[window.onerror - compile error in setInterval (column)]
expected: FAIL

View file

@ -3,6 +3,3 @@
[window.onerror - compile error in setTimeout]
expected: FAIL
[window.onerror - compile error in setTimeout (column)]
expected: FAIL

View file

@ -1,8 +0,0 @@
[compile-error-same-origin.html]
type: testharness
[window.onerror - compile error in ]
expected: FAIL
[window.onerror - compile error in <script src=...> (column)]
expected: FAIL

View file

@ -1,8 +0,0 @@
[compile-error.html]
type: testharness
[window.onerror - compile error in ]
expected: FAIL
[window.onerror - compile error in <script> (column)]
expected: FAIL

View file

@ -1,8 +0,0 @@
[runtime-error-data-url.html]
type: testharness
[window.onerror - runtime error in ]
expected: FAIL
[window.onerror - runtime error in <script src=data:...> (column)]
expected: FAIL

View file

@ -1,8 +0,0 @@
[runtime-error-in-attribute.html]
type: testharness
[window.onerror - runtime error in attribute]
expected: FAIL
[window.onerror - runtime error in attribute (column)]
expected: FAIL

View file

@ -1,5 +0,0 @@
[runtime-error-in-body-onerror.html]
type: testharness
[runtime error in ]
expected: FAIL

View file

@ -3,6 +3,3 @@
[window.onerror - runtime error in setInterval]
expected: FAIL
[window.onerror - runtime error in setInterval (column)]
expected: FAIL

View file

@ -3,6 +3,3 @@
[window.onerror - runtime error in setTimeout]
expected: FAIL
[window.onerror - runtime error in setTimeout (column)]
expected: FAIL

View file

@ -1,5 +0,0 @@
[runtime-error-in-window-onerror.html]
type: testharness
[runtime error in window.onerror]
expected: FAIL

View file

@ -1,8 +0,0 @@
[runtime-error-same-origin.html]
type: testharness
[window.onerror - runtime error in ]
expected: FAIL
[window.onerror - runtime error in <script src=...> (column)]
expected: FAIL

View file

@ -1,8 +0,0 @@
[runtime-error.html]
type: testharness
[window.onerror - runtime error in ]
expected: FAIL
[window.onerror - runtime error in <script> (column)]
expected: FAIL

View file

@ -1,5 +1,5 @@
[window-onerror-parse-error.html]
type: testharness
[correct number of calls to window.onerror]
[correct line number passed to window.onerror]
expected: FAIL

View file

@ -1,5 +0,0 @@
[window-onerror-runtime-error-throw.html]
type: testharness
[correct number of calls to window.onerror]
expected: FAIL

View file

@ -1,5 +1,5 @@
[window-onerror-runtime-error.html]
type: testharness
[correct number of calls to window.onerror]
[correct line number passed to window.onerror]
expected: FAIL

View file

@ -1,6 +1,6 @@
[evil-spec-example.html]
type: testharness
expected: TIMEOUT
expected: ERROR
[Interaction of setTimeout and WebIDL]
expected: NOTRUN

View file

@ -1,3 +1,3 @@
[test_document_open.html]
type: testharness
expected: TIMEOUT
expected: ERROR

View file

@ -1,5 +1,6 @@
[test_navigation_redirectCount_none.html]
type: testharness
expected: ERROR
[window.performance.navigation is defined]
expected: FAIL

View file

@ -1,6 +1,6 @@
[test_navigation_type_backforward.html]
type: testharness
expected: TIMEOUT
expected: ERROR
[window.performance.navigation is defined]
expected: FAIL

View file

@ -1,6 +1,6 @@
[test_navigation_type_reload.html]
type: testharness
expected: TIMEOUT
expected: ERROR
[window.performance.navigation is defined]
expected: FAIL

View file

@ -1,6 +1,6 @@
[test_no_previous_document.html]
type: testharness
expected: TIMEOUT
expected: ERROR
[window.performance.navigation is defined]
expected: FAIL

View file

@ -1,6 +1,6 @@
[test_timing_attributes_order.html]
type: testharness
expected: TIMEOUT
expected: ERROR
[window.performance.navigation is defined]
expected: FAIL

View file

@ -1,6 +1,6 @@
[test_timing_reload.html]
type: testharness
expected: TIMEOUT
expected: ERROR
[window.performance.navigation is defined]
expected: FAIL

View file

@ -1,5 +1,6 @@
[test_timing_server_redirect.html]
type: testharness
expected: ERROR
[window.performance.navigation is defined]
expected: FAIL

View file

@ -1,6 +1,6 @@
[test_timing_xserver_redirect.html]
type: testharness
expected: TIMEOUT
expected: ERROR
[window.performance.navigation is defined]
expected: FAIL

View file

@ -0,0 +1,3 @@
[test_unique_performance_objects.html]
type: testharness
expected: ERROR

View file

@ -1,5 +1,6 @@
[005.html]
type: testharness
expected: ERROR
[ scheduler: document.write inline in markup ]
expected: FAIL

View file

@ -1,5 +1,6 @@
[006.html]
type: testharness
expected: ERROR
[ scheduler: document.write inline - multiple]
expected: FAIL

View file

@ -1,5 +1,6 @@
[007.html]
type: testharness
expected: ERROR
[ scheduler: document.write external]
expected: FAIL

View file

@ -1,5 +1,6 @@
[008.html]
type: testharness
expected: ERROR
[ scheduler: document.write external - multiple]
expected: FAIL

Some files were not shown because too many files have changed in this diff Show more