WTF is only injected for first web worker
tantalor opened this issue · 1 comments
tantalor commented
Steps to repro,
- Under "Web Workers" tracing settings, check "Enabled" and "Inject WTF into Workers"
- In Chrome devtools, create a Worker thread with this code,
new Worker(window.URL.createObjectURL(new Blob(["console.log('wtf?', !!this.wtf)"])))
- Observe "wtf? true" is logged
- Repeat step 2
- Observe "wtf? false" is logged
Chrome 40.0.2214.91
Web Tracing Framework 2015.1.6.1
rsturgell commented
It would be really nice support injecting into more workers in the next release.
And I commend tantalor on his exceptional repro steps.