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

Side by Side Diff: chrome/test/data/extensions/api_test/webnavigation/forwardBack/a.html

Issue 7859014: Refactor ExtensionApiTest.WebNavigationEvents* to not rely on window.setTimeout (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: updates Created 9 years, 3 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 | Annotate | Revision Log
OLDNEW
1 <html>
2 <head>
1 <script> 3 <script>
4 function navigate() {
2 if (window.sessionStorage['redirected'] != 1) { 5 if (window.sessionStorage['redirected'] != 1) {
3 window.sessionStorage['redirected'] = 1; 6 window.sessionStorage['redirected'] = 1;
4 window.setTimeout('document.location = "b.html";', 500); 7 // Required so this results in a history entry being created.
8 window.setTimeout('document.location = "b.html"', 0);
5 } 9 }
10 }
6 </script> 11 </script>
12 </head>
13 <body onload="navigate()"></body>
14 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698