paulirish / devtools-timeline-model

Unsupported

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TracingStartedInPage event not found

adamyonk opened this issue · comments

I'm trying to dump the firehose out of dataCollected:

  await Tracing.dataCollected(data => {
    try {
      events.push(new TimelineModel(data.value));
    } catch (e) {
      events.push(data.value);
    }
  });

  await Page.loadEventFired();
  await Tracing.start();
  await Runtime.evaluate({ awaitPromise: true, expression: "runTest();" });
  await Tracing.end();
  await Tracing.tracingComplete();

But I end up getting all of these errors when I try to run events through DTM:
image

Am I missing something here? Here is a dump of all of the events coming out:

https://gist.github.com/adamyonk/af54d54d19584ad267780a384cb1f3e9