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

Side by Side Diff: LayoutTests/http/tests/loading/navigate-detached-frame-window-does-not-crash.html

Issue 309063005: Don't attempt to print an error message if there is no console. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: remove a different check Created 6 years, 6 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/http/tests/loading/navigate-detached-frame-window-does-not-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 <head>
2 <script>
3 if (window.testRunner) {
4 testRunner.dumpAsText();
5 }
6
7 function runTest() {
8 var frame = document.getElementById('frame');
9 var frameWindow = frame.contentWindow;
10 window.document.body.removeChild(frame);
11 frameWindow.location = "about:blank";
12 }
13 </script>
14
15 <body onload='runTest()'>
16 <iframe id="frame" src="data:text/html,"></iframe>
17 This test passes if it doesn't crash.
18 </body>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/http/tests/loading/navigate-detached-frame-window-does-not-crash-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698