Closed
Bug 1757999
Opened 4 years ago
Closed 4 years ago
HTTP wasm caching prevents debugging
Categories
(Core :: JavaScript Engine: JIT, defect, P2)
Core
JavaScript Engine: JIT
Tracking
()
RESOLVED
FIXED
People
(Reporter: yury, Assigned: yury)
References
(Blocks 2 open bugs)
Details
Attachments
(1 file)
Currently HTTP caching for WebAssembly does not allow baseline to select "debug" mode.
STR:
- Open web page, e.g. https://yurydelendik.github.io/sqlite-playground/src/playground.html
- Wait 5-10 seconds (allows cache entry to be created)
- Open devtools on Debugger tab
- Reload the page normal way, e.g. "Reload current page" or Cmd+R
Notice that wasm sources are not available.
Workaround:
- Select "disable caching" on Network tab
- Or, use Shift+Cmd+R to reload page
- Or, switch
javascript.options.wasm_cachingconfig entry tofalse
| Assignee | ||
Updated•4 years ago
|
Updated•4 years ago
|
Blocks: wasm-jit-bugs
Updated•4 years ago
|
Severity: -- → S3
| Assignee | ||
Comment 1•4 years ago
|
||
Updated•4 years ago
|
Attachment #9266583 -
Attachment description: WIP: Bug 1757999 - Disable fetch HTTP wasm caching if wasm debug enabled. → Bug 1757999 - Disable fetch HTTP wasm caching if wasm debug enabled.
| Assignee | ||
Comment 2•4 years ago
|
||
We want to have tests for this, leaving openned
Keywords: leave-open
Pushed by ydelendik@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/f137f28d9cb6
Disable fetch HTTP wasm caching if wasm debug enabled. r=necko-reviewers,lth,kershaw
Comment 4•4 years ago
|
||
| bugherder | ||
Updated•4 years ago
|
Blocks: wasm-caching
Status: NEW → ASSIGNED
| Assignee | ||
Comment 5•4 years ago
|
||
Some tests are landed at bug 1719615. More tests will be added with bug 1761327. Closing this bug.
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Updated•4 years ago
|
Keywords: leave-open
You need to log in
before you can comment on or make changes to this bug.
Description
•