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

Side by Side Diff: LayoutTests/http/tests/navigation/back-twice-without-commit.html

Issue 40513003: Delete/move the remaining stale tests in TestExpectations. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: delete plugins/reentrant-update-widget-positions.html as well Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <script>
2 if (window.testRunner) {
3 if (!window.localStorage.page1Started) {
4 // On the first visit, clear the back forward list to start fresh,
5 // then set up the test.
6 window.localStorage.page1Started = true;
7 testRunner.clearBackForwardList();
8 testRunner.dumpBackForwardList();
9 testRunner.dumpAsText();
10
11 // Visit two pages, then go back to page 2, which has a slow frame the
12 // second time, and then back to page 1 before page 2 commits.
13 testRunner.queueLoad("resources/back-twice-page-2.html");
14 testRunner.queueLoad("resources/back-twice-page-3.html");
15 testRunner.queueBackNavigation(1);
16 testRunner.queueBackNavigation(1);
17 } else {
18 delete window.localStorage.page1Started;
19 }
20 }
21 </script>
22 <p>This test checks that going back twice without committing doesn't corrupt the back/forward list.
23 <p>If testing manually, <a href="resources/back-twice-page-2.html">click here</a >.
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698