Lines on Template string with sourcemaps definition inside it are being removed on the Source tab
Reported by
henrique...@gmail.com,
Aug 26
|
|||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/68.0.3440.106 Safari/537.36 Steps to reproduce the problem: 1. Go to https://weak-mammal.glitch.me/ 2. On source tab, open /dist/index.mjs 3. See function "createWorker" (Line 191) 4. Look the original file on Network tab (Line 192) What is the expected behavior? The line 192 should exist on the Source tab. What went wrong? The Source tab is considering the // sourcemap inside the template string as a source map, but it is a template code that will generate a worker with the source map. Code from Source tab: https://monosnap.com/file/HDk2dCHigKnHj8HXoY8ieSb6y6p7LR Code from Network tab: https://monosnap.com/file/6fKxAH6fAQOUVIvAmq86ZolF5MlyRO The original code can be found here on the Worker-dom project from Amp: https://github.com/ampproject/worker-dom/blob/master/src/main-thread/worker.ts Did this work before? N/A Chrome version: 68.0.3440.106 Channel: stable OS Version: OS X 10.12.6 Flash Version:
,
Aug 27
,
Sep 24
Should be fixed at least in Canary.
,
Sep 24
Just to confirm it, I tested it out on Version 71.0.3560.0 Canary and it was fixed. Thank you for the fix guys. |
|||
►
Sign in to add a comment |
|||
Comment 1 by susan.boorgula@chromium.org
, Aug 26