Closed
Bug 296399
Opened 20 years ago
Closed 20 years ago
Deer Park Alpha: Tab titles cannot be changed via script
Categories
(Firefox :: Tabbed Browser, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 295210
People
(Reporter: codedread, Unassigned)
References
Details
(Keywords: regression, testcase)
Attachments
(2 files)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050523 Firefox/1.0+ Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050523 Firefox/1.0+ I do not believe this is a dupe of Bug 294902 or 250423, since this functionality works properly in Firefox 1.0 but does NOT work in Deer Park Alpha 1 (20050523). Apparently you cannot change the title of a tab via script when multiple tabs are opened. The simplest file that will show this bug is: <html><body onload="document.title='Hello, world!';"/></html> Steps to reproduce: 1) open a new browser window, 2) open a new tab (so that there are at least two tabs opened, 3) browse to the above HTML doc. The title of the tab will not be "Hello, world!". Note that the title of the tab WILL be "Hello, world!" if you browse to this document without any tabs open. To see the problem a little more clearly, try this file: <html><head><script type="text/javascript"><!-- var gNum = 0; function changeTitle() { document.title="Number is " + (++gNum); } function start() { window.setInterval(changeTitle, 1000); } //--></script></head><body onload="start();"/></html> Steps to reproduce: 1) Browse to the above file, observe the title changes every second, 2) Open a new tab. The title of the tab will be frozen at the most recent change but will not update periodically after the tabs are open. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Comment 3•20 years ago
|
||
WFM Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8b2) Gecko/20050602 Firefox/1.0+ ID:2005060208 Reporter, are you sure you see this with a new profile (or more specifically, without any tab-related extensions installed)?
Comment 4•20 years ago
|
||
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050602 Firefox/1.0+ ID:2005060206 Confirming, new profile, no extensions. Doesn't even work for me with one tab open.
| Reporter | ||
Comment 5•20 years ago
|
||
No tab-related extensions installed. I didn't create a new profile, I only noticed that it works in Fx 1.0 and not in Fx 1.1+ (Deer Park Alpha). I didn't you could create attachments like that for the test cases. Cool. I'll do that for any new bugs I report.
| Reporter | ||
Comment 6•20 years ago
|
||
Steve (#3), does your "WFM" mean "Worked For Me"? I'm unclear on the terminology here. Anyway, I had 20050523 and I've updated to the nightly build 20050602 and it still doesn't work. Test Case 2 is probably an easier one to demonstrate. Right-click it and open in New Window. After you verify the title is updating every second, open a new tab.
Hardware: PC → Macintosh
Comment 7•20 years ago
|
||
Confirming on Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050531 Firefox/1.0+. This does work in 1.0 though.
Comment 8•20 years ago
|
||
this worked in 1.0
Comment 9•20 years ago
|
||
This is probably the same cause as bug 295210, so will likely be fixed by that.
Blocks: 295210
Updated•20 years ago
|
Comment 10•20 years ago
|
||
regressed between 20050428 1230pdt build - succeeds and 20050429 1658pdt build -fails http://tinderbox.mozilla.org/bonsai/cvsquery.cgi?treeid=default&module=PhoenixTinderbox&branch=HEAD&branchtype=match&dir=&file=&filetype=match&who=&whotype=match&sortby=Date&hours=2&date=explicit&mindate=2005-04-28+11%3A50%3A00&maxdate=2005-04-28+17%3A00%3A00&cvsroot=%2Fcvsroot main suspect bug 289940
Severity: normal → major
Keywords: testcase
Comment 11•20 years ago
|
||
jst/bz/sikking could you have a look
Comment 12•20 years ago
|
||
Peter, see comment 9.
Comment 13•20 years ago
|
||
(In reply to comment #12) > Peter, see comment 9. was too busy... you're right
Comment 14•20 years ago
|
||
*** This bug has been marked as a duplicate of 295210 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•