Diff
Modified: trunk/LayoutTests/imported/w3c/ChangeLog (206881 => 206882)
--- trunk/LayoutTests/imported/w3c/ChangeLog 2016-10-06 21:03:54 UTC (rev 206881)
+++ trunk/LayoutTests/imported/w3c/ChangeLog 2016-10-06 21:26:36 UTC (rev 206882)
@@ -1,5 +1,15 @@
2016-10-06 Chris Dumez <[email protected]>
+ Unreviewed, drop bad tests that were included by mistake in r206874.
+
+ * web-platform-tests/html/webappapis/scripting/event-loops/microtask_after_raf.html: Removed.
+ * web-platform-tests/html/webappapis/scripting/processing-model-2/compile-error-cross-origin-setInterval.html: Removed.
+ * web-platform-tests/html/webappapis/scripting/processing-model-2/compile-error-cross-origin-setTimeout.html: Removed.
+ * web-platform-tests/html/webappapis/scripting/processing-model-2/runtime-error-cross-origin-setInterval.html: Removed.
+ * web-platform-tests/html/webappapis/scripting/processing-model-2/runtime-error-cross-origin-setTimeout.html: Removed.
+
+2016-10-06 Chris Dumez <[email protected]>
+
Import html/webappapis web platform tests
https://bugs.webkit.org/show_bug.cgi?id=163018
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/webappapis/scripting/event-loops/microtask_after_raf.html (206881 => 206882)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/webappapis/scripting/event-loops/microtask_after_raf.html 2016-10-06 21:03:54 UTC (rev 206881)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/webappapis/scripting/event-loops/microtask_after_raf.html 2016-10-06 21:26:36 UTC (rev 206882)
@@ -1,57 +0,0 @@
-<!DOCTYPE html>
-<head>
-<link rel=author title="Aleks Totic" href=""
-<link rel=help href=""
-<script src=""
-<script src=""
-<script src=""
-</head>
-<body style="height:2000px;">
-<script>
-/*
-promise 1, promise 2 execute immediately after rAF
-promise 1 child executes immediately after promise 2.
-
-Relevant specs:
-
-https://html.spec.whatwg.org/#clean-up-after-running-script
-If the _javascript_ execution context stack is now empty, perform a microtask checkpoint.
-
-https://html.spec.whatwg.org/#perform-a-microtask-checkpoint
-"perform a microtask checkpoint" runs in a loop until all microtasks have been delivered.
-*/
-
-var test = async_test("Microtask execute immediately after script");
-
-window.requestAnimationFrame( function() {
- var events = [];
-
- Promise.resolve()
- .then(function() {
- events.push("promise 1");
- return Promise.resolve();
- })
- .then(function() {
- test.step(function() {
- events.push("promise 1 child");
- assert_array_equals(events, ["promise 1", "promise 2", "promise 1 child"]);
- test.done();
- });
- });
- Promise.resolve()
- .then(function() {
- events.push("promise 2");
- });
-
- // Set up events that must be executed after Promise.
- window.setTimeout(function() {
- events.push('timeout');
- }, 0);
- window.addEventListener('scroll', function() {
- events.push('scroll');
- });
- window.scrollBy(0,10);
-
-});
-</script>
-</body>
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/webappapis/scripting/processing-model-2/compile-error-cross-origin-setInterval.html (206881 => 206882)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/webappapis/scripting/processing-model-2/compile-error-cross-origin-setInterval.html 2016-10-06 21:03:54 UTC (rev 206881)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/webappapis/scripting/processing-model-2/compile-error-cross-origin-setInterval.html 2016-10-06 21:26:36 UTC (rev 206882)
@@ -1,34 +0,0 @@
-<!doctype html>
-<html>
- <head>
- <title>window.onerror - compile error in cross-origin setInterval</title>
- <script src=""
- <script src=""
- </head>
- <body>
- <div id=log></div>
- <script>
- setup({allow_uncaught_exception:true});
- var t = async_test();
- var t_col = async_test(document.title+' (column)');
- var ran = false;
- var col_value;
- var interval;
- window._onerror_ = t.step_func(function(a, b, c, d){
- clearInterval(interval);
- ran = true;
- col_value = d;
- assert_equals(a, 'Script error.', 'first arg');
- assert_equals(b, '', 'second arg');
- assert_equals(c, 0, 'third arg');
- });
- function col_check() {
- assert_equals(col_value, 0, 'fourth arg');
- t_col.done();
- }
- var script = document.createElement('script');
- script.src = "" '://www1.').replace(/\/[^\/]+$/, '/support/syntax-error-in-setInterval.js');
- document.body.appendChild(script);
- </script>
- </body>
-</html>
\ No newline at end of file
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/webappapis/scripting/processing-model-2/compile-error-cross-origin-setTimeout.html (206881 => 206882)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/webappapis/scripting/processing-model-2/compile-error-cross-origin-setTimeout.html 2016-10-06 21:03:54 UTC (rev 206881)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/webappapis/scripting/processing-model-2/compile-error-cross-origin-setTimeout.html 2016-10-06 21:26:36 UTC (rev 206882)
@@ -1,32 +0,0 @@
-<!doctype html>
-<html>
- <head>
- <title>window.onerror - compile error in cross-origin setTimeout</title>
- <script src=""
- <script src=""
- </head>
- <body>
- <div id=log></div>
- <script>
- setup({allow_uncaught_exception:true});
- var t = async_test();
- var t_col = async_test(document.title+' (column)');
- var ran = false;
- var col_value;
- window._onerror_ = t.step_func(function(a, b, c, d){
- ran = true;
- col_value = d;
- assert_equals(a, 'Script error.', 'first arg');
- assert_equals(b, '', 'second arg');
- assert_equals(c, 0, 'third arg');
- });
- function col_check() {
- assert_equals(col_value, 0, 'fourth arg');
- t_col.done();
- }
- var script = document.createElement('script');
- script.src = "" '://www1.').replace(/\/[^\/]+$/, '/support/syntax-error-in-setTimeout.js');
- document.body.appendChild(script);
- </script>
- </body>
-</html>
\ No newline at end of file
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/webappapis/scripting/processing-model-2/runtime-error-cross-origin-setInterval.html (206881 => 206882)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/webappapis/scripting/processing-model-2/runtime-error-cross-origin-setInterval.html 2016-10-06 21:03:54 UTC (rev 206881)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/webappapis/scripting/processing-model-2/runtime-error-cross-origin-setInterval.html 2016-10-06 21:26:36 UTC (rev 206882)
@@ -1,34 +0,0 @@
-<!doctype html>
-<html>
- <head>
- <title>window.onerror - runtime error in cross-origin setInterval</title>
- <script src=""
- <script src=""
- </head>
- <body>
- <div id=log></div>
- <script>
- setup({allow_uncaught_exception:true});
- var t = async_test();
- var t_col = async_test(document.title+' (column)');
- var ran = false;
- var col_value;
- var interval;
- window._onerror_ = t.step_func(function(a, b, c, d){
- clearInterval(interval);
- ran = true;
- col_value = d;
- assert_equals(a, 'Script error.', 'first arg');
- assert_equals(b, '', 'second arg');
- assert_equals(c, 0, 'third arg');
- });
- function col_check() {
- assert_equals(col_value, 0, 'fourth arg');
- t_col.done();
- }
- var script = document.createElement('script');
- script.src = "" '://www1.').replace(/\/[^\/]+$/, '/support/undefined-variable-in-setInterval.js');
- document.body.appendChild(script);
- </script>
- </body>
-</html>
\ No newline at end of file
Deleted: trunk/LayoutTests/imported/w3c/web-platform-tests/html/webappapis/scripting/processing-model-2/runtime-error-cross-origin-setTimeout.html (206881 => 206882)
--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/webappapis/scripting/processing-model-2/runtime-error-cross-origin-setTimeout.html 2016-10-06 21:03:54 UTC (rev 206881)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/webappapis/scripting/processing-model-2/runtime-error-cross-origin-setTimeout.html 2016-10-06 21:26:36 UTC (rev 206882)
@@ -1,32 +0,0 @@
-<!doctype html>
-<html>
- <head>
- <title>window.onerror - runtime error in cross-origin setTimeout</title>
- <script src=""
- <script src=""
- </head>
- <body>
- <div id=log></div>
- <script>
- setup({allow_uncaught_exception:true});
- var t = async_test();
- var t_col = async_test(document.title+' (column)');
- var ran = false;
- var col_value;
- window._onerror_ = t.step_func(function(a, b, c, d){
- ran = true;
- col_value = d;
- assert_equals(a, 'Script error.', 'first arg');
- assert_equals(b, '', 'second arg');
- assert_equals(c, 0, 'third arg');
- });
- function col_check() {
- assert_equals(col_value, 0, 'fourth arg');
- t_col.done();
- }
- var script = document.createElement('script');
- script.src = "" '://www1.').replace(/\/[^\/]+$/, '/support/undefined-variable-in-setTimeout.js');
- document.body.appendChild(script);
- </script>
- </body>
-</html>
\ No newline at end of file