Friday, July 3, 2015

Re: local storage event

This only works if both tabs have the same origin. Otherwise the same origin policy of browsers will prevent the event for security reasons. So make sure both tabs have the same protocol:://domain:port combination.

Also keep in mind that some browsers do not provide storage if private browsing is used by the user. So you might consider using window.postMessage() instead of local storage for cross tab communication.

-- J.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment