ServiceWorkerGlobalScope is a global object and should be marked as [ImplicitThis] in the IDL, similarly to what we do for Window. This allows a getter to be fallback to the global object as ThisValue when the cast of the ThisValue to the expected type fails.
Created attachment 328883 [details] Patch
Created attachment 328884 [details] Patch
Comment on attachment 328884 [details] Patch Clearing flags on attachment: 328884 Committed r225718: <https://trac.webkit.org/changeset/225718>
All reviewed patches have been landed. Closing bug.
<rdar://problem/35949192>