OLD | NEW |
---|---|
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='foo' src=" + url3 + | |
Charlie Reis
2012/11/06 00:17:18
Again, potential for confusion between all the 'fo
nasko
2012/11/06 01:21:52
Done.
| |
21 " type='application/browser-plugin' width=500 height=550></object>" + | |
22 "<object id='webview2' partition='foo' 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 }); |
OLD | NEW |