Closed
Bug 1647991
Opened 4 years ago
Closed 4 years ago
Make wasmDis optionally return a string
Categories
(Core :: JavaScript: WebAssembly, enhancement, P2)
Core
JavaScript: WebAssembly
Tracking
()
RESOLVED
FIXED
mozilla79
Tracking | Status | |
---|---|---|
firefox79 | --- | fixed |
People
(Reporter: lth, Assigned: lth)
Details
Attachments
(1 file)
We can automate some types of tests if wasmDis returns its output as a string rather than printing it to stderr. I need this for another bug.
Assignee | ||
Comment 1•4 years ago
|
||
This is useful for limited whitebox testing that inspects the assembly
output. Ask me about details (s-s).
The code, adding a thread-local, is not completely pretty. This
seemed like a better fix than adding the plumbing for a more elaborate
callback mechanism (basically we need to pass a context argument down
through the disassembly pipeline and adapt all the disassemblers),
though I'm open for discussion on this point.
Pushed by lhansen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/861b5e2a51e3
Allow wasmDis to return its result as a string. r=rhunt
Comment 3•4 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
status-firefox79:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
You need to log in
before you can comment on or make changes to this bug.
Description
•