RESOLVED WORKSFORME 49000
Location is lacking a constructor in DOMWindow.idl
https://bugs.webkit.org/show_bug.cgi?id=49000
Summary Location is lacking a constructor in DOMWindow.idl
Derk-Jan Hartman
Reported 2010-11-04 08:05:54 PDT
https://developer.mozilla.org/en/DOM/window.location "Returns a Location object, which contains information about the URL of the document and provides methods for changing that URL. You can also assign to this property to load another URL." When using the inspector I see that I actually do get a Location object returned from window.location. However alert(window.location instanceof Location) throws: ReferenceError: Can't find variable: Location Occording to Wildfox, this is because there is no constructor for Location.
Attachments
Derk-Jan Hartman
Comment 1 2013-08-28 02:55:03 PDT
I can still reproduce this in Version 6.0.5 (8536.30.1)
Derk-Jan Hartman
Comment 2 2015-06-30 13:44:34 PDT
This is fixed in at least Safari 9 seed 1, possibly earlier.
Alexey Proskuryakov
Comment 3 2015-07-01 01:26:57 PDT
Thank you for following up! This is indeed fixed in shipping Safari versions already, not sure when exactly.
Note You need to log in before you can comment on or make changes to this bug.