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

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

Issue 12051090: Move all <webview> tests to web_view directory (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Merged with ToT Created 7 years, 11 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
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 var url = 'http://localhost:' + config.testServer.port +
7 '/files/extensions/platform_apps/web_view_isolation/cookie.html';
8 var url2 = 'http://localhost:' + config.testServer.port +
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';
14 var url5 = 'http://localhost:' + config.testServer.port +
15 '/files/extensions/platform_apps/web_view_isolation/storage1.html#p1';
16 var url6 = 'http://localhost:' + config.testServer.port +
17 '/files/extensions/platform_apps/web_view_isolation/storage1.html#p2';
18 var url7 = 'http://localhost:' + config.testServer.port +
19 '/files/extensions/platform_apps/web_view_isolation/storage1.html#p3';
20 var node = document.getElementById('web_view_container');
21 node.innerHTML =
22 "<webview id='webview' src='" + url + "'></webview>" +
23 "<webview id='webview2' src='" + url2 + "'></webview>" +
24 "<webview id='webview3' partition='partition1' src='" + url3 +
25 "'></webview>" +
26 "<webview id='webview4' partition='partition1' src='" + url4 +
27 "'></webview>" +
28 "<webview id='webview5' partition='persist:1' src='" + url5 +
29 "'></webview>" +
30 "<webview id='webview6' partition='persist:1' src='" + url6 +
31 "'></webview>" +
32 "<webview id='webview7' partition='persist:2' src='" + url7 +
33 "'></webview>";
34 chrome.test.sendMessage('Launched');
35 });
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698