#70 ✓resolved
fiann

window.location.href should be a string

Reported by fiann | June 2nd, 2009 @ 10:47 PM | in 1.0 Release

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();

Comments and changes to this ticket

  • Thatcher

    Thatcher September 9th, 2009 @ 04:43 PM

    • 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

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.

New-ticket Create new ticket

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

People watching this ticket

Pages