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

Side by Side Diff: chrome/test/data/extensions/platform_apps/isolation/test.js

Issue 10349015: Make platform apps get isolated storage by default. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 7 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
« no previous file with comments | « chrome/test/data/extensions/platform_apps/isolation/set_cookie.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 chrome.test.getConfig(function(config) {
6 chrome.test.runTests([
7 function testCookieNotSet() {
8 var xhr = new XMLHttpRequest();
9 xhr.open(
10 'GET',
11 'http://localhost:' + config.testServer.port + '/echoheader?Cookie',
12 true);
13 xhr.onload = function() {
14 // Cookies should not have been passed in the request, so the echo of
15 // their header should be the Pythonic "None".
16 chrome.test.assertEq('None', xhr.responseText);
17 chrome.test.succeed();
18 };
19 xhr.onerror = function() {
20 chrome.test.fail('Unexpected HTTP status ' + xhr.status);
21 }
22 xhr.send();
23 }
24 ]);
25 });
OLDNEW
« no previous file with comments | « chrome/test/data/extensions/platform_apps/isolation/set_cookie.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698