Bug 1238680 - Make dictionary arguments where a dictionary has a required member non-optional; r=bzbarsky

This commit is contained in:
Ehsan Akhgari 2016-01-11 13:43:57 -05:00
parent eabdcc1618
commit a01ebded31
4 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@
* related or neighboring rights to this work.
*/
[Constructor(DOMString type, optional NotificationEventInit eventInitDict),
[Constructor(DOMString type, NotificationEventInit eventInitDict),
Exposed=ServiceWorker,Func="mozilla::dom::Notification::PrefEnabled"]
interface NotificationEvent : ExtendableEvent {
readonly attribute Notification notification;

View File

@ -5,7 +5,7 @@
*/
[Constructor(DOMString type,
optional PresentationConnectionAvailableEventInit eventInitDict),
PresentationConnectionAvailableEventInit eventInitDict),
Pref="dom.presentation.enabled",
Func="Navigator::HasPresentationSupport"]
interface PresentationConnectionAvailableEvent : Event

View File

@ -24,7 +24,7 @@ enum SpeechSynthesisErrorCode {
"invalid-argument",
};
[Constructor(DOMString type, optional SpeechSynthesisErrorEventInit eventInitDict),
[Constructor(DOMString type, SpeechSynthesisErrorEventInit eventInitDict),
Pref="media.webspeech.synth.enabled"]
interface SpeechSynthesisErrorEvent : SpeechSynthesisEvent {
readonly attribute SpeechSynthesisErrorCode error;

View File

@ -10,7 +10,7 @@
* liability, trademark and document use rules apply.
*/
[Constructor(DOMString type, optional SpeechSynthesisEventInit eventInitDict),
[Constructor(DOMString type, SpeechSynthesisEventInit eventInitDict),
Pref="media.webspeech.synth.enabled"]
interface SpeechSynthesisEvent : Event
{