From 942104d9acf202c157ea7c938c57459669ca3132 Mon Sep 17 00:00:00 2001 From: Tobias Bosch Date: Tue, 30 Aug 2016 09:54:17 -0700 Subject: [PATCH] fix(benchpress): support chrome 52 Without this fix, the `scriptTime` was always 0. --- .../benchpress/src/webdriver/chrome_driver_extension.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/@angular/benchpress/src/webdriver/chrome_driver_extension.ts b/modules/@angular/benchpress/src/webdriver/chrome_driver_extension.ts index 5df5f81796..0afb6b90ce 100644 --- a/modules/@angular/benchpress/src/webdriver/chrome_driver_extension.ts +++ b/modules/@angular/benchpress/src/webdriver/chrome_driver_extension.ts @@ -184,7 +184,7 @@ export class ChromeDriverExtension extends WebDriverExtension { }; return normalizeEvent(event, {'name': 'gc', 'args': normArgs}); } else if ( - this._isEvent(categories, name, ['devtools.timeline', 'v8'], 'FunctionCall') && + this._isEvent(categories, name, ['devtools.timeline'], 'FunctionCall') && (isBlank(args) || isBlank(args['data']) || (!StringWrapper.equals(args['data']['scriptName'], 'InjectedScript') && !StringWrapper.equals(args['data']['scriptName'], '')))) {