Skip to content

Commit 94c6c5d

Browse files
committed
fix: move argument destructuring inside the function (due to Bug 1272784).
1 parent 557bdb1 commit 94c6c5d

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

data/inspector/frame-script.js

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,17 @@
11
/* See license.txt for terms of usage */
22

3-
(function({
3+
(function(global) {
4+
5+
"use strict";
6+
7+
const {
48
Components,
59
content,
610
addEventListener,
711
sendAsyncMessage,
812
addMessageListener,
9-
/*removeMessageListener*/
10-
}) {
11-
12-
"use strict";
13-
13+
/*removeMessageListener,*/
14+
} = global;
1415

1516
const Cu = Components.utils;
1617
/*const Cc = Components.classes;

0 commit comments

Comments
 (0)