WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
65750
Remove LegacyDefaultOptionalArguments flag from web audio API
https://bugs.webkit.org/show_bug.cgi?id=65750
Summary
Remove LegacyDefaultOptionalArguments flag from web audio API
Mark Pilgrim (Google)
Reported
2011-08-04 22:28:12 PDT
As discussed in IRC, we are migrating our IDL files away from the interface-level "LegacyDefaultOptionalArguments" flag and onto argument-level [Optional] or [Optional=CallWithDefaultValue] flags. This patch migrates all remaining webaudio-related IDL files. This patch CHANGES BEHAVIOR, specifically it makes all arguments required in the noteOn(), noteGrainOn(), and noteOff() methods of AudioBufferSourceNode. This is in line with other changes already made to other parts of the web audio API which made all arguments required (for example, in AudioBuffer), so I'm assuming that this IDL file just got missed. AFAIK, web audio has no tests yet.
Attachments
Patch
(1.15 KB, patch)
2011-08-04 22:28 PDT
,
Mark Pilgrim (Google)
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Mark Pilgrim (Google)
Comment 1
2011-08-04 22:28:49 PDT
Created
attachment 103040
[details]
Patch
WebKit Review Bot
Comment 2
2011-08-05 00:45:31 PDT
Comment on
attachment 103040
[details]
Patch Clearing flags on attachment: 103040 Committed
r92459
: <
http://trac.webkit.org/changeset/92459
>
WebKit Review Bot
Comment 3
2011-08-05 00:45:35 PDT
All reviewed patches have been landed. Closing bug.
Chris Rogers
Comment 4
2011-08-06 19:52:23 PDT
I wish I had been on the CC list for this, because it was the intention that this argument should be optional (although admittedly the spec isn't clear about this).
Adam Barth
Comment 5
2011-08-06 21:08:20 PDT
I'm not sure which API you mean specifically, but Its easy to fix.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug