| Index: webkit/data/layout_tests/LayoutTests/fast/frames/javascript-url-as-framesrc-crash.html
|
| ===================================================================
|
| --- webkit/data/layout_tests/LayoutTests/fast/frames/javascript-url-as-framesrc-crash.html (revision 0)
|
| +++ webkit/data/layout_tests/LayoutTests/fast/frames/javascript-url-as-framesrc-crash.html (revision 20356)
|
| @@ -0,0 +1,21 @@
|
| +<head>
|
| +<script language="JavaScript">
|
| +// See https://bugs.webkit.org/show_bug.cgi?id=26230
|
| +
|
| +if (window.layoutTestController) {
|
| + layoutTestController.dumpAsText();
|
| +}
|
| +
|
| +function makeFrameContents() {
|
| + var doc = theFrame.document;
|
| + doc.open();
|
| + doc.write('<img src=no-image-resource-required.png>');
|
| + doc.close();
|
| + return "SUCCESS (as long as we didn't crash, claim victory)";
|
| +}
|
| +</script>
|
| +</head>
|
| +
|
| +<frameset>
|
| + <frame name="theFrame" src="javascript:parent.makeFrameContents()">
|
| +</frameset>
|
|
|