Backed out changeset e7215fed014f (bug 1025864) for frequent OSX debug crashes.

This commit is contained in:
Ryan VanderMeulen
2014-08-27 14:12:31 -04:00
parent d40727fe5d
commit 5a14341b43
11 changed files with 53 additions and 472 deletions

View File

@@ -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();
});