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

Unified Diff: chrome/test/data/session_restore/session_storage.html

Issue 11088005: Automate more Better Session Restore tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: export inner Created 8 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/sessions/better_session_restore_browsertest.cc ('k') | webkit/database/webkit_database.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/session_restore/session_storage.html
diff --git a/chrome/test/data/session_restore/session_cookies.html b/chrome/test/data/session_restore/session_storage.html
similarity index 72%
copy from chrome/test/data/session_restore/session_cookies.html
copy to chrome/test/data/session_restore/session_storage.html
index 4c89afd2579f83ade8224725b9d514600b9fb919..a6743f868eb7e8088844ce753aaa8d357f3ea4ea 100644
--- a/chrome/test/data/session_restore/session_cookies.html
+++ b/chrome/test/data/session_restore/session_storage.html
@@ -4,10 +4,10 @@
<script src="common.js"></script>
<script>
function readData() {
- return document.cookie;
+ return sessionStorage.getItem('key');
}
function writeData() {
- document.cookie = 'key=foo';
+ sessionStorage.setItem('key', 'foo');
return true;
}
</script>
« no previous file with comments | « chrome/browser/sessions/better_session_restore_browsertest.cc ('k') | webkit/database/webkit_database.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698