<div dir="ltr"><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>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>opera: yes, we should</div><div>webkit:   ??????????</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Dec 19, 2013 at 11:08 PM, Rogelio Mita <span dir="ltr"><<a href="mailto:rogeliomita@activitycentral.com" target="_blank">rogeliomita@activitycentral.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="im"><div class="gmail_extra"><br><div class="gmail_quote">2013/12/19 Daniel Narvaez <span dir="ltr"><<a href="mailto:dwnarvaez@gmail.com" target="_blank">dwnarvaez@gmail.com</a>></span><br>
<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">

<div>This code in getEnvironment is wrong, just a thinko by me.<br><br>We should not set window.top.sugar = {} from the javascript side. Instead we should if isStandalone callback({}).</div></blockquote></div></div></div>
<div class="gmail_extra">

<br>This is related with "[web-activity] functional tests and env.isStandalone's current implementation" email, we were trying to do this, and we find with this questions...<span class="HOEnZb"><font color="#888888"><br>
<br clear="all"><div><br></div>

-- <br>Roger<div><br><div><a href="http://activitycentral.com/" target="_blank">Activity Central</a></div></div>
</font></span></div></div>
</blockquote></div><br></div>