Closed
Bug 1908463
Opened 1 year ago
Closed 4 months ago
Sourcemap error for turbopack:// URL
Categories
(DevTools :: Debugger, defect, P3)
Tracking
(firefox143 fixed)
RESOLVED
FIXED
143 Branch
| Tracking | Status | |
|---|---|---|
| firefox143 | --- | fixed |
People
(Reporter: github.leah, Assigned: bomsy)
References
Details
Attachments
(1 file)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:129.0) Gecko/20100101 Firefox/129.0
Steps to reproduce:
Start the next.js dev server with turbopack (next dev --turbo)
Actual results:
Source map error: Error: Invalid URL: turbopack://[project]/packages/next/dist/compiled/process/browser.js
Resource URL: http://localhost:3000/_next/static/chunks/%5Broot%20of%20the%20server%5D__011649._.js
Source Map URL: %5Broot%20of%20the%20server%5D__011649._.js.map
Expected results:
It should display the source mapped sources in the tree like it does for webpack.
Should just need a small change here
https://searchfox.org/mozilla-central/source/devtools/client/debugger/src/utils/sources-tree/getURL.js
Comment 1•1 year ago
|
||
The Bugbug bot thinks this bug should belong to the 'DevTools::Debugger' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Component: Untriaged → Debugger
Product: Firefox → DevTools
Type: enhancement → defect
Summary: Add support for turbopack:// URL → Sourcemap error for turbopack:// URL
Comment 2•1 year ago
|
||
Bomsy can you try to reproduce the issue.
We should fix 2 things here:
- make sure we have a proper fallback when we don't recognize the protocol
- potentially add turbo to the list linked above, or come up with a new mechanism to add new libraries dynamically (eg pref or remote settings)
Severity: -- → S3
Flags: needinfo?(hmanilla)
Priority: -- → P2
| Assignee | ||
Comment 3•5 months ago
|
||
Updated•5 months ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
Priority: P2 → P3
Updated•4 months ago
|
Assignee: nobody → hmanilla
Attachment #9503518 -
Attachment description: WIP: Bug 1908463 - [devtools] Display the correct tree structure for bundle libraries → Bug 1908463 - [devtools] Display the correct tree structure for bundle libraries r=#devtools
Status: NEW → ASSIGNED
| Assignee | ||
Updated•4 months ago
|
Flags: needinfo?(hmanilla)
Pushed by hmanilla@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/f9a9af7646c0
https://hg.mozilla.org/integration/autoland/rev/a8a8028addc8
[devtools] Display the correct tree structure for bundle libraries r=devtools-reviewers,nchevobbe
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
status-firefox143:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 143 Branch
Updated•4 months ago
|
QA Whiteboard: [qa-triage-done-c144/b143]
You need to log in
before you can comment on or make changes to this bug.
Description
•