Re: [ServiceWorker] add [NewObject] where appropriate (#692)

@wanderview Thanks for the suggestion. One thing to check before adding this is this rule specified in WebIDL: "The [NewObject] extended attribute must not be used on anything other than a regular or static operation **whose return type is an interface type**." (http://heycam.github.io/webidl/#NewObject)

I found @annevk used it for Promise type in fetch spec though. (https://fetch.spec.whatwg.org/#globalfetch)

/cc @annevk @heycam

---
Reply to this email directly or view it on GitHub:
https://github.com/slightlyoff/ServiceWorker/issues/692#issuecomment-99674700

Received on Thursday, 7 May 2015 01:44:29 UTC