From 5f8de423f190bbb79a62f804151bc24824fa32d8 Mon Sep 17 00:00:00 2001 From: "Matt A. Tobin" Date: Fri, 2 Feb 2018 04:16:08 -0500 Subject: Add m-esr52 at 52.6.0 --- .../tests/html/webappapis/scripting/.gitkeep | 0 .../enabling-and-disabling-scripting/.gitkeep | 0 .../html/webappapis/scripting/event-loops/.gitkeep | 0 .../webappapis/scripting/event-loops/contains.json | 14 ++++ .../scripting/event-loops/microtask_after_raf.html | 57 +++++++++++++++ .../event-loops/microtask_after_script.html | 55 ++++++++++++++ .../scripting/event-loops/resources/common.js | 20 +++++ .../task_microtask_ordering-manual.html | 64 ++++++++++++++++ .../event-loops/task_microtask_ordering.html | 85 ++++++++++++++++++++++ .../html/webappapis/scripting/events/.gitkeep | 0 .../webappapis/scripting/events/body-onload.html | 20 +++++ .../html/webappapis/scripting/events/contains.json | 18 +++++ .../event-handler-attributes-body-window.html | 34 +++++++++ .../scripting/events/event-handler-javascript.html | 20 +++++ .../scripting/events/event-handler-onresize.html | 38 ++++++++++ .../events/event-handler-processing-algorithm.html | 63 ++++++++++++++++ .../events/event-handler-spec-example.html | 65 +++++++++++++++++ .../events/inline-event-handler-ordering.html | 52 +++++++++++++ ...valid-uncompiled-raw-handler-compiled-late.html | 25 +++++++ ...valid-uncompiled-raw-handler-compiled-once.html | 23 ++++++ .../events/onerroreventhandler-frame.html | 56 ++++++++++++++ .../scripting/events/onerroreventhandler.html | 11 +++ .../webappapis/scripting/introduction-5/.gitkeep | 0 .../scripting/javascript-protocol/.gitkeep | 0 .../scripting/processing-model-2/.gitkeep | 0 .../processing-model-2/addEventListener.html | 32 ++++++++ .../body-onerror-compile-error-data-url.html | 37 ++++++++++ .../body-onerror-compile-error.html | 39 ++++++++++ .../body-onerror-runtime-error.html | 39 ++++++++++ .../compile-error-cross-origin-setInterval.html | 34 +++++++++ .../compile-error-cross-origin-setTimeout.html | 32 ++++++++ .../compile-error-cross-origin.html | 38 ++++++++++ .../processing-model-2/compile-error-data-url.html | 36 +++++++++ .../compile-error-in-attribute.html | 39 ++++++++++ .../compile-error-in-body-onerror.html | 28 +++++++ .../compile-error-in-setInterval.html | 39 ++++++++++ .../compile-error-in-setTimeout.html | 36 +++++++++ .../compile-error-same-origin.html | 36 +++++++++ .../processing-model-2/compile-error.html | 38 ++++++++++ .../scripting/processing-model-2/contains.json | 28 +++++++ .../runtime-error-cross-origin-setInterval.html | 34 +++++++++ .../runtime-error-cross-origin-setTimeout.html | 32 ++++++++ .../runtime-error-cross-origin.html | 38 ++++++++++ .../processing-model-2/runtime-error-data-url.html | 36 +++++++++ .../runtime-error-in-attribute.html | 39 ++++++++++ .../runtime-error-in-body-onerror.html | 25 +++++++ .../runtime-error-in-setInterval.html | 39 ++++++++++ .../runtime-error-in-setTimeout.html | 36 +++++++++ .../runtime-error-in-window-onerror.html | 29 ++++++++ .../runtime-error-same-origin.html | 36 +++++++++ .../processing-model-2/runtime-error.html | 38 ++++++++++ .../support/syntax-error-in-setInterval.js | 9 +++ .../support/syntax-error-in-setTimeout.js | 8 ++ .../processing-model-2/support/syntax-error.js | 1 + .../support/undefined-variable-in-setInterval.js | 9 +++ .../support/undefined-variable-in-setTimeout.js | 8 ++ .../support/undefined-variable.js | 1 + .../window-onerror-parse-error.html | 40 ++++++++++ .../window-onerror-runtime-error-throw.html | 39 ++++++++++ .../window-onerror-runtime-error.html | 43 +++++++++++ ...onerror-with-cross-frame-event-listeners-1.html | 33 +++++++++ ...onerror-with-cross-frame-event-listeners-2.html | 33 +++++++++ ...onerror-with-cross-frame-event-listeners-3.html | 33 +++++++++ ...onerror-with-cross-frame-event-listeners-4.html | 33 +++++++++ 64 files changed, 1923 insertions(+) create mode 100644 testing/web-platform/tests/html/webappapis/scripting/.gitkeep create mode 100644 testing/web-platform/tests/html/webappapis/scripting/enabling-and-disabling-scripting/.gitkeep create mode 100644 testing/web-platform/tests/html/webappapis/scripting/event-loops/.gitkeep create mode 100644 testing/web-platform/tests/html/webappapis/scripting/event-loops/contains.json create mode 100644 testing/web-platform/tests/html/webappapis/scripting/event-loops/microtask_after_raf.html create mode 100644 testing/web-platform/tests/html/webappapis/scripting/event-loops/microtask_after_script.html create mode 100644 testing/web-platform/tests/html/webappapis/scripting/event-loops/resources/common.js create mode 100644 testing/web-platform/tests/html/webappapis/scripting/event-loops/task_microtask_ordering-manual.html create mode 100644 testing/web-platform/tests/html/webappapis/scripting/event-loops/task_microtask_ordering.html create mode 100644 testing/web-platform/tests/html/webappapis/scripting/events/.gitkeep create mode 100644 testing/web-platform/tests/html/webappapis/scripting/events/body-onload.html create mode 100644 testing/web-platform/tests/html/webappapis/scripting/events/contains.json create mode 100644 testing/web-platform/tests/html/webappapis/scripting/events/event-handler-attributes-body-window.html create mode 100644 testing/web-platform/tests/html/webappapis/scripting/events/event-handler-javascript.html create mode 100644 testing/web-platform/tests/html/webappapis/scripting/events/event-handler-onresize.html create mode 100644 testing/web-platform/tests/html/webappapis/scripting/events/event-handler-processing-algorithm.html create mode 100644 testing/web-platform/tests/html/webappapis/scripting/events/event-handler-spec-example.html create mode 100644 testing/web-platform/tests/html/webappapis/scripting/events/inline-event-handler-ordering.html create mode 100644 testing/web-platform/tests/html/webappapis/scripting/events/invalid-uncompiled-raw-handler-compiled-late.html create mode 100644 testing/web-platform/tests/html/webappapis/scripting/events/invalid-uncompiled-raw-handler-compiled-once.html create mode 100644 testing/web-platform/tests/html/webappapis/scripting/events/onerroreventhandler-frame.html create mode 100644 testing/web-platform/tests/html/webappapis/scripting/events/onerroreventhandler.html create mode 100644 testing/web-platform/tests/html/webappapis/scripting/introduction-5/.gitkeep create mode 100644 testing/web-platform/tests/html/webappapis/scripting/javascript-protocol/.gitkeep create mode 100644 testing/web-platform/tests/html/webappapis/scripting/processing-model-2/.gitkeep create mode 100644 testing/web-platform/tests/html/webappapis/scripting/processing-model-2/addEventListener.html create mode 100644 testing/web-platform/tests/html/webappapis/scripting/processing-model-2/body-onerror-compile-error-data-url.html create mode 100644 testing/web-platform/tests/html/webappapis/scripting/processing-model-2/body-onerror-compile-error.html create mode 100644 testing/web-platform/tests/html/webappapis/scripting/processing-model-2/body-onerror-runtime-error.html create mode 100644 testing/web-platform/tests/html/webappapis/scripting/processing-model-2/compile-error-cross-origin-setInterval.html create mode 100644 testing/web-platform/tests/html/webappapis/scripting/processing-model-2/compile-error-cross-origin-setTimeout.html create mode 100644 testing/web-platform/tests/html/webappapis/scripting/processing-model-2/compile-error-cross-origin.html create mode 100644 testing/web-platform/tests/html/webappapis/scripting/processing-model-2/compile-error-data-url.html create mode 100644 testing/web-platform/tests/html/webappapis/scripting/processing-model-2/compile-error-in-attribute.html create mode 100644 testing/web-platform/tests/html/webappapis/scripting/processing-model-2/compile-error-in-body-onerror.html create mode 100644 testing/web-platform/tests/html/webappapis/scripting/processing-model-2/compile-error-in-setInterval.html create mode 100644 testing/web-platform/tests/html/webappapis/scripting/processing-model-2/compile-error-in-setTimeout.html create mode 100644 testing/web-platform/tests/html/webappapis/scripting/processing-model-2/compile-error-same-origin.html create mode 100644 testing/web-platform/tests/html/webappapis/scripting/processing-model-2/compile-error.html create mode 100644 testing/web-platform/tests/html/webappapis/scripting/processing-model-2/contains.json create mode 100644 testing/web-platform/tests/html/webappapis/scripting/processing-model-2/runtime-error-cross-origin-setInterval.html create mode 100644 testing/web-platform/tests/html/webappapis/scripting/processing-model-2/runtime-error-cross-origin-setTimeout.html create mode 100644 testing/web-platform/tests/html/webappapis/scripting/processing-model-2/runtime-error-cross-origin.html create mode 100644 testing/web-platform/tests/html/webappapis/scripting/processing-model-2/runtime-error-data-url.html create mode 100644 testing/web-platform/tests/html/webappapis/scripting/processing-model-2/runtime-error-in-attribute.html create mode 100644 testing/web-platform/tests/html/webappapis/scripting/processing-model-2/runtime-error-in-body-onerror.html create mode 100644 testing/web-platform/tests/html/webappapis/scripting/processing-model-2/runtime-error-in-setInterval.html create mode 100644 testing/web-platform/tests/html/webappapis/scripting/processing-model-2/runtime-error-in-setTimeout.html create mode 100644 testing/web-platform/tests/html/webappapis/scripting/processing-model-2/runtime-error-in-window-onerror.html create mode 100644 testing/web-platform/tests/html/webappapis/scripting/processing-model-2/runtime-error-same-origin.html create mode 100644 testing/web-platform/tests/html/webappapis/scripting/processing-model-2/runtime-error.html create mode 100644 testing/web-platform/tests/html/webappapis/scripting/processing-model-2/support/syntax-error-in-setInterval.js create mode 100644 testing/web-platform/tests/html/webappapis/scripting/processing-model-2/support/syntax-error-in-setTimeout.js create mode 100644 testing/web-platform/tests/html/webappapis/scripting/processing-model-2/support/syntax-error.js create mode 100644 testing/web-platform/tests/html/webappapis/scripting/processing-model-2/support/undefined-variable-in-setInterval.js create mode 100644 testing/web-platform/tests/html/webappapis/scripting/processing-model-2/support/undefined-variable-in-setTimeout.js create mode 100644 testing/web-platform/tests/html/webappapis/scripting/processing-model-2/support/undefined-variable.js create mode 100644 testing/web-platform/tests/html/webappapis/scripting/processing-model-2/window-onerror-parse-error.html create mode 100644 testing/web-platform/tests/html/webappapis/scripting/processing-model-2/window-onerror-runtime-error-throw.html create mode 100644 testing/web-platform/tests/html/webappapis/scripting/processing-model-2/window-onerror-runtime-error.html create mode 100644 testing/web-platform/tests/html/webappapis/scripting/processing-model-2/window-onerror-with-cross-frame-event-listeners-1.html create mode 100644 testing/web-platform/tests/html/webappapis/scripting/processing-model-2/window-onerror-with-cross-frame-event-listeners-2.html create mode 100644 testing/web-platform/tests/html/webappapis/scripting/processing-model-2/window-onerror-with-cross-frame-event-listeners-3.html create mode 100644 testing/web-platform/tests/html/webappapis/scripting/processing-model-2/window-onerror-with-cross-frame-event-listeners-4.html (limited to 'testing/web-platform/tests/html/webappapis/scripting') diff --git a/testing/web-platform/tests/html/webappapis/scripting/.gitkeep b/testing/web-platform/tests/html/webappapis/scripting/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/testing/web-platform/tests/html/webappapis/scripting/enabling-and-disabling-scripting/.gitkeep b/testing/web-platform/tests/html/webappapis/scripting/enabling-and-disabling-scripting/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/testing/web-platform/tests/html/webappapis/scripting/event-loops/.gitkeep b/testing/web-platform/tests/html/webappapis/scripting/event-loops/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/testing/web-platform/tests/html/webappapis/scripting/event-loops/contains.json b/testing/web-platform/tests/html/webappapis/scripting/event-loops/contains.json new file mode 100644 index 000000000..5d7e5e600 --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/event-loops/contains.json @@ -0,0 +1,14 @@ +[ + { + "id": "definitions-1", + "original_id": "definitions-1" + }, + { + "id": "processing-model-3", + "original_id": "processing-model-3" + }, + { + "id": "generic-task-sources", + "original_id": "generic-task-sources" + } +] \ No newline at end of file diff --git a/testing/web-platform/tests/html/webappapis/scripting/event-loops/microtask_after_raf.html b/testing/web-platform/tests/html/webappapis/scripting/event-loops/microtask_after_raf.html new file mode 100644 index 000000000..824dbc4b9 --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/event-loops/microtask_after_raf.html @@ -0,0 +1,57 @@ + + + + + + + + + + + diff --git a/testing/web-platform/tests/html/webappapis/scripting/event-loops/microtask_after_script.html b/testing/web-platform/tests/html/webappapis/scripting/event-loops/microtask_after_script.html new file mode 100644 index 000000000..799a0de60 --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/event-loops/microtask_after_script.html @@ -0,0 +1,55 @@ + + + + + + + + + + + diff --git a/testing/web-platform/tests/html/webappapis/scripting/event-loops/resources/common.js b/testing/web-platform/tests/html/webappapis/scripting/event-loops/resources/common.js new file mode 100644 index 000000000..e2279f93d --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/event-loops/resources/common.js @@ -0,0 +1,20 @@ +// Helper for tests that just want to verify the ordering of a series of events. +// Usage: +// log_test(function(t, log) { +// log('first'); +// log('second'); +// }, ['first', 'second'], 'Ordinal numbers are ordinal'); + +function log_test(func, expected, description) { + async_test(function(t) { + var actual = []; + function log(entry) { + actual.push(entry); + if (expected.length <= actual.length) { + assert_array_equals(actual, expected); + t.done(); + } + } + func(t, t.step_func(log)); + }, description); +} diff --git a/testing/web-platform/tests/html/webappapis/scripting/event-loops/task_microtask_ordering-manual.html b/testing/web-platform/tests/html/webappapis/scripting/event-loops/task_microtask_ordering-manual.html new file mode 100644 index 000000000..ed2f70e19 --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/event-loops/task_microtask_ordering-manual.html @@ -0,0 +1,64 @@ + +Task and Microtask Ordering + + + + + + + +

