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.

docuent.getElementsByTag('head') is borking in unit tests

#158

Had to undo this test since it was not finding a head element. Not sure why.

+    //
+    // this document does not have a head which is a problem in an of itself
+    //document.getElementsByTagName('head')[0].appendChild(element);
+    //equals(document.ASDFASDF, 'QWERQWER', 'script appended to head executes');

Reported by nickg · April 18th, 2010 @ 04:26 AM

State: new
Milestone: none
Assigned to: nobody

Activity

  1. gleneivey
    gleneivey

    Only because the boot.js was changed so that dist/window.js was no longer included. No window.js => window.location="" does nothing => window.document not populated from index.html => no element. There's a longer explanation of this (and how I think we should solve it by always using env.rhino.js for ant tests) in my email to envjs@googlegroups.com earlier today.

    April 18th, 2010 @ 08:34 AM

  2. nickg
    nickg

    Hi Glen,

    yeah I hear yeah, I just filled this ticket so I did't forget.

    I have to run out the door, but want to read through your email more carefully, but overall agree.

    April 18th, 2010 @ 08:38 AM

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.