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 --- .../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 +++++++++++++++++ 40 files changed, 1203 insertions(+) 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/processing-model-2') 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