Click on the inner box:

+
+
+
+ + diff --git a/testing/web-platform/tests/html/webappapis/scripting/event-loops/task_microtask_ordering.html b/testing/web-platform/tests/html/webappapis/scripting/event-loops/task_microtask_ordering.html new file mode 100644 index 000000000..c14a043b6 --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/event-loops/task_microtask_ordering.html @@ -0,0 +1,85 @@ + +Task and Microtask Ordering + + + + + + +
+
+
+ + diff --git a/testing/web-platform/tests/html/webappapis/scripting/events/.gitkeep b/testing/web-platform/tests/html/webappapis/scripting/events/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/testing/web-platform/tests/html/webappapis/scripting/events/body-onload.html b/testing/web-platform/tests/html/webappapis/scripting/events/body-onload.html new file mode 100644 index 000000000..1e43d1ccd --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/events/body-onload.html @@ -0,0 +1,20 @@ + +HTMLBodyElement.onload + + + + + +
+ diff --git a/testing/web-platform/tests/html/webappapis/scripting/events/contains.json b/testing/web-platform/tests/html/webappapis/scripting/events/contains.json new file mode 100644 index 000000000..65f3062d2 --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/events/contains.json @@ -0,0 +1,18 @@ +[ + { + "id": "event-handler-attributes", + "original_id": "event-handler-attributes" + }, + { + "id": "event-handlers-on-elements-document-objects-and-window-objects", + "original_id": "event-handlers-on-elements,-document-objects,-and-window-objects" + }, + { + "id": "event-firing", + "original_id": "event-firing" + }, + { + "id": "events-and-the-window-object", + "original_id": "events-and-the-window-object" + } +] \ No newline at end of file diff --git a/testing/web-platform/tests/html/webappapis/scripting/events/event-handler-attributes-body-window.html b/testing/web-platform/tests/html/webappapis/scripting/events/event-handler-attributes-body-window.html new file mode 100644 index 000000000..1c87892cb --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/events/event-handler-attributes-body-window.html @@ -0,0 +1,34 @@ + +HTMLBodyElement event handlers + + + +
+ + diff --git a/testing/web-platform/tests/html/webappapis/scripting/events/event-handler-javascript.html b/testing/web-platform/tests/html/webappapis/scripting/events/event-handler-javascript.html new file mode 100644 index 000000000..657a37839 --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/events/event-handler-javascript.html @@ -0,0 +1,20 @@ + +Event handler with labels + + + +
+ diff --git a/testing/web-platform/tests/html/webappapis/scripting/events/event-handler-onresize.html b/testing/web-platform/tests/html/webappapis/scripting/events/event-handler-onresize.html new file mode 100644 index 000000000..8686716e1 --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/events/event-handler-onresize.html @@ -0,0 +1,38 @@ + +HTMLBodyElement.onresize + + + + +
+ diff --git a/testing/web-platform/tests/html/webappapis/scripting/events/event-handler-processing-algorithm.html b/testing/web-platform/tests/html/webappapis/scripting/events/event-handler-processing-algorithm.html new file mode 100644 index 000000000..f3848b5ad --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/events/event-handler-processing-algorithm.html @@ -0,0 +1,63 @@ + +Event handlers processing algorithm + + + +
+ diff --git a/testing/web-platform/tests/html/webappapis/scripting/events/event-handler-spec-example.html b/testing/web-platform/tests/html/webappapis/scripting/events/event-handler-spec-example.html new file mode 100644 index 000000000..c06806e3c --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/events/event-handler-spec-example.html @@ -0,0 +1,65 @@ + +Event handler invocation order + + +
+ diff --git a/testing/web-platform/tests/html/webappapis/scripting/events/inline-event-handler-ordering.html b/testing/web-platform/tests/html/webappapis/scripting/events/inline-event-handler-ordering.html new file mode 100644 index 000000000..90e29bfd1 --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/events/inline-event-handler-ordering.html @@ -0,0 +1,52 @@ + + +Inline event handlers retain their ordering even when invalid + + + + + diff --git a/testing/web-platform/tests/html/webappapis/scripting/events/invalid-uncompiled-raw-handler-compiled-late.html b/testing/web-platform/tests/html/webappapis/scripting/events/invalid-uncompiled-raw-handler-compiled-late.html new file mode 100644 index 000000000..a0e7bbcdd --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/events/invalid-uncompiled-raw-handler-compiled-late.html @@ -0,0 +1,25 @@ + + +Invalid uncompiled raw handlers should only be compiled when about to call them. + + + + + diff --git a/testing/web-platform/tests/html/webappapis/scripting/events/invalid-uncompiled-raw-handler-compiled-once.html b/testing/web-platform/tests/html/webappapis/scripting/events/invalid-uncompiled-raw-handler-compiled-once.html new file mode 100644 index 000000000..a67f66ead --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/events/invalid-uncompiled-raw-handler-compiled-once.html @@ -0,0 +1,23 @@ + + +Invalid uncompiled raw handlers should only be compiled once. + + + + + diff --git a/testing/web-platform/tests/html/webappapis/scripting/events/onerroreventhandler-frame.html b/testing/web-platform/tests/html/webappapis/scripting/events/onerroreventhandler-frame.html new file mode 100644 index 000000000..79e4af302 --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/events/onerroreventhandler-frame.html @@ -0,0 +1,56 @@ + + diff --git a/testing/web-platform/tests/html/webappapis/scripting/events/onerroreventhandler.html b/testing/web-platform/tests/html/webappapis/scripting/events/onerroreventhandler.html new file mode 100644 index 000000000..60fc674d5 --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/events/onerroreventhandler.html @@ -0,0 +1,11 @@ + + +OnErrorEventHandler + ErrorEvent is treated differently + + + + diff --git a/testing/web-platform/tests/html/webappapis/scripting/introduction-5/.gitkeep b/testing/web-platform/tests/html/webappapis/scripting/introduction-5/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/testing/web-platform/tests/html/webappapis/scripting/javascript-protocol/.gitkeep b/testing/web-platform/tests/html/webappapis/scripting/javascript-protocol/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/.gitkeep b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/addEventListener.html b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/addEventListener.html new file mode 100644 index 000000000..dbb1cdd5a --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/addEventListener.html @@ -0,0 +1,32 @@ + + + + window.onerror - addEventListener + + + + +
+ + + + + + diff --git a/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/body-onerror-compile-error-data-url.html b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/body-onerror-compile-error-data-url.html new file mode 100644 index 000000000..66e1dfed4 --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/body-onerror-compile-error-data-url.html @@ -0,0 +1,37 @@ + + + + <body onerror> - compile error in <script src=data:...> + + + + + +
+ + + + diff --git a/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/body-onerror-compile-error.html b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/body-onerror-compile-error.html new file mode 100644 index 000000000..0f65f7399 --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/body-onerror-compile-error.html @@ -0,0 +1,39 @@ + + + + <body onerror> - compile error in <script> + + + + + +
+ + + + diff --git a/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/body-onerror-runtime-error.html b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/body-onerror-runtime-error.html new file mode 100644 index 000000000..faaddd9ed --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/body-onerror-runtime-error.html @@ -0,0 +1,39 @@ + + + + <body onerror> - runtime error in <script> + + + + + +
+ + + + diff --git a/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/compile-error-cross-origin-setInterval.html b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/compile-error-cross-origin-setInterval.html new file mode 100644 index 000000000..14e9a8bc2 --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/compile-error-cross-origin-setInterval.html @@ -0,0 +1,34 @@ + + + + window.onerror - compile error in cross-origin setInterval + + + + +
+ + + \ No newline at end of file diff --git a/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/compile-error-cross-origin-setTimeout.html b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/compile-error-cross-origin-setTimeout.html new file mode 100644 index 000000000..ba3be9d0a --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/compile-error-cross-origin-setTimeout.html @@ -0,0 +1,32 @@ + + + + window.onerror - compile error in cross-origin setTimeout + + + + +
+ + + \ No newline at end of file diff --git a/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/compile-error-cross-origin.html b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/compile-error-cross-origin.html new file mode 100644 index 000000000..b7e989529 --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/compile-error-cross-origin.html @@ -0,0 +1,38 @@ + + + + window.onerror - compile error in <script src=//www1...> + + + + +
+ + + \ No newline at end of file diff --git a/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/compile-error-data-url.html b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/compile-error-data-url.html new file mode 100644 index 000000000..08ce2f348 --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/compile-error-data-url.html @@ -0,0 +1,36 @@ + + + + window.onerror - compile error in <script src=data:...> + + + + +
+ + + + + diff --git a/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/compile-error-in-attribute.html b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/compile-error-in-attribute.html new file mode 100644 index 000000000..864d09fc1 --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/compile-error-in-attribute.html @@ -0,0 +1,39 @@ + + + + window.onerror - compile error in attribute + + + + +
+ +

