Index: third_party/WebKit/LayoutTests/fast/harness/internals-no-document-crash.html |
diff --git a/third_party/WebKit/LayoutTests/fast/harness/internals-no-document-crash.html b/third_party/WebKit/LayoutTests/fast/harness/internals-no-document-crash.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..6655df9775d90ed6e25702de30458461caa7d35b |
--- /dev/null |
+++ b/third_party/WebKit/LayoutTests/fast/harness/internals-no-document-crash.html |
@@ -0,0 +1,12 @@ |
+<!DOCTYPE html> |
+<iframe src="#dummy"></iframe> |
+<p>PASS if no crash.</p> |
+<script> |
+ if (window.testRunner) |
+ testRunner.dumpAsText(); |
+ if (window.internals) { |
+ try { |
+ internals.updateLayoutIgnorePendingStylesheetsAndRunPostLayoutTasks(document.querySelector('iframe')); |
+ } catch (e) {} |
+ } |
+</script> |