Bug 17436

Summary: (Needs test) window.location should be about:blank while page is loading
Product: WebKit Reporter: Tony Chang <tony>
Component: WebCore JavaScriptAssignee: Nobody <webkit-unassigned>
Status: UNCONFIRMED ---    
Severity: Normal CC: ap, tnainani
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
layout test none

Description Tony Chang 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 "".
Comment 1 Tony Chang 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/.
Comment 2 Tarun Nainani 2010-09-15 12:34:51 PDT
This bug no longer exist. Please close this bug.
Comment 3 Tony Chang 2010-09-15 14:45:15 PDT
I can't seem to repro either.
Comment 4 Alexey Proskuryakov 2010-09-15 16:01:31 PDT
We even have a test attached, should we land it?