Bug 1025864 - Add observer updates when AudioParams change in the Web Audio Editor. r=vp, r=dcamp

This commit is contained in:
Jordan Santell
2014-08-19 08:57:00 -04:00
parent a9aad5af7a
commit 6bee33dfb7
11 changed files with 476 additions and 58 deletions

View File

@@ -4,6 +4,8 @@
"use strict";
let { utils: Cu, interfaces: Ci } = Components;
addMessageListener("devtools:test:history", function ({ data }) {
content.history[data.direction]();
});
@@ -16,3 +18,11 @@ 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();
});