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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/navigation/start-load-during-provisional-loader-detach.html

Issue 2021373003: Disable frame navigations during DocumentLoader detach in FrameLoader::startLoad (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@2704
Patch Set: Created 4 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 | third_party/WebKit/LayoutTests/http/tests/navigation/start-load-during-provisional-loader-detach-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 <body>
2 We pass if we don't crash.
3 <script>
4 if (window.testRunner)
5 testRunner.dumpAsText();
6
7 var child = document.body.appendChild(document.createElement('iframe'));
8 child.contentDocument.open();
9 var grandchild = child.contentDocument.appendChild(document.createElement('ifram e'));
10
11 child.contentWindow.onload = function() {
12 var a = grandchild.contentDocument.createElement('a');
13 a.href = 'data:text/xml,';
14 a.click();
15 }
16
17 var a = grandchild.contentDocument.createElement('a');
18 a.href = 'data:text/xml,';
19 a.click();
20
21 child.contentDocument.close();
22
23 a = grandchild.contentDocument.createElement('a');
24 a.href = 'data:text/html,';
25 a.click();
26 </script>
27 </body>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/navigation/start-load-during-provisional-loader-detach-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698