FAIL (57) [core] Make sure the script wasn't executed prematurely
Reported by Thatcher | February 17th, 2009 @ 01:45 PM | in 1.0 Release
This broke when we fixed inline script loading. In fact the output appears to show the script is loaded and executed twice before it supposed to be appended to the dom.
DIV loading script loading inline script :var foo='test'; writing text to temp url : js writing text to url : file:/c:/Users/thatcher/AppData/Local/Temp/envjs-tmp5199910130930820192js loading file:/c:/Users/thatcher/AppData/Local/Temp/envjs-tmp5199910130930820192js DIV loading script loading inline script :var foo='test'; writing text to temp url : js writing text to url : file:/c:/Users/thatcher/AppData/Local/Temp/envjs-tmp4462243158561331540js loading file:/c:/Users/thatcher/AppData/Local/Temp/envjs-tmp4462243158561331540js PASS (56) [core] Creating a script FAIL (57) [core] Make sure the script wasn't executed prematurely PASS (58) [core] Executing a scripts contents in the right context ...
Comments and changes to this ticket
-
Thatcher February 17th, 2009 @ 04:28 PM
- State changed from new to open
found out why it executed twice. HTMLElement.innerHMTL
-
Thatcher February 17th, 2009 @ 08:19 PM
- State changed from open to resolved
fixed
the script loading, though still fragile is in the HTMLHeadElement where it definitively belongs. I'll close this particular ticket though the issue will inevitably be reopened for particular case that need to be resolved.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
a javascript browser environment