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

Side by Side Diff: third_party/WebKit/LayoutTests/http/tests/loading/stop-load-at-commit.html

Issue 1714063002: Protect the provisional loader from detaching during prepareForCommit (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added a layout test, fixed bugs with initial fix Created 4 years, 10 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>
3 if (window.testRunner) {
4 testRunner.dumpAsText();
5 testRunner.waitUntilDone();
6 }
7
8 function abortFunc() {
9 window.stop();
10 }
11
12 function onload() {
13 var oReq = new XMLHttpRequest();
14 oReq.addEventListener("abort", abortFunc);
15 oReq.open("GET", "/resources/slow-script.pl");
16 oReq.send();
17 window.location = "/navigation/resources/pass-and-notify-done.html";
18 }
19 </script>
20 <body onload="onload();">
21 <div>Test should not end on this page</div>
22 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698