Closed Bug 306630 Opened 19 years ago Closed 19 years ago

frame with src=javascript:... doesn't load.

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.8beta4

People

(Reporter: jst, Assigned: jst)

References

Details

(Keywords: regression, verified1.8)

Attachments

(2 files)

After the split-window changes landed, a trivial frameset like this one doesn't
load the frame content:

<frameset rows="170,*">
<frame src="javascript:'frame1'">
<frame src="javascript:'frame2'">
</frameset>

Fix coming up.
Status: NEW → ASSIGNED
Flags: blocking1.8b4?
Target Milestone: --- → mozilla1.8beta4
Attached file testcase
Keywords: regression
Blocks: 305656
Comment on attachment 194484 [details] [diff] [review]
Force creation of inner window when loading a javascript: URL into the window

r=mrbkap
Attachment #194484 - Flags: review?(mrbkap) → review+
Comment on attachment 194484 [details] [diff] [review]
Force creation of inner window when loading a javascript: URL into the window

sr=bzbarsky, but I'd almost rather have an EnsureInner() method on
nsPIDOMWindow that internally gets the document and that callers can use so
they don't have to depend on GetDocument creating the inner...	Perhaps for
1.9?
Attachment #194484 - Flags: superreview?(bzbarsky) → superreview+
*** Bug 305656 has been marked as a duplicate of this bug. ***
No longer blocks: 305656
Attachment #194484 - Flags: approval1.8b4?
Comment on attachment 194484 [details] [diff] [review]
Force creation of inner window when loading a javascript: URL into the window

Maybe ref this bug in the comment, so we can do what bz suggested, and just cuz
it's not totally clear why GetDocument creates a new inner?

a=me anyway.

/be
Attachment #194484 - Flags: approval1.8b4? → approval1.8b4+
Flags: blocking1.8b4? → blocking1.8b4+
Done, and fixed on the trunk and branch. Filed bug 306642 on the issue bz
brought up...
Status: ASSIGNED → RESOLVED
Closed: 19 years ago
Keywords: fixed1.8
Resolution: --- → FIXED
Keywords: fixed1.8verified1.8
Keywords: fixed1.8
Keywords: fixed1.8
Flags: in-testsuite?
Added the testcase to reftest.
Flags: in-testsuite? → in-testsuite+
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: