- From: Ehsan Akhgari <notifications@github.com>
- Date: Mon, 30 Nov 2015 08:50:21 -0800
- To: slightlyoff/ServiceWorker <ServiceWorker@noreply.github.com>
Received on Monday, 30 November 2015 16:50:54 UTC
According to the [WebIDL spec](http://heycam.github.io/webidl/#idl-operations), an optional argument with a dictionary type should always be considered to have a default value: > If the type of an argument is a dictionary type or a union type that has a dictionary type as one of its flattened member types, and that dictionary type and its ancestors have no required members, and the argument is either the final argument or is followed only by optional arguments, then the argument MUST be specified as optional. Such arguments are always considered to have a default value of an empty dictionary, unless otherwise specified. Section 4.3.2 step 1.2 of `Clients.matchAll()` currently specifies a different behavior for when the argument is omitted, which probably needs to be changed accordingly: > If the optional argument options is omitted, then: --- Reply to this email directly or view it on GitHub: https://github.com/slightlyoff/ServiceWorker/issues/792
Received on Monday, 30 November 2015 16:50:54 UTC