Open Bug 1934535 Opened 2 months ago Updated 24 days ago

Developer tools crash when trying to display a WebAssembly

Categories

(DevTools :: Debugger, defect, P2)

Firefox 133
defect

Tracking

(Not tracked)

UNCONFIRMED

People

(Reporter: David.Gausmann, Assigned: bomsy)

References

(Blocks 1 open bug, Regression)

Details

(Keywords: regression)

Attachments

(1 file)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:133.0) Gecko/20100101 Firefox/133.0

Steps to reproduce:

I am on a website with a WebAssembly file. I open the developer tools and click on the wasm file.
The text displays "Reload to debug this module". Then I press F5 to reload the page.

Actual results:

Firefox crashes because it consumes 100 % processor calculation (like with an infinite loop).

Expected results:

I should have been able to debug the WebAssembly.

I've run a bisection and found this commit as reason:
2024-12-02T11:52:00.067000: DEBUG : Found commit message:
Bug 1900395 - [devtools] Fix keyboard navigation and outline tests r=devtools-reviewers,ochameau

Differential Revision: https://phabricator.services.mozilla.com/D224881

I think this bug has something to do with syntax highlighting. In all working Firefox versions the text "Reload to debug this module." was just text without syntax higlighting. In all crashing Firefox versions the text was blue and the word "this" had a different color.

The Bugbug bot thinks this bug should belong to the 'Core::JavaScript: WebAssembly' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.

Component: Untriaged → JavaScript: WebAssembly
Product: Firefox → Core

(In reply to David Gausmann from comment #1)

I've run a bisection and found this commit as reason:
2024-12-02T11:52:00.067000: DEBUG : Found commit message:
Bug 1900395 - [devtools] Fix keyboard navigation and outline tests r=devtools-reviewers,ochameau

Differential Revision: https://phabricator.services.mozilla.com/D224881

Thanks for the bisection. Marking dependency.

Flags: needinfo?(hmanilla)
Keywords: regression
Regressed by: 1900395

Thanks for the ping! i'll take a look!

Flags: needinfo?(hmanilla)
Flags: needinfo?(hmanilla)
Blocks: 1904488
Flags: needinfo?(hmanilla)
Assignee: nobody → hmanilla
Severity: -- → S3
Priority: -- → P2
Component: JavaScript: WebAssembly → Debugger
Product: Core → DevTools
See Also: → 1935157
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: