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..21dc4d5b98fc9d5898650b435b77551e9d71d97f |
--- /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> |