Bug 1134036 - Disable web audio editor's automation panel until bug 1125600 is fixed. r=vp

This commit is contained in:
Jordan Santell 2015-02-17 16:08:00 -05:00
parent 47cdfbf791
commit 462d4643cc
3 changed files with 11 additions and 9 deletions

View File

@ -27,19 +27,19 @@ support-files =
[browser_audionode-actor-connectnode-disconnect.js]
[browser_audionode-actor-connectparam.js]
skip-if = true # bug 1092571
[browser_audionode-actor-add-automation-event.js]
[browser_audionode-actor-get-automation-data-01.js]
[browser_audionode-actor-get-automation-data-02.js]
[browser_audionode-actor-get-automation-data-03.js]
# [browser_audionode-actor-add-automation-event.js] bug 1134036
# [browser_audionode-actor-get-automation-data-01.js] bug 1134036
# [browser_audionode-actor-get-automation-data-02.js] bug 1134036
# [browser_audionode-actor-get-automation-data-03.js] bug 1134036
[browser_callwatcher-01.js]
[browser_callwatcher-02.js]
[browser_webaudio-actor-simple.js]
[browser_webaudio-actor-destroy-node.js]
[browser_webaudio-actor-connect-param.js]
[browser_webaudio-actor-automation-event.js]
# [browser_webaudio-actor-automation-event.js] bug 1134036
[browser_wa_automation-view-01.js]
[browser_wa_automation-view-02.js]
# [browser_wa_automation-view-01.js] bug 1134036
# [browser_wa_automation-view-02.js] bug 1134036
[browser_wa_controller-01.js]
[browser_wa_destroy-node-01.js]
[browser_wa_first-run.js]

View File

@ -96,8 +96,10 @@
<tabs>
<tab id="properties-tab"
label="&webAudioEditorUI.tab.properties2;"/>
<!-- bug 1134036
<tab id="automation-tab"
label="&webAudioEditorUI.tab.automation;"/>
-->
</tabs>
<tabpanels flex="1">
<!-- Properties Panel -->

View File

@ -14,10 +14,10 @@ const protocol = require("devtools/server/protocol");
const { CallWatcherActor, CallWatcherFront } = require("devtools/server/actors/call-watcher");
const { ThreadActor } = require("devtools/server/actors/script");
const AutomationTimeline = require("./utils/automation-timeline");
const { on, once, off, emit } = events;
const { types, method, Arg, Option, RetVal } = protocol;
const ENABLE_AUTOMATION = false;
const AUTOMATION_GRANULARITY = 2000;
const AUTOMATION_GRANULARITY_MAX = 6000;
@ -680,7 +680,7 @@ let WebAudioActor = exports.WebAudioActor = protocol.ActorClass({
else if (WebAudioFront.NODE_CREATION_METHODS.has(name)) {
this._handleCreationCall(functionCall);
}
else if (WebAudioFront.AUTOMATION_METHODS.has(name)) {
else if (ENABLE_AUTOMATION && WebAudioFront.AUTOMATION_METHODS.has(name)) {
this._handleAutomationCall(functionCall);
}
},