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

Side by Side Diff: LayoutTests/fast/dom/document-navigation-error-no-crash.html

Issue 413683002: LocalWindow::printErrorMessage(): check if frame is available. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 5 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 unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/dom/document-navigation-error-no-crash-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <body onload=runTest()>
3 <iframe src="data:text/html,"></iframe>
4 <script>
5 if (window.testRunner)
6 testRunner.dumpAsText();
7
8 function runTest() {
9 var a = window.frames[0];
10 document.removeChild(document.head.parentNode);
11 a.location = "data:text/plain,pass";
12 console.log("PASS (No crash.)");
13 }
14 </script>
15 </body>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/dom/document-navigation-error-no-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698