Re: [w3c/ServiceWorker] Find a way for service workers to get their current state (#1077)

> For the naming, I give my five cents to self.serviceWorker and self.client. this.serviceWorker sounds better than this.thisServiceWorker to me.

I see your reasoning here, but do you think it would be confusing if both of these were true:

  `'ServiceWorker' in self`
  `'serviceWorker' in self`

One is the webidl interface and the other is an instance of that interface.  Single character differences in global names seems a bit dangerous to me.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/ServiceWorker/issues/1077#issuecomment-308435035

Received on Wednesday, 14 June 2017 13:44:24 UTC