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

Side by Side Diff: chrome/test/data/extensions/api_test/webnavigation/test_getFrame.js

Issue 10826157: Check for warnings when loading extensions in browser tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix ExtensionTerminalPrivateApiTest.TerminalTest Created 8 years, 4 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 // 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
2 var URL = chrome.extension.getURL("getFrame/a.html"); 5 var URL = chrome.extension.getURL("getFrame/a.html");
3 var tabId = -1; 6 var tabId = -1;
4 var processId = -1; 7 var processId = -1;
5 8
6 chrome.test.runTests([ 9 chrome.test.runTests([
7 function testGetFrame() { 10 function testGetFrame() {
8 chrome.tabs.create({"url": "about:blank"}, function(tab) { 11 chrome.tabs.create({"url": "about:blank"}, function(tab) {
9 tabId = tab.id; 12 tabId = tab.id;
10 var done = chrome.test.listenForever( 13 var done = chrome.test.listenForever(
11 chrome.webNavigation.onCommitted, 14 chrome.webNavigation.onCommitted,
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 chrome.test.assertEq( 46 chrome.test.assertEq(
44 [{errorOccurred: false, 47 [{errorOccurred: false,
45 frameId: 0, 48 frameId: 0,
46 processId: processId, 49 processId: processId,
47 url: URL}], 50 url: URL}],
48 details); 51 details);
49 chrome.test.succeed(); 52 chrome.test.succeed();
50 }); 53 });
51 } 54 }
52 ]); 55 ]);
53 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698