| Index: third_party/WebKit/LayoutTests/fast/frames/srcdoc/srcdoc-deep-nested-frames.html
|
| diff --git a/third_party/WebKit/LayoutTests/fast/frames/srcdoc/srcdoc-deep-nested-frames.html b/third_party/WebKit/LayoutTests/fast/frames/srcdoc/srcdoc-deep-nested-frames.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..cebb771d12ae914e6ca41ffb388023c91fab6afa
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/fast/frames/srcdoc/srcdoc-deep-nested-frames.html
|
| @@ -0,0 +1,20 @@
|
| +<!DOCTYPE html>
|
| +
|
| +<script src="../../../resources/testharness.js"></script>
|
| +<script src="../../../resources/testharnessreport.js"></script>
|
| +
|
| +<iframe id="frame1" srcdoc='1
|
| +<iframe id="frame2" srcdoc="2
|
| +<iframe id=frame3 srcdoc=3></iframe>
|
| +"></iframe>
|
| +'></iframe>
|
| +
|
| +<script>
|
| +frame1.onload = function() {
|
| + var frame2 = frame1.contentDocument.getElementById("frame2");
|
| + var frame3 = frame2.contentDocument.getElementById("frame3");
|
| + test(function() {assert_not_equals(frame3.contentDocument, null)}, "deep nested frames should still have non-null content documents.");
|
| +};
|
| +</script>
|
| +
|
| +
|
|
|