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

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

Issue 6201005: Initial support for partitioning cookies for isolated apps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix merge conflicts. 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/non_app/main.html
diff --git a/chrome/test/data/extensions/api_test/isolated_apps/non_app/main.html b/chrome/test/data/extensions/api_test/isolated_apps/non_app/main.html
new file mode 100644
index 0000000000000000000000000000000000000000..ab8c9b31debb69a0e7049a7f6db69fee2a989af0
--- /dev/null
+++ b/chrome/test/data/extensions/api_test/isolated_apps/non_app/main.html
@@ -0,0 +1,12 @@
+<html>
+<body>
+Normal page
+
+<script>
+ // Set a cookie outside any apps.
+ var expire = new Date();
+ expire.setDate(expire.getDate() + 1); // tomorrow
+ document.cookie = "normalPage=5; path=/; expires=" + expire + ";"
+</script>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698