OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <!-- |
| 3 This test highlights that the old unique name generation algorithm |
| 4 could generate non-unique names even for static-html pages (i.e. with |
| 5 no renames and with no removal or addition of frames via DOM). |
| 6 |
| 7 This test would fail before FrameTree.cpp changes in |
| 8 https://crrev.com/1968213002. |
| 9 --> |
| 10 <html> |
| 11 <script> |
| 12 if (window.testRunner) { |
| 13 testRunner.dumpAsText(); |
| 14 testRunner.dumpChildFramesAsText(); |
| 15 } |
| 16 </script> |
| 17 <body> |
| 18 |
| 19 <iframe name="foo" srcdoc=" |
| 20 <iframe name='bar' srcdoc=' |
| 21 <iframe></iframe> |
| 22 <iframe></iframe> |
| 23 <iframe></iframe> |
| 24 '></iframe> |
| 25 "></iframe> |
| 26 |
| 27 <iframe name="foo/bar" srcdoc=" |
| 28 <iframe></iframe> |
| 29 <iframe></iframe> |
| 30 <iframe></iframe> |
| 31 "></iframe> |
| 32 |
| 33 </body> |
| 34 </html> |
OLD | NEW |