diff options
author | Matt A. Tobin <email@mattatobin.com> | 2018-02-03 15:50:22 -0500 |
---|---|---|
committer | Matt A. Tobin <email@mattatobin.com> | 2018-02-03 15:50:22 -0500 |
commit | 0083d404eff36f873cde465d50cd34b112bd124f (patch) | |
tree | 465b1f4322c3a2439903d9cabb068169bf6b42c9 /js/src/tests/shell.js | |
parent | c6856f968b8c85502f14c6c3412b00a05fc0c0de (diff) | |
parent | 10494e1b7d0b3cd945bb76dca10f5637cf786f27 (diff) | |
download | UXP-0083d404eff36f873cde465d50cd34b112bd124f.tar UXP-0083d404eff36f873cde465d50cd34b112bd124f.tar.gz UXP-0083d404eff36f873cde465d50cd34b112bd124f.tar.lz UXP-0083d404eff36f873cde465d50cd34b112bd124f.tar.xz UXP-0083d404eff36f873cde465d50cd34b112bd124f.zip |
Merge branch 'master' into configurebuild-work
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) * ******************************************************/ |