Open xuyuan923 opened 8 years ago
@xuyuan923 you're recording the trace via the perfLogs in webdriver?
@caseq do we need to throw in this case? Can we recover in these situations?
Could it be something related to events with 'TracingStartedInBrowser' name?
Collecting events from perfLog and removing all of 'TracingStartedInBrowser' events but the first one, error disappears.
I've seen this error from traces coming from ChromeDriver.
So far the only solution we've determined (incl the chromedriver folks) have been manually stripping events, like @sblancov indicates.
The cleanTrace
from lighthouse: https://github.com/GoogleChrome/lighthouse/blob/e9e0e8ef3a0f513dd3335f46dcd15279767ad5d7/lighthouse-core/config/config.js#L29-L110
Reopening as we should probably handle this situation in this module as well.
I used json file you provided form your github project in
test/assets/
is ok. But I used this module to test my performance json file. my performance json file is traced by like this, eg:It got error:
sorry for my poor English. :)