RESOLVED FIXED 66893
[WebAudio] Undeclared dependency to VIDEO
https://bugs.webkit.org/show_bug.cgi?id=66893
Summary [WebAudio] Undeclared dependency to VIDEO
Philippe Normand
Reported 2011-08-24 14:40:28 PDT
The createMediaElementSource() of AudioContext introduces a dependency on the VIDEO feature but it's not explicit, so this breaks: build-webkit --no-video --web-audio I tried to use [Conditional=VIDEO] as a prefix to the new method in the idl file but it seems this works only for attributes.
Attachments
proposed patch (7.15 KB, patch)
2011-08-25 00:18 PDT, Philippe Normand
webkit.review.bot: commit-queue-
proposed patch (8.94 KB, patch)
2011-08-25 04:38 PDT, Philippe Normand
webkit.review.bot: commit-queue-
proposed patch (9.00 KB, patch)
2011-08-29 01:36 PDT, Philippe Normand
webkit.review.bot: commit-queue-
proposed patch (8.98 KB, patch)
2011-08-29 07:42 PDT, Philippe Normand
webkit.review.bot: commit-queue-
proposed patch (9.10 KB, patch)
2011-08-29 07:59 PDT, Philippe Normand
webkit.review.bot: commit-queue-
updated patch (5.71 KB, patch)
2011-08-30 01:03 PDT, Philippe Normand
no flags
Philippe Normand
Comment 1 2011-08-25 00:18:27 PDT
Created attachment 105138 [details] proposed patch
WebKit Review Bot
Comment 2 2011-08-25 00:30:18 PDT
Comment on attachment 105138 [details] proposed patch Attachment 105138 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/9511260
WebKit Review Bot
Comment 3 2011-08-25 01:21:20 PDT
Comment on attachment 105138 [details] proposed patch Attachment 105138 [details] did not pass mac-ews (mac): Output: http://queues.webkit.org/results/9511284
WebKit Review Bot
Comment 4 2011-08-25 01:51:26 PDT
Comment on attachment 105138 [details] proposed patch Attachment 105138 [details] did not pass mac-ews (mac): Output: http://queues.webkit.org/results/9510309
Philippe Normand
Comment 5 2011-08-25 04:38:56 PDT
Created attachment 105160 [details] proposed patch
Philippe Normand
Comment 6 2011-08-25 04:39:56 PDT
(In reply to comment #5) > Created an attachment (id=105160) [details] > proposed patch This one should make the Chromium EWS happy. About the mac ews, not sure, it might need a clobber build.
WebKit Review Bot
Comment 7 2011-08-25 05:46:06 PDT
Comment on attachment 105160 [details] proposed patch Attachment 105160 [details] did not pass mac-ews (mac): Output: http://queues.webkit.org/results/9510377
Philippe Normand
Comment 8 2011-08-29 01:36:11 PDT
WebKit Review Bot
Comment 9 2011-08-29 01:41:39 PDT
Comment on attachment 105475 [details] proposed patch Attachment 105475 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/9567016
WebKit Review Bot
Comment 10 2011-08-29 01:44:01 PDT
Comment on attachment 105475 [details] proposed patch Attachment 105475 [details] did not pass mac-ews (mac): Output: http://queues.webkit.org/results/9563114
Eric Seidel (no email)
Comment 11 2011-08-29 05:59:59 PDT
Comment on attachment 105475 [details] proposed patch Attachment 105475 [details] did not pass cr-mac-ews (chromium): Output: http://queues.webkit.org/results/9564151
Philippe Normand
Comment 12 2011-08-29 07:42:07 PDT
Created attachment 105489 [details] proposed patch
WebKit Review Bot
Comment 13 2011-08-29 07:48:48 PDT
Comment on attachment 105489 [details] proposed patch Attachment 105489 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/9558318
WebKit Review Bot
Comment 14 2011-08-29 07:50:01 PDT
Comment on attachment 105489 [details] proposed patch Attachment 105489 [details] did not pass mac-ews (mac): Output: http://queues.webkit.org/results/9564176
Eric Seidel (no email)
Comment 15 2011-08-29 07:50:53 PDT
Comment on attachment 105489 [details] proposed patch Attachment 105489 [details] did not pass cr-mac-ews (chromium): Output: http://queues.webkit.org/results/9565154
Philippe Normand
Comment 16 2011-08-29 07:59:33 PDT
Created attachment 105492 [details] proposed patch
WebKit Review Bot
Comment 17 2011-08-29 08:11:33 PDT
Comment on attachment 105492 [details] proposed patch Attachment 105492 [details] did not pass mac-ews (mac): Output: http://queues.webkit.org/results/9565160
Chris Rogers
Comment 18 2011-08-29 14:56:32 PDT
Comment on attachment 105492 [details] proposed patch View in context: https://bugs.webkit.org/attachment.cgi?id=105492&action=review Hi Philippe, can you try my suggestion to avoid custom bindings? Thanks, Chris > Source/WebCore/webaudio/AudioContext.idl:62 > + [Custom] MediaElementAudioSourceNode createMediaElementSource(in HTMLMediaElement mediaElement) Can't we avoid using the Custom bindings and instead have something like this: #if defined(ENABLE_VIDEO) && ENABLE_VIDEO MediaElementAudioSourceNode createMediaElementSource(in HTMLMediaElement mediaElement) raises(DOMException); #endif
Philippe Normand
Comment 19 2011-08-30 01:03:55 PDT
Created attachment 105591 [details] updated patch
Philippe Normand
Comment 20 2011-08-30 01:04:54 PDT
(In reply to comment #18) > (From update of attachment 105492 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=105492&action=review > > Hi Philippe, can you try my suggestion to avoid custom bindings? > Good idea indeed! Thanks for the feedback.
WebKit Review Bot
Comment 21 2011-08-30 04:47:25 PDT
Comment on attachment 105591 [details] updated patch Attachment 105591 [details] did not pass mac-ews (mac): Output: http://queues.webkit.org/results/9565412
Philippe Normand
Comment 22 2011-09-01 08:20:05 PDT
Would you mind review this Kenneth? Chris did a first pass.
Kenneth Russell
Comment 23 2011-09-01 12:04:23 PDT
Comment on attachment 105591 [details] updated patch Looks fine to me.
Philippe Normand
Comment 24 2011-09-02 00:34:42 PDT
Philippe Normand
Comment 25 2011-09-02 00:58:22 PDT
I'll have a look at the mac build
Philippe Normand
Comment 26 2011-09-02 02:53:45 PDT
Build fix is to use Conditional=WEB_AUDIO&VIDEO in MediaElementAudioSourceNode.idl instead of 2 separate Conditional lines. I'll reland the patch, I verified the fix on my mac :)
Philippe Normand
Comment 27 2011-09-02 02:58:19 PDT
Note You need to log in before you can comment on or make changes to this bug.