Re: [ServiceWorker] Specify .focus() and .openWindow() behaviour (#602)

[`window.focus()`](https://html.spec.whatwg.org/multipage/interaction.html#dom-window-focus) specifies this recommendation:
"Additionally, if this browsing context is a top-level browsing context, user agents are encouraged to trigger some sort of notification to indicate to the user that the page is attempting to gain focus."

but no security errors stuff at the moment. Putting this same condition would work for you?

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

Received on Monday, 26 January 2015 12:02:11 UTC