Closed Bug 99571 Opened 23 years ago Closed 21 years ago

Cant navigate http://www.shades.dk/

Categories

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

x86
Windows 2000
defect
Not set
normal

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
Text is the name of the right hand frame. parent.Text.location.href=(strUrl + '.asp')
->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
Summary: Can navigate http://www.shades.dk/ → Cant navigate http://www.shades.dk/
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
Setting default owner and QA -
Assignee: rogerl → jst
QA Contact: pschwartau → amar
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
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
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
Target Milestone: mozilla0.9.8 → mozilla0.9.9
Pushing to mozilla1.0
Target Milestone: mozilla0.9.9 → mozilla1.0
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
4xp, but not as severe as other 4xp bugs. jst, please advise on whether this should hold mozilla1.0. /be
Keywords: 4xp
Target Milestone: mozilla1.2alpha → ---
Mass-reassigning bugs to dom_bugs@netscape.com
Assignee: jst → dom_bugs
this is still an issue with the above URL, as far as I can see.
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.

Attachment

General

Creator:
Created:
Updated:
Size: