Skip to content

Commit

Permalink
Bug 1897891 - Remove deprecated use of Node's util._extend in eslint-…
Browse files Browse the repository at this point in the history
…plugin-mozilla code. r=frontend-codestyle-reviewers,Gijs

Differential Revision: https://phabricator.services.mozilla.com/D210990
  • Loading branch information
Standard8 committed May 21, 2024
1 parent c01122d commit 830ec57
Showing 1 changed file with 10 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,20 +9,17 @@
"use strict";

var { globals } = require("./special-powers-sandbox");
var util = require("util");

module.exports = {
globals: util._extend(
{
// testing/specialpowers/content/SpecialPowersParent.sys.mjs
globals: {
// testing/specialpowers/content/SpecialPowersParent.sys.mjs
// SPLoadChromeScript block
createWindowlessBrowser: false,
sendAsyncMessage: false,
addMessageListener: false,
removeMessageListener: false,
actorParent: false,

// SPLoadChromeScript block
createWindowlessBrowser: false,
sendAsyncMessage: false,
addMessageListener: false,
removeMessageListener: false,
actorParent: false,
},
globals
),
...globals,
},
};

0 comments on commit 830ec57

Please sign in to comment.