UNCONFIRMED 17436
(Needs test) window.location should be about:blank while page is loading
https://bugs.webkit.org/show_bug.cgi?id=17436
Summary (Needs test) window.location should be about:blank while page is loading
Tony Chang
Reported 2008-02-19 14:17:56 PST
According to the HTML5 spec, while resolving a window.open, the new window location should be about:blank. http://www.whatwg.org/specs/web-apps/current-work/#open2 http://www.whatwg.org/specs/web-apps/current-work/#browsing0 In ToT WebKit, the location is /. This appears to be in WebCore/bindings/js/JSLocation.cpp which returns prettyURL() + "/", but sometimes the KURL is invalid so prettyURL() returns "".
Attachments
layout test (531 bytes, text/html)
2008-02-19 14:22 PST, Tony Chang
no flags
Tony Chang
Comment 1 2008-02-19 14:22:04 PST
Created attachment 19215 [details] layout test Here's a layout test that output the value of window.location during a window.open. This test would go in LayoutTests/fast/dom/Window/.
Tarun Nainani
Comment 2 2010-09-15 12:34:51 PDT
This bug no longer exist. Please close this bug.
Tony Chang
Comment 3 2010-09-15 14:45:15 PDT
I can't seem to repro either.
Alexey Proskuryakov
Comment 4 2010-09-15 16:01:31 PDT
We even have a test attached, should we land it?
Note You need to log in before you can comment on or make changes to this bug.