Closed Bug 148772 Opened 22 years ago Closed 22 years ago

last loaded iframe title displayed in tab instead of main page title

Categories

(Core :: DOM: Navigation, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla1.3beta

People

(Reporter: megabyte, Assigned: radha)

References

Details

(Keywords: dataloss, Whiteboard: DUPEME?)

Attachments

(1 file)

If a page is loaded in a tab and an iframe on that page has document.write
called on it, the title in the tab disappears.
Attached file Testcase
Keywords: dataloss, mozilla1.1
I noticed this also changes the favicon to whatever is set by the iframe.
Summary: document.write into iframe kills title in tab → document.write into iframe kills title in tab and changes favicon
->
Component: DOM HTML → DOM Level 0
2002060208-trunk btw
To radha; I'm pretty sure this is a dup.
Assignee: jst → radha
Component: DOM Level 0 → History: Session
QA Contact: desale → claudius
Whiteboard: DUPEME
Not only document.write. Also happens with static pages with IFRAME. 

See the http://www.livesidebar.com (this page have one iframe in the right side,
the iframe will load another page after some seconds). This is major usability
issue - I will be adding folks. Adding asa and aaron (due to usability side of
the tthing) and important others. 

I could not find the original bug. I am wondering if this is impacting in some
security issue also. 
Summary: document.write into iframe kills title in tab and changes favicon → last loaded frame/iframe title displayed instead of main page title
*** Bug 152031 has been marked as a duplicate of this bug. ***
see also bug 130429
Whiteboard: DUPEME → DUPEME?
Whoops, this is related, but not the same as bug 152031.
Summary: last loaded frame/iframe title displayed instead of main page title → last loaded iframe title displayed in tab instead of main page title
Confirming on NT4.0 with Moz1.0 (2002053012)

Another thing to note: the titlebar of the Mozilla window correctly reflects the
page title; just the tab is wrong.

Should we change the component to Tabbed Browsing?
samir,  Can you point me to the person incharge of tabbed browsing? or better
point  me to the tabbed browsing code, so I can take a look myself. Thanks. 
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.2alpha
*** Bug 158410 has been marked as a duplicate of this bug. ***
Target Milestone: mozilla1.2alpha → mozilla1.3beta
No longer a problem
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Keywords: mozilla1.1
Resolution: --- → FIXED
Component: History: Session → Document Navigation
QA Contact: claudius → docshell
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: