[w3c/ServiceWorker] "if client is an environment" is always true (#1045)

https://github.com/w3c/ServiceWorker/commit/4ce01b53aa96982610c5a671808fae0967b69094#diff-27b79860afe28f01aed4f1f6228367faR1278 added if-else steps in several places in the wrong order, where it probably meant to be checking if *client* is the more specific category (an environment settings object) first, like https://github.com/w3c/ServiceWorker/commit/8b483b091e0f0bae6b698cf05d915c2029748ae0#diff-27b79860afe28f01aed4f1f6228367faR3533 did -- because "if client is an environment" is always true regardless.

-- 
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/1045

Received on Tuesday, 3 January 2017 02:53:08 UTC