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

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

Issue 11234032: Webview tag creation should be using storage partitions. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Disabling session storage test for isolated apps. Created 8 years, 1 month 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 chrome.test.getConfig(function(config) { 5 chrome.test.getConfig(function(config) {
6 var url = 'http://localhost:' + config.testServer.port + 6 var url = 'http://localhost:' + config.testServer.port +
7 '/files/extensions/platform_apps/web_view_isolation/cookie.html'; 7 '/files/extensions/platform_apps/web_view_isolation/cookie.html';
8 var url2 = 'http://localhost:' + config.testServer.port + 8 var url2 = 'http://localhost:' + config.testServer.port +
9 '/files/extensions/platform_apps/web_view_isolation/cookie2.html'; 9 '/files/extensions/platform_apps/web_view_isolation/cookie2.html';
10 var url3 = 'http://localhost:' + config.testServer.port +
11 '/files/extensions/platform_apps/web_view_isolation/storage1.html';
12 var url4 = 'http://localhost:' + config.testServer.port +
13 '/files/extensions/platform_apps/web_view_isolation/storage2.html';
10 var node = document.getElementById('web_view_container'); 14 var node = document.getElementById('web_view_container');
11 node.innerHTML = "<object id='webview' src=" + url + 15 node.innerHTML =
16 "<object id='webview' src=" + url +
12 " type='application/browser-plugin' width=500 height=550></object>" + 17 " type='application/browser-plugin' width=500 height=550></object>" +
13 "<object id='webview2' src=" + url2 + 18 "<object id='webview2' src=" + url2 +
19 " type='application/browser-plugin' width=500 height=550></object>" +
20 "<object id='webview2' partition='partition1' src=" + url3 +
21 " type='application/browser-plugin' width=500 height=550></object>" +
22 "<object id='webview2' partition='partition1' src=" + url4 +
14 " type='application/browser-plugin' width=500 height=550></object>"; 23 " type='application/browser-plugin' width=500 height=550></object>";
15 chrome.test.sendMessage('Launched'); 24 chrome.test.sendMessage('Launched');
16 }); 25 });
OLDNEW
« no previous file with comments | « chrome/test/base/testing_profile.cc ('k') | chrome/test/data/extensions/platform_apps/web_view_isolation/storage.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698