Closed Bug 305428 Opened 19 years ago Closed 19 years ago

Due to splitwindow, window.location != window.document.location

Categories

(Core :: DOM: Core & HTML, defect)

x86
Linux
defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: bzbarsky, Assigned: mrbkap)

References

Details

(Keywords: fixed1.8, regression)

Attachments

(1 file)

At the moment, it's possible for us to have a docshell with no document loaded
in it (due to our frame recursion protection or due to the document not having
had time to load yet).  When this happens, for the docshell that doesn't have a
document loaded in it window.location will throw on being set (because there is
no inner window).  If window.document.location is set instead, things work,
since we synthesize an about:blank document.
Flags: blocking1.8b4?
Keywords: regression
Attached file Simple testcase
So I guess what it comes down to is that we may need to synthesize inner windows
(with an about:blank document) as needed...
Assignee: general → jst
Flags: blocking1.8b4? → blocking1.8b4+
Fixed by mrbkap, over to him to mark fixed for branches etc.
Assignee: jst → mrbkap
Flags: blocking1.8b5+
Fixed on trunk and MOZILLA_1_8_BRANCH by the checkin for bug 304882.
Status: NEW → RESOLVED
Closed: 19 years ago
Keywords: fixed1.8
Resolution: --- → FIXED
Verified FIXED using build 2005-08-27-05 SeaMonkey trunk on the testcase in
Windows XP.
Status: RESOLVED → VERIFIED
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: