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

Side by Side Diff: chrome/test/data/History/HistoryHelper.js

Issue 159329: Revert 19923 - Merge r15950.... (Closed) Base URL: svn://chrome-svn/chrome/branches/172/src/
Patch Set: Created 11 years, 5 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 // 1 //
2 // This script provides some mechanics for testing History 2 // This script provides some mechanics for testing History
3 // 3 //
4 function onSuccess(name, id) 4 function onSuccess(name, id)
5 { 5 {
6 setTimeout(onFinished, 0, name, id, "OK"); 6 setTimeout(onFinished, 0, name, id, "OK");
7 } 7 }
8 8
9 function onFailure(name, id, status) 9 function onFailure(name, id, status)
10 { 10 {
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 var date = new Date(); 46 var date = new Date();
47 date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000)); 47 date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000));
48 expires = "; expires=" + date.toGMTString(); 48 expires = "; expires=" + date.toGMTString();
49 } 49 }
50 document.cookie = name+"="+value+expires+"; path=/"; 50 document.cookie = name+"="+value+expires+"; path=/";
51 } 51 }
52 52
53 function eraseCookie(name) { 53 function eraseCookie(name) {
54 createCookie(name, "", -1); 54 createCookie(name, "", -1);
55 } 55 }
56
57 var navigate_backward_cookie = "Navigate_Backward_Cookie";
58 var navigate_forward_cookie = "Navigate_Forward_Cookie";
OLDNEW
« no previous file with comments | « chrome/browser/tab_contents/navigation_controller.cc ('k') | chrome/test/data/History/history_length_test1.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698