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

Unified Diff: chrome/test/data/extensions/isolated_apps/app1/app_subresources.html

Issue 10836305: Ensure that isolated apps use the right cookies for media requests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix merge conflict. Created 8 years, 4 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/test/base/testing_profile.cc ('k') | content/browser/download/download_manager_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/isolated_apps/app1/app_subresources.html
diff --git a/chrome/test/data/extensions/isolated_apps/app1/app_subresources.html b/chrome/test/data/extensions/isolated_apps/app1/app_subresources.html
new file mode 100644
index 0000000000000000000000000000000000000000..6cc27794ca8f8541b9fa0899ad2676d9bebc132b
--- /dev/null
+++ b/chrome/test/data/extensions/isolated_apps/app1/app_subresources.html
@@ -0,0 +1,24 @@
+<html>
+<body>
+Isolated App Subresource Cookies
+
+<!-- Check that the correct set of cookies are used for images. -->
+<img width="100" height="100"
+ src="/expect-and-set-cookie?expect=nonApp%3d1&set=nonAppImage%3d1" />
+
+<img width="100" height="100"
+ src="/expect-and-set-cookie?expect=app1%3d3&set=app1Image%3d1" />
+
+<!-- Check that the correct set of cookies are used for media. -->
+<video width="100" height="100" controls="controls" preload="metadata/auto">
+ <source src="/expect-and-set-cookie?expect=nonApp%3d1&set=nonAppMedia%3d1"
+ type="video/webm">
+</video>
+
+<video width="100" height="100" controls="controls" preload="metadata/auto">
+ <source src="/expect-and-set-cookie?expect=app1%3d3&set=app1Media%3d1"
+ type="video/webm">
+</video>
+
+</body>
+</html>
« no previous file with comments | « chrome/test/base/testing_profile.cc ('k') | content/browser/download/download_manager_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698