Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Unified Diff: webkit/data/layout_tests/LayoutTests/fast/frames/javascript-url-as-framesrc-crash.html

Issue 165437: Merge WebKit r44541 to the 172 (2.0) branch.... (Closed) Base URL: svn://chrome-svn.corp.google.com/chrome/branches/172/src/
Patch Set: Created 11 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | webkit/data/layout_tests/LayoutTests/fast/frames/javascript-url-as-framesrc-crash-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | webkit/data/layout_tests/LayoutTests/fast/frames/javascript-url-as-framesrc-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698