| 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=" |
| 7 1 <iframe id='frame2' srcdoc=' |
| 8 2 <iframe id=frame3 srcdoc=3></iframe> |
| 9 '></iframe> |
| 10 "></iframe> |
| 11 |
| 12 <script> |
| 13 document.getElementById('frame1').onload = function() { |
| 14 var frame2 = frame1.contentDocument.getElementById('frame2'); |
| 15 var frame3 = frame2.contentDocument.getElementById('frame3'); |
| 16 test(function() { |
| 17 assert_not_equals(frame3.contentDocument, null); |
| 18 assert_not_equals(frame3.clientHeight, 0); |
| 19 }, 'Nested srcdocs should not be blocked as self-referential frames'); |
| 20 }; |
| 21 </script> |
| 22 |
| 23 |
| OLD | NEW |