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

Side by Side Diff: chrome/test/data/extensions/api_test/app_process/test.html

Issue 16268017: GTTF: convert some tests in chrome to use EmbeddedTestServer patch nr 1 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 7 years, 5 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
1 <script> 1 <script>
2 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 2 // Copyright (c) 2010 The Chromium Authors. All rights reserved.
3 // Use of this source code is governed by a BSD-style license that can be 3 // Use of this source code is governed by a BSD-style license that can be
4 // found in the LICENSE file. 4 // found in the LICENSE file.
5 5
6 var origin = "http://localhost:1337/files/extensions/api_test/app_process/"; 6 var origin = "http://localhost:1337/extensions/api_test/app_process/";
7 var url1 = origin + "path1/empty.html"; 7 var url1 = origin + "path1/empty.html";
8 var url2 = origin + "path2/empty.html"; 8 var url2 = origin + "path2/empty.html";
9 var url3 = origin + "path3/empty.html"; 9 var url3 = origin + "path3/empty.html";
10 10
11 // Create 3 tabs. The first 2 should be grouped into the same app process. 11 // Create 3 tabs. The first 2 should be grouped into the same app process.
12 chrome.tabs.create({url: url1}, function() { 12 chrome.tabs.create({url: url1}, function() {
13 chrome.tabs.create({url: url2}, function() { 13 chrome.tabs.create({url: url2}, function() {
14 chrome.tabs.create({url: url3}, function() { 14 chrome.tabs.create({url: url3}, function() {
15 chrome.test.notifyPass(); 15 chrome.test.notifyPass();
16 }); 16 });
17 }); 17 });
18 }); 18 });
19 19
20 function testWindowOpen() { 20 function testWindowOpen() {
21 window.open(url1); 21 window.open(url1);
22 window.open(url2); 22 window.open(url2);
23 window.open(url3); 23 window.open(url3);
24 } 24 }
25 </script> 25 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698