fix(benchpress): support chrome 52
Without this fix, the `scriptTime` was always 0.
This commit is contained in:
parent
6dceaf209d
commit
942104d9ac
|
@ -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'], '')))) {
|
||||
|
|
Loading…
Reference in New Issue