Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(432)

Unified Diff: third_party/WebKit/LayoutTests/custom-elements/imports/nested-imports.html

Issue 2242743002: Make custom elements work in HTML imports (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addresses tkent's comments. Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/custom-elements/imports/nested-imports.html
diff --git a/third_party/WebKit/LayoutTests/custom-elements/imports/nested-imports.html b/third_party/WebKit/LayoutTests/custom-elements/imports/nested-imports.html
index 436df90639494692e0ade24607e8f44da019b5f1..812aed869050267bbdc0fb57898b02a9ce8f2227 100644
--- a/third_party/WebKit/LayoutTests/custom-elements/imports/nested-imports.html
+++ b/third_party/WebKit/LayoutTests/custom-elements/imports/nested-imports.html
@@ -3,6 +3,7 @@
<script src="../../resources/testharnessreport.js"></script>
<script>
'use strict';
+
let constructors = [];
</script>
<a-a></a-a>
@@ -15,5 +16,5 @@ test(() => {
let types = constructors.map(e => e.type);
assert_array_equals(types, ['nested-level3', 'nested-level2', 'nested-level1'],
'The constructor order should be script execution order of definition.');
-}, 'Custom Elements definition in nested imports should work.');
+}, 'custom element definitions in nested imports should work.');
</script>

Powered by Google App Engine
This is Rietveld 408576698