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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/navigation/same-and-different-back.html

Issue 2045603002: Handle the "key" field as opposed to keyIdentifier field. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove initialization of the view 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
OLDNEW
1 <body> 1 <body>
2 We pass if we don't crash under ASAN. 2 We pass if we don't crash under ASAN.
3 <script> 3 <script>
4 if (window.testRunner) { 4 if (window.testRunner) {
5 testRunner.dumpAsText(); 5 testRunner.dumpAsText();
6 testRunner.dumpBackForwardList(); 6 testRunner.dumpBackForwardList();
7 testRunner.waitUntilDone(); 7 testRunner.waitUntilDone();
8 } 8 }
9 9
10 function sameDocumentSetupDone() { 10 function sameDocumentSetupDone() {
11 frames[1].location.replace("notify-parent-setup-done.html"); 11 frames[1].location.replace("notify-parent-setup-done.html");
12 } 12 }
13 13
14 function differentDocumentSetupDone() { 14 function differentDocumentSetupDone() {
15 setTimeout(function() { 15 setTimeout(function() {
16 // Send a backspace to trigger a back navigation. 16 // Send a backspace to trigger a back navigation.
17 if (window.eventSender) 17 if (window.eventSender)
18 eventSender.keyDown('\u0008'); 18 eventSender.keyDown('Backspace');
19 }, 0); 19 }, 0);
20 } 20 }
21 21
22 function addChild() { 22 function addChild() {
23 var i = document.createElement("iframe"); 23 var i = document.createElement("iframe");
24 i.src = "about:blank"; 24 i.src = "about:blank";
25 document.body.appendChild(i); 25 document.body.appendChild(i);
26 if (window.testRunner) 26 if (window.testRunner)
27 testRunner.notifyDone(); 27 testRunner.notifyDone();
28 } 28 }
29 </script> 29 </script>
30 <iframe src="resources/pushState-onload.html"></iframe> 30 <iframe src="resources/pushState-onload.html"></iframe>
31 <iframe src="resources/blank.txt"></iframe> 31 <iframe src="resources/blank.txt"></iframe>
32 </body> 32 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698