+ + + \ No newline at end of file diff --git a/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/compile-error-in-body-onerror.html b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/compile-error-in-body-onerror.html new file mode 100644 index 000000000..0b094e71c --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/compile-error-in-body-onerror.html @@ -0,0 +1,28 @@ + + + + window.onerror - compile error in <body onerror> + + + + + +
+ + + + \ No newline at end of file diff --git a/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/compile-error-in-setInterval.html b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/compile-error-in-setInterval.html new file mode 100644 index 000000000..39a01335c --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/compile-error-in-setInterval.html @@ -0,0 +1,39 @@ + + + + window.onerror - compile error in setInterval + + + + +
+ + + \ No newline at end of file diff --git a/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/compile-error-in-setTimeout.html b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/compile-error-in-setTimeout.html new file mode 100644 index 000000000..879660313 --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/compile-error-in-setTimeout.html @@ -0,0 +1,36 @@ + + + + window.onerror - compile error in setTimeout + + + + +
+ + + \ No newline at end of file diff --git a/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/compile-error-same-origin.html b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/compile-error-same-origin.html new file mode 100644 index 000000000..71c28b584 --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/compile-error-same-origin.html @@ -0,0 +1,36 @@ + + + + window.onerror - compile error in <script src=...> + + + + +
+ + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/compile-error.html b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/compile-error.html new file mode 100644 index 000000000..a4bdfd9c4 --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/compile-error.html @@ -0,0 +1,38 @@ + + + + window.onerror - compile error in <script> + + + + +
+ + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/contains.json b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/contains.json new file mode 100644 index 000000000..b49029277 --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/contains.json @@ -0,0 +1,28 @@ +[ + { + "id": "definitions-0", + "original_id": "definitions-0" + }, + { + "id": "calling-scripts", + "original_id": "calling-scripts" + }, + { + "id": "creating-scripts", + "original_id": "creating-scripts" + }, + { + "id": "killing-scripts", + "original_id": "killing-scripts" + }, + { + "id": "runtime-script-errors", + "original_id": "runtime-script-errors", + "children": [ + { + "id": "runtime-script-errors-in-documents", + "original_id": "runtime-script-errors-in-documents" + } + ] + } +] \ No newline at end of file diff --git a/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/runtime-error-cross-origin-setInterval.html b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/runtime-error-cross-origin-setInterval.html new file mode 100644 index 000000000..dd97566d7 --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/runtime-error-cross-origin-setInterval.html @@ -0,0 +1,34 @@ + + + + window.onerror - runtime error in cross-origin setInterval + + + + +
+ + + \ No newline at end of file diff --git a/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/runtime-error-cross-origin-setTimeout.html b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/runtime-error-cross-origin-setTimeout.html new file mode 100644 index 000000000..20ee21c61 --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/runtime-error-cross-origin-setTimeout.html @@ -0,0 +1,32 @@ + + + + window.onerror - runtime error in cross-origin setTimeout + + + + +
+ + + \ No newline at end of file diff --git a/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/runtime-error-cross-origin.html b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/runtime-error-cross-origin.html new file mode 100644 index 000000000..d63aaa6d3 --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/runtime-error-cross-origin.html @@ -0,0 +1,38 @@ + + + + window.onerror - runtime error in <script src=//www1...> + + + + +
+ + + \ No newline at end of file diff --git a/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/runtime-error-data-url.html b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/runtime-error-data-url.html new file mode 100644 index 000000000..485ce90aa --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/runtime-error-data-url.html @@ -0,0 +1,36 @@ + + + + window.onerror - runtime error in <script src=data:...> + + + + +
+ + + + + diff --git a/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/runtime-error-in-attribute.html b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/runtime-error-in-attribute.html new file mode 100644 index 000000000..b4f69da7a --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/runtime-error-in-attribute.html @@ -0,0 +1,39 @@ + + + + window.onerror - runtime error in attribute + + + + +
+ +

