Closed Bug 51449 Opened 26 years ago Closed 26 years ago

js variable named "title" becomes empty string when read

Categories

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

defect

Tracking

()

VERIFIED DUPLICATE of bug 50682

People

(Reporter: jlb-bugz, Assigned: jst)

References

()

Details

(Keywords: testcase, top100, Whiteboard: [HAVE FIX][rtm+ need info])

Attachments

(3 files)

From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; WinNT4.0; en-US; m18) Gecko/20000904 BuildID: 2000090404 The left frame is supposed to be a collapsable outline. Triangular widgets are displayed and allow the outline to expand and contract but the text decorations are missing. Works fine in navigator 4.7. Reproducible: Always Steps to Reproduce: 1.go the url 2.see the missingness of the table of contents text 3. Actual Results: Expected Results:
I am experiencing the same problem. The right frame displays correctly in Netscape 4.74 and IE 5.01 but does not work in the most recent builds for win32. Clicking on the triangles causes the outline to expand but no text appears.
<script> title = 'mozilla'; alert("title=" + title); </script> In IE and NS4x, I get "title=mozilla" in the dialog. In Mozilla (2000092608/Win98), I get "title=". Replacing all occurrences of "title" in the page with "untitle" makes it work correctly.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
Summary: text goes missing in javascript table of contents → js variable named "title" becomes empty string when read
Attached file testcase —
This is a must fix for rtm (it breaks our own Javascript documentation and who knows what), right now the title property is completely broken, I have a fix for this and I'll attach this to this bug in a while.
Status: NEW → ASSIGNED
Keywords: correctness, rtm, top100
Priority: P3 → P1
Whiteboard: [HAVE FIX]
Target Milestone: --- → M19
Attached patch Proposed fix — — Splinter Review
OS: Windows NT → All
Hardware: PC → All
This sucker has to get in. jst, please seek reviews, and make the appropriate noises to pdt.
Marking [rtm need info]. Please get this reviewed. We'll rtm+ this once you've done that and pass this on to the pdt.
Whiteboard: [HAVE FIX] → [HAVE FIX][rtm need info]
Whiteboard: [HAVE FIX][rtm need info] → [HAVE FIX][rtm+ need info]
This turns out to be a dupe of bug 50682 which was fixed yesterday. *** This bug has been marked as a duplicate of 50682 ***
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → DUPLICATE
Verified Duplicate.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: