Index: third_party/WebKit/LayoutTests/custom-elements/imports/resources/import-define.html |
diff --git a/third_party/WebKit/LayoutTests/custom-elements/imports/resources/import-define.html b/third_party/WebKit/LayoutTests/custom-elements/imports/resources/import-define.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..34c9a7d5d924e8e2b3ab825845dfa57a4eb39508 |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/custom-elements/imports/resources/import-define.html |
@@ -0,0 +1,12 @@ |
+<!DOCTYPE html> |
+<x-x></x-x> |
+<script> |
+'use strict' |
+let reactions = []; |
+customElements.define('x-x', class extends HTMLElement { |
+ constructor() { |
+ super(); |
+ reactions.push({ type: 'constructor', element: this }); |
+ } |
+}); |
+</script> |