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

Unified Diff: tools/telemetry/telemetry/core/chrome/inspector_console.py

Issue 15861013: [Telemetry] Fix TabConsoleTest.testConsoleOutputStream. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 7 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/telemetry/telemetry/core/chrome/inspector_console.py
diff --git a/tools/telemetry/telemetry/core/chrome/inspector_console.py b/tools/telemetry/telemetry/core/chrome/inspector_console.py
index cea14955b93c8b66aef387ee2b70c8a597f69921..be37478302957c83075a9fa82a7ea72b160a72c2 100644
--- a/tools/telemetry/telemetry/core/chrome/inspector_console.py
+++ b/tools/telemetry/telemetry/core/chrome/inspector_console.py
@@ -18,6 +18,8 @@ class InspectorConsole(object):
def _OnNotification(self, msg):
logging.debug('Notification: %s', json.dumps(msg, indent=2))
if msg['method'] == 'Console.messageAdded':
+ if msg['params']['message']['url'] == 'chrome://newtab/':
+ return
self._last_message = 'At %s:%i: %s' % (
msg['params']['message']['url'],
msg['params']['message']['line'],
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698