Open Bug 1881439 Opened 9 months ago Updated 9 months ago

Disable Local script override action for original files

Categories

(DevTools :: Debugger, defect, P2)

defect

Tracking

(Not tracked)

People

(Reporter: Honza, Unassigned)

References

(Blocks 1 open bug)

Details

The Local script override feature is currently available for all JS files displayed in the Sources tree side panel in Debugger. It works for JS files returned from the server (through dedicated HTTP request), but does not for original files created from source maps.

STR:

  1. Load http://janodvarko.cz/tests/bugzilla/1539142/
  2. Open DevTools and select the Debugger panel
  3. Right click on janodvarko.cz/tests/bugzilla/1539142/dist/app.js file. The "Add script override" is available => OK
  4. Right click on Webpack/src/App.js file. The "Add script override" is also available => BUG

The App.js files is not loaded through dedicated HTTP request and so can't be overrided.

Honza

Severity: -- → S3
Priority: -- → P2
You need to log in before you can comment on or make changes to this bug.