Closed Bug 1708919 Opened 3 years ago Closed 3 years ago

Debugger Panel is blank when trying to open WASM source

Categories

(DevTools :: Debugger, defect, P2)

defect

Tracking

(firefox90 verified)

VERIFIED FIXED
90 Branch
Tracking Status
firefox90 --- verified

People

(Reporter: bomsy, Assigned: bomsy)

References

(Blocks 2 open bugs)

Details

Attachments

(1 file)

While trying to investigate Bug 1706703, i came across this issue

STR

  1. In Firefox nightly go to https://lichess.org/analysis
  2. make sure the toggle (for local evaluation) is on
  3. Open the debugger
  4. If the Sources tree is empty refresh the page to display the sources
  5. In the sources tree go to
    Main Thread
    -> wasm://
    -> /lichess1.org/assets/_85a969/vendor/stockfish-nnue.wasm
    -> stockfish.js line 91 > Webassembly.instantiate:df90142deae6d21c

AR

The Debugger Panel goes blank after trying to open the file
Also was seeing this error in the browser toolbox console Error: Unknown operator: 64920 WasmParser.js:2154:30

ER

The file should open in the Editor

Assignee: nobody → hmanilla
Status: NEW → ASSIGNED
Blocks: dbg-wasm
Severity: -- → S3
Priority: -- → P2

Thank you Bomsy for upgrading the parser!

There's a r+ patch which didn't land and no activity in this bug for 2 weeks.
:bomsy, could you have a look please?
For more information, please visit auto_nag documentation.

Flags: needinfo?(jdescottes)
Flags: needinfo?(hmanilla)

Will land it in a bit, just try to add a good test for Bug 1709358

Flags: needinfo?(hmanilla)
Flags: needinfo?(jdescottes)
Pushed by hmanilla@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/2a4f40c5728f
[devtools] Upgrade the wasmparser version r=jdescottes
Status: ASSIGNED → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 90 Branch
Flags: qe-verify+

I've reproduced this bug on macOS 10.5, using the steps from comment 0, on an affected Nightly build (2021-05-01).

The bug is verified as fixed on Beta 90.0b4, across platforms: Win 10 x64, macOS 10.15 and Ubuntu 18.04 x64.

Status: RESOLVED → VERIFIED
Flags: qe-verify+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: