| 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
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..436df90639494692e0ade24607e8f44da019b5f1
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/custom-elements/imports/nested-imports.html
|
| @@ -0,0 +1,19 @@
|
| +<!DOCTYPE html>
|
| +<script src="../../resources/testharness.js"></script>
|
| +<script src="../../resources/testharnessreport.js"></script>
|
| +<script>
|
| +'use strict';
|
| +let constructors = [];
|
| +</script>
|
| +<a-a></a-a>
|
| +<b-b></b-b>
|
| +<c-c></c-c>
|
| +<link rel="import" href="resources/nested-level1.html">
|
| +<script>
|
| +'use strict';
|
| +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.');
|
| +</script>
|
|
|