Closed Bug 1934056 Opened 1 year ago Closed 1 year ago

Update document not to use JSM-based API in devtools

Categories

(DevTools :: General, task, P3)

task

Tracking

(firefox135 fixed)

RESOLVED FIXED
135 Branch
Tracking Status
firefox135 --- fixed

People

(Reporter: arai, Assigned: arai)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

The following documents are talking about JSM-based API.
they should be updated to talk about ESM-based API.

https://searchfox.org/mozilla-central/rev/691fb5ba2d1022cfe3fdc7b68e9460395c792300/devtools/docs/contributor/contributing/javascript.md#36

* `const { foo, bar } = ChromeUtils.import("...");`,

https://searchfox.org/mozilla-central/rev/691fb5ba2d1022cfe3fdc7b68e9460395c792300/devtools/docs/contributor/files/adding-files.md#39

### `ChromeUtils.import()`
Blocks: 1776174
Pushed by arai_a@mac.com: https://hg.mozilla.org/integration/autoland/rev/6094fad2611b Update devtools document to use ESM-based API. r=devtools-reviewers,ochameau
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 135 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: