Backed out changeset e7215fed014f (bug 1025864) for frequent OSX debug crashes.
This commit is contained in:
@@ -4,8 +4,6 @@
|
||||
|
||||
"use strict";
|
||||
|
||||
let { utils: Cu, interfaces: Ci } = Components;
|
||||
|
||||
addMessageListener("devtools:test:history", function ({ data }) {
|
||||
content.history[data.direction]();
|
||||
});
|
||||
@@ -18,11 +16,3 @@ addMessageListener("devtools:test:reload", function ({ data }) {
|
||||
data = data || {};
|
||||
content.location.reload(data.forceget);
|
||||
});
|
||||
|
||||
addMessageListener("devtools:test:forceCC", function () {
|
||||
let DOMWindowUtils = content.QueryInterface(Ci.nsIInterfaceRequestor)
|
||||
.getInterface(Ci.nsIDOMWindowUtils)
|
||||
DOMWindowUtils.cycleCollect();
|
||||
DOMWindowUtils.garbageCollect();
|
||||
DOMWindowUtils.garbageCollect();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user