Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <!DOCTYPE html> | |
| 2 | |
| 3 <script src="../../../resources/testharness.js"></script> | |
| 4 <script src="../../../resources/testharnessreport.js"></script> | |
| 5 | |
| 6 <iframe id="frame1" srcdoc='1 | |
| 7 <iframe id="frame2" srcdoc="2 | |
| 8 <iframe id=frame3 srcdoc=3></iframe> | |
| 9 "></iframe> | |
| 10 '></iframe> | |
| 11 | |
| 12 <script> | |
| 13 frame1.onload = function() { | |
| 14 var frame2 = frame1.contentDocument.getElementById("frame2"); | |
| 15 var frame3 = frame2.contentDocument.getElementById("frame3"); | |
| 16 test(function() {assert_not_equals(frame3.contentDocument, null)}, "deep neste d frames should still have non-null content documents."); | |
|
dcheng
2015/11/18 03:23:18
Nit: "nested srcdocs should not be blocked as self
Xiaocheng
2015/11/18 10:26:00
Done.
| |
| 17 }; | |
| 18 </script> | |
| 19 | |
| 20 | |
| OLD | NEW |