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

Side by Side Diff: LayoutTests/http/tests/navigation/navigate-during-commit.html

Issue 1164883002: Ignore attempts to navigate once a provisional commit has gotten too far along. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
(Empty)
1 <!DOCTYPE html>
2 <script src="../resources/testharness.js"></script>
3 <script src="../resources/testharnessreport.js"></script>
4 <body>
5 <script>
6
7 var FRAME_SRC = "resources/navigate-during-commit.start.html"
8
9 // Called by the navigate-during-commit.success.html.
10 var resolve_test = undefined;
11
12 function conduct_test(frame) {
13 return new Promise(function(resolve) {
14 var frame = document.createElement('iframe');
15 frame.src = FRAME_SRC;
16 document.body.appendChild(frame);
17 resolve_test = function() {
18 document.body.removeChild(frame);
19 resolve();
20 };
21 });
22 }
23
24 async_test(function(t) {
25 conduct_test()
26 .then(function() { t.done(); })
27 .catch(function() { assert(false); });
28 }, 'navigate-during-commit');
29
30 </script>
31 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698