+ + + \ No newline at end of file diff --git a/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/runtime-error-in-body-onerror.html b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/runtime-error-in-body-onerror.html new file mode 100644 index 000000000..e0fd1dcbd --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/runtime-error-in-body-onerror.html @@ -0,0 +1,25 @@ + + + + runtime error in <body onerror> + + + + + +
+ + + + \ No newline at end of file diff --git a/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/runtime-error-in-setInterval.html b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/runtime-error-in-setInterval.html new file mode 100644 index 000000000..fcfb6c597 --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/runtime-error-in-setInterval.html @@ -0,0 +1,39 @@ + + + + window.onerror - runtime error in setInterval + + + + +
+ + + \ No newline at end of file diff --git a/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/runtime-error-in-setTimeout.html b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/runtime-error-in-setTimeout.html new file mode 100644 index 000000000..c0c69ad7c --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/runtime-error-in-setTimeout.html @@ -0,0 +1,36 @@ + + + + window.onerror - runtime error in setTimeout + + + + +
+ + + \ No newline at end of file diff --git a/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/runtime-error-in-window-onerror.html b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/runtime-error-in-window-onerror.html new file mode 100644 index 000000000..150a793b7 --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/runtime-error-in-window-onerror.html @@ -0,0 +1,29 @@ + + + + runtime error in window.onerror + + + + +
+ + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/runtime-error-same-origin.html b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/runtime-error-same-origin.html new file mode 100644 index 000000000..8f3cfb70b --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/runtime-error-same-origin.html @@ -0,0 +1,36 @@ + + + + window.onerror - runtime error in <script src=...> + + + + +
+ + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/runtime-error.html b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/runtime-error.html new file mode 100644 index 000000000..7907494aa --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/runtime-error.html @@ -0,0 +1,38 @@ + + + + window.onerror - runtime error in <script> + + + + +
+ + + + + \ No newline at end of file diff --git a/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/support/syntax-error-in-setInterval.js b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/support/syntax-error-in-setInterval.js new file mode 100644 index 000000000..812c0daea --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/support/syntax-error-in-setInterval.js @@ -0,0 +1,9 @@ +interval = setInterval('{', 10); +setTimeout(function(){ + clearInterval(interval); + t.step(function(){ + assert_true(ran, 'ran'); + t.done(); + }); + t_col.step(col_check); +}, 20); \ No newline at end of file diff --git a/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/support/syntax-error-in-setTimeout.js b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/support/syntax-error-in-setTimeout.js new file mode 100644 index 000000000..84eb4fc41 --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/support/syntax-error-in-setTimeout.js @@ -0,0 +1,8 @@ +setTimeout('{', 10); +setTimeout(function(){ + t.step(function(){ + assert_true(ran, 'ran'); + t.done(); + }); + t_col.step(col_check); +}, 20); diff --git a/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/support/syntax-error.js b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/support/syntax-error.js new file mode 100644 index 000000000..0f74a6fca --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/support/syntax-error.js @@ -0,0 +1 @@ +for (;) {} \ No newline at end of file diff --git a/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/support/undefined-variable-in-setInterval.js b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/support/undefined-variable-in-setInterval.js new file mode 100644 index 000000000..2950fdb51 --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/support/undefined-variable-in-setInterval.js @@ -0,0 +1,9 @@ +interval = setInterval('undefined_variable;', 10); +setTimeout(function(){ + clearInterval(interval); + t.step(function(){ + assert_true(ran, 'ran'); + t.done(); + }); + t_col.step(col_check); +}, 20); \ No newline at end of file diff --git a/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/support/undefined-variable-in-setTimeout.js b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/support/undefined-variable-in-setTimeout.js new file mode 100644 index 000000000..6350ab62e --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/support/undefined-variable-in-setTimeout.js @@ -0,0 +1,8 @@ +setTimeout('undefined_variable;', 10); +setTimeout(function(){ + t.step(function(){ + assert_true(ran, 'ran'); + t.done(); + }); + t_col.step(col_check); +}, 20); diff --git a/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/support/undefined-variable.js b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/support/undefined-variable.js new file mode 100644 index 000000000..e73a62ced --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/support/undefined-variable.js @@ -0,0 +1 @@ +undefined_variable; \ No newline at end of file diff --git a/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/window-onerror-parse-error.html b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/window-onerror-parse-error.html new file mode 100644 index 000000000..3c21df49c --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/window-onerror-parse-error.html @@ -0,0 +1,40 @@ + + + + window.onerror: parse errors + + + + + + +
+ + + + + diff --git a/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/window-onerror-runtime-error-throw.html b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/window-onerror-runtime-error-throw.html new file mode 100644 index 000000000..5d2ef0d29 --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/window-onerror-runtime-error-throw.html @@ -0,0 +1,39 @@ + + + + window.onerror: runtime scripterrors + + + + + + +
+ + + + + diff --git a/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/window-onerror-runtime-error.html b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/window-onerror-runtime-error.html new file mode 100644 index 000000000..1fdab521a --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/window-onerror-runtime-error.html @@ -0,0 +1,43 @@ + + + + window.onerror: runtime scripterrors + + + + + + +
+ + + + + diff --git a/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/window-onerror-with-cross-frame-event-listeners-1.html b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/window-onerror-with-cross-frame-event-listeners-1.html new file mode 100644 index 000000000..65a1a02b1 --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/window-onerror-with-cross-frame-event-listeners-1.html @@ -0,0 +1,33 @@ + + + + When a listener from window A is added to an event target in window B via the + addEventListener function from window B, errors in that listener should be + reported to window A. + + + + + + diff --git a/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/window-onerror-with-cross-frame-event-listeners-2.html b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/window-onerror-with-cross-frame-event-listeners-2.html new file mode 100644 index 000000000..6c5476542 --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/window-onerror-with-cross-frame-event-listeners-2.html @@ -0,0 +1,33 @@ + + + + When a listener from window A is added to an event target in window B via the + addEventListener function from window A, errors in that listener should be + reported to window A. + + + + + + diff --git a/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/window-onerror-with-cross-frame-event-listeners-3.html b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/window-onerror-with-cross-frame-event-listeners-3.html new file mode 100644 index 000000000..5e78baa8d --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/window-onerror-with-cross-frame-event-listeners-3.html @@ -0,0 +1,33 @@ + + + + When a listener from window A is added to an event target in window A via the + addEventListener function from window A, errors in that listener should be + reported to window A. + + + + + + diff --git a/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/window-onerror-with-cross-frame-event-listeners-4.html b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/window-onerror-with-cross-frame-event-listeners-4.html new file mode 100644 index 000000000..a5f35d613 --- /dev/null +++ b/testing/web-platform/tests/html/webappapis/scripting/processing-model-2/window-onerror-with-cross-frame-event-listeners-4.html @@ -0,0 +1,33 @@ + + + + When a listener from window A is added to an event target in window A via the + addEventListener function from window B, errors in that listener should be + reported to window A. + + + + + + -- cgit v1.2.3