<div dir="ltr">On 20 December 2013 16:54, Code Raguet <span dir="ltr"><<a href="mailto:iraguet@activitycentral.com" target="_blank">iraguet@activitycentral.com</a>></span> wrote:<br><div class="gmail_extra"><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="im"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
We should not set window.top.sugar = {} from the javascript side. Instead we should if isStandalone callback({}).</blockquote>
</div><div>yes, we are on it</div><div><br></div><div><br></div>My point in this thread is:<div><br></div><div><b>should we develop thread-safe code when handling window.top props???</b></div><div><br></div><div>chrome: not mandatory</div>
</div></blockquote><div><br></div><div>But likely to be mandatory in the not too distant future.<br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">

<div>opera: yes, we should</div><div>webkit:   ??????????</div></div></blockquote><div><br></div><div>I suspect it's not mandatory at the moment, but I don't really know for sure.<br><br></div><div><br>I would probably try to write thread-safe code, if we run into some instance where that's very problematic we could reach out to the webkit developers and find out for sure.<br>
</div></div></div></div>