gecko-dev/dom/webidl/HiddenPluginEvent.webidl
Boris Zbarsky 19251f27ce Bug 1562680. Implement the new syntax for Web IDL dictionary defaulting. r=peterv
`= {}` can now be used to indicate that an optional dictionary should have the
default value of 'default-initialized dictionary'

Differential Revision: https://phabricator.services.mozilla.com/D36504

--HG--
extra : moz-landing-system : lando
2019-07-03 07:52:35 +00:00

13 lines
277 B
Plaintext

interface PluginTag;
[Constructor(DOMString type, optional HiddenPluginEventInit eventInit = {}), ChromeOnly]
interface HiddenPluginEvent : Event
{
readonly attribute PluginTag? tag;
};
dictionary HiddenPluginEventInit : EventInit
{
PluginTag? tag = null;
};