Commit 78cbcd5c authored by hiroshige's avatar hiroshige Committed by Commit bot

Fix case issues in a wpt test module/execorder.html

The actual filenames are all lowercase, but src attributes in
execorder.html contains uppercase letters. This causes the scripts not
found and thus timeouts on Linux (which runs on a case-sensitive
filesystem).

This CL fixes the timeout by making the src attributes all lowercased.

BUG=594639

Review-Url: https://codereview.chromium.org/2856053005
Cr-Commit-Position: refs/heads/master@{#469519}
parent a0ca4a35
...@@ -2328,7 +2328,6 @@ crbug.com/694958 virtual/stable/http/tests/navigation/same-and-different-back.ht ...@@ -2328,7 +2328,6 @@ crbug.com/694958 virtual/stable/http/tests/navigation/same-and-different-back.ht
crbug.com/594639 external/wpt/html/semantics/scripting-1/the-script-element/module/crossorigin.html [ Failure ] crbug.com/594639 external/wpt/html/semantics/scripting-1/the-script-element/module/crossorigin.html [ Failure ]
crbug.com/594639 external/wpt/html/semantics/scripting-1/the-script-element/module/errorhandling.html [ Failure ] crbug.com/594639 external/wpt/html/semantics/scripting-1/the-script-element/module/errorhandling.html [ Failure ]
crbug.com/594639 external/wpt/html/semantics/scripting-1/the-script-element/module/imports.html [ Failure ] crbug.com/594639 external/wpt/html/semantics/scripting-1/the-script-element/module/imports.html [ Failure ]
crbug.com/594639 external/wpt/html/semantics/scripting-1/the-script-element/module/execorder.html [ Pass Timeout ]
# This test has a failure console message with specific performance # This test has a failure console message with specific performance
# numbers so a consistent baseline cannot be added. This test could be # numbers so a consistent baseline cannot be added. This test could be
......
...@@ -41,8 +41,8 @@ ...@@ -41,8 +41,8 @@
var test_parsedUnordered1 = async_test("Unordered module script execution (parsed, unordered #1)"); var test_parsedUnordered1 = async_test("Unordered module script execution (parsed, unordered #1)");
var test_parsedUnordered2 = async_test("Unordered module script execution (parsed, unordered #2)"); var test_parsedUnordered2 = async_test("Unordered module script execution (parsed, unordered #2)");
</script> </script>
<script type="module" src="execOrder-parsedUnordered1.js"></script> <script type="module" src="execorder-parsedunordered1.js"></script>
<script type="module" src="execOrder-parsedUnordered2.js"></script> <script type="module" src="execorder-parsedunordered2.js"></script>
<script> <script>
///// /////
// End test_parsedUnordered* // End test_parsedUnordered*
...@@ -53,8 +53,8 @@ ...@@ -53,8 +53,8 @@
///// /////
var test_dynamicUnordered1 = async_test("Unordered module script execution (dynamic, unordered #1)"); var test_dynamicUnordered1 = async_test("Unordered module script execution (dynamic, unordered #1)");
var test_dynamicUnordered2 = async_test("Unordered module script execution (dynamic, unordered #2)"); var test_dynamicUnordered2 = async_test("Unordered module script execution (dynamic, unordered #2)");
create_script("execOrder-dynamicUnordered1.js", { module: true }); create_script("execorder-dynamicunordered1.js", { module: true });
create_script("execOrder-dynamicUnordered2.js", { module: true }); create_script("execorder-dynamicunordered2.js", { module: true });
///// /////
// End test_dynamicUnordered* // End test_dynamicUnordered*
///// /////
...@@ -68,13 +68,13 @@ ...@@ -68,13 +68,13 @@
test_parsedOrdered.done(); test_parsedOrdered.done();
})); }));
</script> </script>
<script src="execOrder-parsedOrdered2.js" defer></script> <script src="execorder-parsedordered2.js" defer></script>
<script type="module"> <script type="module">
test_parsedOrdered.step(function() { test_parsedOrdered.step(function() {
assert_execCount(0, 3, "Inline module-typed script element should have fired third"); assert_execCount(0, 3, "Inline module-typed script element should have fired third");
}); });
</script> </script>
<script src="execOrder-parsedOrdered4.js" defer></script> <script src="execorder-parsedordered4.js" defer></script>
<script> <script>
test_parsedOrdered.step(function() { test_parsedOrdered.step(function() {
assert_execCount(0, 1, "Inline untyped script element should have fired first"); assert_execCount(0, 1, "Inline untyped script element should have fired first");
...@@ -91,9 +91,9 @@ ...@@ -91,9 +91,9 @@
assert_execCount(1, 5, "onload should have fired fifth (last)"); assert_execCount(1, 5, "onload should have fired fifth (last)");
test_dynamicOrdered.done(); test_dynamicOrdered.done();
})); }));
create_script("execOrder-dynamicOrdered2.js", { asyncOrdered: true, module: false }); create_script("execorder-dynamicordered2.js", { asyncOrdered: true, module: false });
create_script("execOrder-dynamicOrdered3.js", { asyncOrdered: true, module: true }); create_script("execorder-dynamicordered3.js", { asyncOrdered: true, module: true });
create_script("execOrder-dynamicOrdered4.js", { asyncOrdered: true, module: false }); create_script("execorder-dynamicordered4.js", { asyncOrdered: true, module: false });
test_dynamicOrdered.step(function() { test_dynamicOrdered.step(function() {
assert_execCount(1, 1, "Inline untyped script element should have fired first"); assert_execCount(1, 1, "Inline untyped script element should have fired first");
}); });
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment