| <html> |
| <head> |
| <script> |
| if (window.layoutTestController) { |
| layoutTestController.dumpAsText(); |
| layoutTestController.waitUntilDone(); |
| } |
| </script> |
| </head> |
| <body> |
| Success - a hugely nested SVG did not crash us. |
| <script> |
| function done() { |
| if (window.layoutTestController) |
| layoutTestController.notifyDone(); |
| else |
| alert('done!'); |
| } |
| |
| var x = ''; |
| for (i=0; i<50000; ++i) |
| x += '<a>'; |
| for (i=0; i<50000; ++i) |
| x += '</a>'; |
| var uri = 'data:image/svg+xml,' + x; |
| var i = new Image(); |
| i.onerror = done; |
| i.src = uri; |
| </script> |
| </body> |
| </html> |