Closed
Bug 99571
Opened 23 years ago
Closed 21 years ago
Cant navigate http://www.shades.dk/
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 222191
People
(Reporter: bugzilla, Unassigned)
References
()
Details
Attachments
(3 files)
Nuthing happens when pressing the menuitems on http://www.shades.dk/
build 20010910
---
Error: parent.Text.location has no properties
Source File: http://www.shades.dk/menu.asp
Line: 21
Comment 1•23 years ago
|
||
Text is the name of the right hand frame.
parent.Text.location.href=(strUrl + '.asp')
Comment 2•23 years ago
|
||
->networking.
Assignee: asa → neeti
Component: Browser-General → Networking
QA Contact: doronr → benc
-> javascript engine.
based on error message.
Component: Networking → Javascript Engine
javascript engine
Assignee: neeti → rogerl
QA Contact: benc → pschwartau
Reporter | ||
Updated•23 years ago
|
Summary: Can navigate http://www.shades.dk/ → Cant navigate http://www.shades.dk/
Reporter | ||
Comment 5•23 years ago
|
||
Reporter | ||
Comment 6•23 years ago
|
||
Reporter | ||
Comment 7•23 years ago
|
||
The problem is this:
you have a frameset with a frame named "Text"
the you from on of the files inside the frameset tries to do:
document.writeln(parent.Text.location.href);
you get nothing with Mozilla but the filename in IE. A bug in DOM?
Component: Javascript Engine → DOM Level 0
Comment 8•23 years ago
|
||
Setting default owner and QA -
Assignee: rogerl → jst
QA Contact: pschwartau → amar
Comment 9•23 years ago
|
||
Comment 10•23 years ago
|
||
The reson parent.Text.location.href="..." doesn't work in mozilla is that
parent.Text resolves to the constructor function for the "Text" class. This is
how 4x works too, but there's no "Text" class in 4x, but if you try the same in
4x with "Event" you'll see that parent.Event.location.href="..." won't work
either. I don't feel comfortable with changing the order in which we resolve
names in the DOM code to make parent.Text in this case resolve to the frame
named "Text" since that would cause inconsisutencies in the DOM's behavior
depending on frame names on pages. Not good. (Brendan, holler if you disagree)
Over to evangelism, this site needs to use a non-reserved name for their frame
if they want to access it by name.
Assignee: jst → piskozub
Component: DOM Level 0 → Europe: Central
Product: Browser → Tech Evangelism
QA Contact: amar → pali
Version: other → unspecified
Comment 11•23 years ago
|
||
I would think, for backward compatibility, that we'd lazily resolve frames
before late-model DOM level N (N > 0) constructors. Why would that order be
harmful?
/be
Comment 12•23 years ago
|
||
The order would be harmful because we rely on the order internally when setting
up the prototype chain of DOM objects. We could however reorder our code to not
rely on the window object's resolve order when setting up the proto's, and
you're probably right in that it's worth doing for backwards compatibility's
sake (although this is the only known case where it matters so far).
Taking bug again.
Assignee: piskozub → jst
Component: Europe: Central → DOM Level 0
Product: Tech Evangelism → Browser
QA Contact: pali → amar
Target Milestone: --- → mozilla0.9.8
Version: unspecified → other
Updated•23 years ago
|
Target Milestone: mozilla0.9.8 → mozilla0.9.9
Comment 14•23 years ago
|
||
Moving Netscape owned 0.9.9 and 1.0 bugs that don't have an nsbeta1, nsbeta1+,
topembed, topembed+, Mozilla0.9.9+ or Mozilla1.0+ keyword. Please send any
questions or feedback about this to adt@netscape.com. You can search for
"Moving bugs not scheduled for a project" to quickly delete this bugmail.
Target Milestone: mozilla1.0 → mozilla1.2
Comment 15•23 years ago
|
||
4xp, but not as severe as other 4xp bugs. jst, please advise on whether this
should hold mozilla1.0.
/be
Keywords: 4xp
Updated•22 years ago
|
Target Milestone: mozilla1.2alpha → ---
Comment 17•22 years ago
|
||
this is still an issue with the above URL, as far as I can see.
Comment 18•21 years ago
|
||
This was fixed some time ago in bug 222191. Marking as dup.
*** This bug has been marked as a duplicate of 222191 ***
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•