Closed
Bug 1777829
Opened 1 month ago
Closed 1 month ago
stub-generator-helpers.js should pass typed array to IOUtils.write
Categories
(DevTools :: General, defect)
DevTools
General
Tracking
(firefox104 fixed)
RESOLVED
FIXED
104 Branch
Tracking | Status | |
---|---|---|
firefox104 | --- | fixed |
People
(Reporter: arai, Assigned: arai)
References
Details
Attachments
(1 file)
const fileContent = `/* Any copyright is dedicated to the Public Domain.
...
`;
await IOUtils.write(filePath, fileContent);
FAIL Uncaught exception in test - at chrome://mochitests/content/browser/devtools/client/webconsole/test/browser/stub-generator-helpers.js:305 - TypeError: IOUtils.write: Argument 2 is not an object.
it should be await IOUtils.write(filePath, new TextEncoder().encode(fileContent));
Assignee | ||
Comment 1•1 month ago
|
||
Updated•1 month ago
|
Attachment #9283899 -
Attachment description: Bug 1777829 - Fix stub generator. r?#devtools-reviewers! → Bug 1777829 - Fix DevTools stub generator. r?#devtools-reviewers!
Comment 2•1 month ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 1 month ago
status-firefox104:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 104 Branch
You need to log in
before you can comment on or make changes to this bug.
Description
•