Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 <script src="../../resources/testharness.js"></script> | |
| 2 <script src="../../resources/testharnessreport.js"></script> | |
| 3 <script> | |
| 4 window.onload = function() { | |
| 5 var frames = new Set(); | |
| 6 var win = window; | |
| 7 for (i = 0; i < 10; i++) { | |
| 8 var frame = win.document.createElement('iframe'); | |
| 9 win.document.body.appendChild(frame); | |
| 10 frames.add(frame); | |
| 11 win = win[0]; | |
| 12 } | |
| 13 test(function() { | |
| 14 frames.forEach( function(value) { assert_not_equals(value.clientHeig ht, 0) } ) | |
|
dcheng
2015/11/18 03:23:18
How come this can't use a check for contentDocumen
Xiaocheng
2015/11/18 10:26:00
TL;DR: For a nested frame created in this way, its
dcheng
2015/11/18 21:32:51
Hmm. I think there's some room for cleanup in the
| |
| 15 }, "all nested about:blank iframes should be displayed correctly"); | |
|
dcheng
2015/11/18 03:23:18
Nit: "nested about:blank iframes should not be blo
Xiaocheng
2015/11/18 10:26:00
Done.
| |
| 16 } | |
| 17 </script> | |
| OLD | NEW |