Skip to content

Commit

Permalink
Bug 1843790 - Part 5: Rewrite toolkit/modules/InlineSpellChecker.sys.…
Browse files Browse the repository at this point in the history
…mjs consumers in html/xhtml to use ChromeUtils.importESModule. r=Gijs

Differential Revision: https://phabricator.services.mozilla.com/D183664
  • Loading branch information
arai-a committed Jul 18, 2023
1 parent b4cf7f9 commit b11f8d4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion accessible/tests/mochitest/events/test_textattrchange.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@

<script type="application/javascript">

const {InlineSpellChecker} = ChromeUtils.import("resource://gre/modules/InlineSpellChecker.jsm");
const {InlineSpellChecker} = ChromeUtils.importESModule(
"resource://gre/modules/InlineSpellChecker.sys.mjs"
);

function spelledTextInvoker(aID) {
this.DOMNode = getNode(aID);
Expand Down

0 comments on commit b11f8d4

Please sign in to comment.