paulirish / devtools-timeline-model

Unsupported
Other
173 stars 35 forks source link

TracingStartedInPage event not found #32

Open adamyonk opened 6 years ago

adamyonk commented 6 years ago

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