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

Unified Diff: chrome/test/data/extensions/api_test/isolated_apps/app2/main.html

Issue 6201005: Initial support for partitioning cookies for isolated apps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Refactor to use ContentBrowserClient. Created 9 years, 9 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
Index: chrome/test/data/extensions/api_test/isolated_apps/app2/main.html
diff --git a/chrome/test/data/extensions/api_test/isolated_apps/app2/main.html b/chrome/test/data/extensions/api_test/isolated_apps/app2/main.html
new file mode 100644
index 0000000000000000000000000000000000000000..506e874a963f1a6bdee5cb9ff66105c415016924
--- /dev/null
+++ b/chrome/test/data/extensions/api_test/isolated_apps/app2/main.html
@@ -0,0 +1,12 @@
+<html>
+<body>
+Isolated App 2
+
+<script>
+ // Set a cookie within the app.
+ var expire = new Date();
+ expire.setDate(expire.getDate() + 1); // tomorrow
+ document.cookie = "app2=4; path=/; expires=" + expire + ";"
+</script>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698