Re: [w3c/ServiceWorker] Edge case for use of client.frameType (#1007)

As of this commenting, both Blink and Gecko still provide `client.frameType`. But that attribute is planned to be [deprecated](https://github.com/w3c/ServiceWorker/issues/732) in favor of `windowClient.ancestorOrigins`, which basically captures and returns the client's ancestor origins information in an array. E.g., `.ancestorOrigins` getters returning an empty array means the client is top level. I'm not sure about the exact time line for implementations, but will it work for your use case?

-- 
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/1007#issuecomment-262150783

Received on Tuesday, 22 November 2016 05:24:51 UTC