Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

FAIL (57) [core] Make sure the script wasn't executed prematurely

#53

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
...

Reported by Thatcher · February 17th, 2009 @ 01:45 PM

State: resolved
Milestone: 1.0 Release
Assigned to: Thatcher Thatcher

Activity

  1. Thatcher
    Thatcher
    • State changed from new to open

    found out why it executed twice. HTMLElement.innerHMTL

    February 17th, 2009 @ 04:28 PM

  2. Thatcher
    Thatcher
    • 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.

    February 17th, 2009 @ 08:19 PM

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.