Index: third_party/WebKit/LayoutTests/custom-elements/imports/circular-imports.html |
diff --git a/third_party/WebKit/LayoutTests/custom-elements/imports/circular-imports.html b/third_party/WebKit/LayoutTests/custom-elements/imports/circular-imports.html |
index 99097acfffdfba6724626b7ed78809ab1d7b3ead..66dc282e68c75b0a6630cd31c3afdcc3cae5fecf 100644 |
--- a/third_party/WebKit/LayoutTests/custom-elements/imports/circular-imports.html |
+++ b/third_party/WebKit/LayoutTests/custom-elements/imports/circular-imports.html |
@@ -3,6 +3,7 @@ |
<script src="../../resources/testharnessreport.js"></script> |
<script> |
'use strict'; |
+ |
let constructors = []; |
</script> |
<a-a></a-a> |
@@ -10,10 +11,11 @@ let constructors = []; |
<link rel="import" href="resources/circular-level1.html"> |
<script> |
'use strict'; |
+ |
test(() => { |
// At the point of imports, <a-a> and <b-b> are already parsed and will be |
// upgraded when the definitions are ready. |
assert_array_equals(constructors, ['circular-level2', 'circular-level1'], |
'The constructor order should be script execution order of definition.'); |
-}, 'Custom Elements definitions in circularly-dependent imports should work.'); |
+}, 'custom element definitions in circularly-dependent imports should work.'); |
</script> |