diff options
author | wolfbeast <mcwerewolf@gmail.com> | 2017-06-27 00:12:45 +0200 |
---|---|---|
committer | wolfbeast <mcwerewolf@gmail.com> | 2018-02-03 17:54:08 +0100 |
commit | 648b569a2227b76cf39e060deff8b4081ba26f06 (patch) | |
tree | 9b7b838236aac3d904a85a140b8b62b5fd6601b9 /js/src/tests/shell.js | |
parent | f7352531b6f7442278bb8a7b95385db05ba4ae3c (diff) | |
download | UXP-648b569a2227b76cf39e060deff8b4081ba26f06.tar UXP-648b569a2227b76cf39e060deff8b4081ba26f06.tar.gz UXP-648b569a2227b76cf39e060deff8b4081ba26f06.tar.lz UXP-648b569a2227b76cf39e060deff8b4081ba26f06.tar.xz UXP-648b569a2227b76cf39e060deff8b4081ba26f06.zip |
Remove SetGCZeal() stub and its callers.
Diffstat (limited to 'js/src/tests/shell.js')
-rw-r--r-- | js/src/tests/shell.js | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/js/src/tests/shell.js b/js/src/tests/shell.js index 36dbc79da..c7a57953e 100644 --- a/js/src/tests/shell.js +++ b/js/src/tests/shell.js @@ -32,8 +32,6 @@ // Certain cached functionality only exists (and is only needed) when // running in the browser. Segregate that caching here. - var SpecialPowersSetGCZeal = - global.SpecialPowers ? global.SpecialPowers.setGCZeal : undefined; } var runningInShell = typeof window === "undefined"; @@ -205,19 +203,6 @@ global.quit = quit; } - var gczeal = global.gczeal; - if (typeof gczeal !== "function") { - if (typeof SpecialPowersSetGCZeal === "function") { - gczeal = function gczeal(z) { - SpecialPowersSetGCZeal(z); - }; - } else { - gczeal = function() {}; // no-op if not available - } - - global.gczeal = gczeal; - } - /****************************************************** * TEST METADATA EXPORTS (these are of dubious value) * ******************************************************/ |