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.

window.location.href should be a string

#70

The window.location.href should be a string.

In fact typeof window.location.href returns object.

I think this is probably a reference to the Java string created by the initializer in platform/rhino.js:

return new java.net.URL(path).toString();

Reported by fiann · June 2nd, 2009 @ 10:47 PM

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

Activity

  1. Thatcher
    Thatcher
    • Milestone set to 1.0 Release
    • State changed from new to resolved
    • Tag set to href, location, window
    • Assigned user set to Thatcher

    thanks for creating a ticket though. we'll add some unit tests for the window.location api to ensure it stays stable

    September 9th, 2009 @ 04:43 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.