Closed Bug 1488253 Opened 6 years ago Closed 6 years ago

Source map is not enabled when debugging WebExtensions background script

Categories

(WebExtensions :: General, defect)

63 Branch
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1437937

People

(Reporter: sienori.firefox, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:61.0) Gecko/20100101 Firefox/61.0 Build ID: 20180807170231 Steps to reproduce: 1. Clone react-es6-popup extension https://github.com/mdn/webextensions-examples/tree/master/react-es6-popup 2. npm install npm start 3. Click debug button on about:debugging Actual results: Display on console: this is background? background.js:74:1 Also Source map error is displayed when opening add-on popup: Source map error: TypeError: NetworkError when attempting to fetch resource. Resource URL: moz-extension://7d68e2f1-27b0-4619-afdb-6c40c9b25bbb/dist/popup.js Source map URL: popup.js.map Expected results: The original line should be displayed according to the source map: this is background? background.js:1:1
Component: Untriaged → General
Product: Firefox → WebExtensions
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.