Index: third_party/WebKit/LayoutTests/fast/html/imports/import-child-null-document-crash.html |
diff --git a/third_party/WebKit/LayoutTests/fast/html/imports/import-child-null-document-crash.html b/third_party/WebKit/LayoutTests/fast/html/imports/import-child-null-document-crash.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..48242b9a5bef9da0abe177762ae0a5e3a72529cf |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/html/imports/import-child-null-document-crash.html |
@@ -0,0 +1,9 @@ |
+<!DOCTYPE html> |
+<script src="../../../resources/testharness.js"></script> |
+<script src="../../../resources/testharnessreport.js"></script> |
+<link id="importLink" rel="import" href="dummy.html"> |
+<script> |
+ test(() => { |
+ document.head.appendChild(importLink.cloneNode()); |
+ }, "Cloning and appending the loading import should not crash."); |
+</script> |