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

Unified Diff: chrome/test/data/extensions/api_test/debugger/background.js

Issue 333223003: DevTools: fixed test ExtensionApiTest.Debugger (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed "MAYBE" Created 6 years, 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/extensions/api/debugger/debugger_apitest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/test/data/extensions/api_test/debugger/background.js
diff --git a/chrome/test/data/extensions/api_test/debugger/background.js b/chrome/test/data/extensions/api_test/debugger/background.js
index 9a7f46c15d1161e6c56fb38b5a7c269e65ac930a..a6e2e8d960f41d33ec1e4fdc147b6de0b6107366 100644
--- a/chrome/test/data/extensions/api_test/debugger/background.js
+++ b/chrome/test/data/extensions/api_test/debugger/background.js
@@ -140,7 +140,9 @@ chrome.test.runTests([
},
function createAndDiscoverTab() {
- function onUpdated(tabId) {
+ function onUpdated(tabId, changeInfo) {
+ if (changeInfo.status == 'loading')
+ return;
chrome.tabs.onUpdated.removeListener(onUpdated);
chrome.debugger.getTargets(function(targets) {
var page = targets.filter(
« no previous file with comments | « chrome/browser/extensions/api/debugger/debugger_apitest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698