Closed
Bug 264102
Opened 21 years ago
Closed 21 years ago
Chrome should use document.title instead of window.title
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
People
(Reporter: neil, Unassigned)
References
Details
(Keywords: helpwanted)
Attachments
(12 files, 4 obsolete files)
2.33 KB,
patch
|
jst
:
review+
peterv
:
superreview+
|
Details | Diff | Splinter Review |
4.18 KB,
patch
|
neil
:
review+
neil
:
superreview+
|
Details | Diff | Splinter Review |
10.92 KB,
patch
|
neil
:
review+
Bienvenu
:
superreview+
|
Details | Diff | Splinter Review |
6.58 KB,
patch
|
vlad
:
review+
|
Details | Diff | Splinter Review |
4.49 KB,
patch
|
mscott
:
review+
|
Details | Diff | Splinter Review |
3.55 KB,
patch
|
glazou
:
review+
neil
:
superreview+
|
Details | Diff | Splinter Review |
1.09 KB,
patch
|
BenB
:
review+
|
Details | Diff | Splinter Review |
1.64 KB,
patch
|
rginda
:
review+
|
Details | Diff | Splinter Review |
806 bytes,
patch
|
neil
:
review+
|
Details | Diff | Splinter Review |
1.83 KB,
patch
|
iannbugzilla
:
review+
darin.moz
:
superreview+
|
Details | Diff | Splinter Review |
967 bytes,
patch
|
neil
:
review+
neil
:
superreview+
|
Details | Diff | Splinter Review |
1.69 KB,
patch
|
neil
:
review+
neil
:
superreview+
|
Details | Diff | Splinter Review |
<Neil> jst: so, why did we have a title attribute on all window objects?
<jst> Neil: because someone screwed up and added it for no reason
Note that window.title is only available on chrome windows, and it has its own
implementation, while document.title is correctly loaded from the XUL.
Reporter | ||
Comment 1•21 years ago
|
||
Reporter | ||
Updated•21 years ago
|
Attachment #162334 -
Flags: superreview?(peterv)
Attachment #162334 -
Flags: review?(jst)
Updated•21 years ago
|
Attachment #162334 -
Flags: superreview?(peterv) → superreview+
Comment 2•21 years ago
|
||
Comment on attachment 162334 [details] [diff] [review]
Make deprecated window.title shadow document.title
sr=jst
Attachment #162334 -
Flags: review?(jst) → review+
Comment 10•21 years ago
|
||
Comment 11•21 years ago
|
||
Attachment #162893 -
Flags: review?(neil.parkwaycc.co.uk)
Attachment #162905 -
Flags: review?(neil.parkwaycc.co.uk)
Attachment #162926 -
Flags: review?(rginda)
Attachment #162922 -
Flags: review?(daniel)
Attachment #162924 -
Flags: review?(mozilla)
Comment 12•21 years ago
|
||
Comment on attachment 162926 [details] [diff] [review]
venkman fixes v0.1
r=rginda
Attachment #162926 -
Flags: review?(rginda) → review+
Attachment #162923 -
Flags: review?(neil.parkwaycc.co.uk)
Attachment #162928 -
Flags: review?(neil.parkwaycc.co.uk)
Updated•21 years ago
|
Attachment #162924 -
Flags: review?(mozilla) → review+
Reporter | ||
Updated•21 years ago
|
Attachment #162893 -
Flags: superreview+
Attachment #162893 -
Flags: review?(neil.parkwaycc.co.uk)
Attachment #162893 -
Flags: review+
Attachment #162922 -
Flags: review?(daniel) → review+
Reporter | ||
Updated•21 years ago
|
Attachment #162928 -
Flags: review?(neil.parkwaycc.co.uk) → review+
Reporter | ||
Comment 14•21 years ago
|
||
Comment on attachment 162923 [details] [diff] [review]
p3p fixes v0.1
It looks like you're setting the title of the wrong document.
Attachment #162923 -
Flags: review?(neil.parkwaycc.co.uk) → review-
Attachment #162909 -
Flags: review?(vladimir)
Comment on attachment 162909 [details] [diff] [review]
toolkit fixes v0.1
r=vladimir
Attachment #162909 -
Flags: review?(vladimir) → review+
Reporter | ||
Comment 16•21 years ago
|
||
Comment on attachment 162905 [details] [diff] [review]
mailnews fixes v0.1
Note that sendProgress.js is already covered by bug 260217.
Attachment #162905 -
Flags: review?(neil.parkwaycc.co.uk) → review+
Comment 17•21 years ago
|
||
So the editor and mailnews patches in here will bit rot you?
Reporter | ||
Comment 18•21 years ago
|
||
Well, you could always forget to check those files in ;-)
Attachment #162905 -
Flags: superreview?(bienvenu)
Attachment #162920 -
Flags: review?(mscott)
Comment 19•21 years ago
|
||
Attachment #162923 -
Attachment is obsolete: true
Attachment #163123 -
Flags: review?(neil.parkwaycc.co.uk)
Reporter | ||
Comment 20•21 years ago
|
||
Comment on attachment 163123 [details] [diff] [review]
p3p fixes v0.2
Sorry, but this.title and window.title are synonyms at this point in the code.
Attachment #163123 -
Flags: review?(neil.parkwaycc.co.uk) → review-
Comment 21•21 years ago
|
||
Attachment #163123 -
Attachment is obsolete: true
Attachment #163173 -
Flags: review?(neil.parkwaycc.co.uk)
Reporter | ||
Comment 22•21 years ago
|
||
Comment on attachment 163173 [details] [diff] [review]
p3p fixes v0.3
I don't think you need the XUL change though, it seems to work fine without it.
Attachment #163173 -
Flags: review?(neil.parkwaycc.co.uk) → review+
Comment 23•21 years ago
|
||
Attachment #163173 -
Attachment is obsolete: true
Comment 24•21 years ago
|
||
Comment on attachment 163206 [details] [diff] [review]
p3p fixes v0.3a
Removed .xul changes, as not needed, carring forward r= and requesting sr=
Attachment #163206 -
Flags: superreview?(mkaply)
Attachment #163206 -
Flags: review+
Comment 25•21 years ago
|
||
Checking in venkman fixes:
Checking in venkman-bpprops.js;
/cvsroot/mozilla/extensions/venkman/resources/content/venkman-bpprops.js,v <--
venkman-bpprops.js
new revision: 1.4; previous revision: 1.3
done
Comment 26•21 years ago
|
||
Checking in sroaming fixes:
Checking in progressDialog.js;
/cvsroot/mozilla/extensions/sroaming/resources/content/transfer/progressDialog.js,v
<-- progressDialog.js
new revision: 1.5; previous revision: 1.4
done
Comment 27•21 years ago
|
||
Checking in xpfe fixes:
Checking in components/filepicker/res/content/filepicker.js;
/cvsroot/mozilla/xpfe/components/filepicker/res/content/filepicker.js,v <--
filepicker.js
new revision: 1.91; previous revision: 1.90
done
Checking in global/resources/content/bindings/tabbrowser.xml;
/cvsroot/mozilla/xpfe/global/resources/content/bindings/tabbrowser.xml,v <--
tabbrowser.xml
new revision: 1.104; previous revision: 1.103
done
Checking in global/resources/content/commonDialog.js;
/cvsroot/mozilla/xpfe/global/resources/content/commonDialog.js,v <--
commonDialog.js
new revision: 1.55; previous revision: 1.54
done
Checking in global/resources/content/selectDialog.js;
/cvsroot/mozilla/xpfe/global/resources/content/selectDialog.js,v <--
selectDialog.js
new revision: 1.21; previous revision: 1.20
done
Attachment #162922 -
Flags: superreview?(bzbarsky)
Attachment #162922 -
Flags: superreview?(bzbarsky) → superreview?(neil.parkwaycc.co.uk)
Comment 28•21 years ago
|
||
Checking in xmlterm fixes:
Checking in XMLTermChrome.js;
/cvsroot/mozilla/extensions/xmlterm/ui/content/XMLTermChrome.js,v <--
XMLTermChrome.js
new revision: 1.8; previous revision: 1.7
done
Comment 29•21 years ago
|
||
Checking in toolkit fixes:
Checking in mozapps/downloads/content/downloads.js;
/cvsroot/mozilla/toolkit/mozapps/downloads/content/downloads.js,v <-- downloads.js
new revision: 1.31; previous revision: 1.30
done
Checking in content/widgets/tabbrowser.xml;
/cvsroot/mozilla/toolkit/content/widgets/tabbrowser.xml,v <-- tabbrowser.xml
new revision: 1.50; previous revision: 1.49
done
Checking in content/selectDialog.js;
/cvsroot/mozilla/toolkit/content/selectDialog.js,v <-- selectDialog.js
new revision: 1.2; previous revision: 1.1
done
Checking in content/commonDialog.js;
/cvsroot/mozilla/toolkit/content/commonDialog.js,v <-- commonDialog.js
new revision: 1.3; previous revision: 1.2
done
Checking in components/filepicker/content/filepicker.js;
/cvsroot/mozilla/toolkit/components/filepicker/content/filepicker.js,v <--
filepicker.js
new revision: 1.9; previous revision: 1.8
done
Updated•21 years ago
|
Attachment #162905 -
Flags: superreview?(bienvenu) → superreview+
Comment 30•21 years ago
|
||
Checked in mailnews fixes (apart from sendProgress.js which will be in fix to
bug 260217)
Reporter | ||
Comment 31•21 years ago
|
||
Checked in the patch to send window.title to document.title with a warning.
Reporter | ||
Comment 32•21 years ago
|
||
Comment on attachment 162922 [details] [diff] [review]
editor fixes v0.1
sr=me with EdColorPicker.js caveat.
Attachment #162922 -
Flags: superreview?(neil.parkwaycc.co.uk) → superreview+
Comment 33•21 years ago
|
||
Comment on attachment 162922 [details] [diff] [review]
editor fixes v0.1
Checked in editor fixes without EdColorPicker.js changes as these will be fixed
in the patch to bug 260217
Comment 34•21 years ago
|
||
Comment on attachment 163206 [details] [diff] [review]
p3p fixes v0.3a
I'm not an sr
Attachment #163206 -
Flags: superreview?(mkaply) → superreview?(darin)
Updated•21 years ago
|
Attachment #163206 -
Flags: superreview?(darin) → superreview+
Comment 35•21 years ago
|
||
Comment on attachment 163206 [details] [diff] [review]
p3p fixes v0.3a
Checking in p3pSummary.js;
/cvsroot/mozilla/extensions/p3p/resources/content/p3pSummary.js,v <--
p3pSummary.js
new revision: 1.7; previous revision: 1.6
done
Updated•21 years ago
|
Attachment #162920 -
Flags: review?(mscott) → review+
Comment 36•21 years ago
|
||
Comment on attachment 162920 [details] [diff] [review]
mail fixes v0.1
Checking in base/content/commandglue.js;
/cvsroot/mozilla/mail/base/content/commandglue.js,v <-- commandglue.js
new revision: 1.42; previous revision: 1.41
done
Checking in components/addrbook/content/abAddressBookNameDialog.js;
/cvsroot/mozilla/mail/components/addrbook/content/abAddressBookNameDialog.js,v
<-- abAddressBookNameDialog.js
new revision: 1.3; previous revision: 1.2
done
Checking in components/addrbook/content/abCardOverlay.js;
/cvsroot/mozilla/mail/components/addrbook/content/abCardOverlay.js,v <--
abCardOverlay.js
new revision: 1.6; previous revision: 1.5
done
Checking in components/compose/content/MsgComposeCommands.js;
/cvsroot/mozilla/mail/components/compose/content/MsgComposeCommands.js,v <--
MsgComposeCommands.js
new revision: 1.55; previous revision: 1.54
done
Comment 37•21 years ago
|
||
last 3 places fixed.
Comment 38•21 years ago
|
||
I think there is still one place where window.title is used and it's in the
browser download progress window. Anybody would like to take care of that too?
Neil's patch didn't address this (Seamonkey build ID: 2004111704).
Comment 39•21 years ago
|
||
Comment on attachment 164333 [details] [diff] [review]
various (inspector,pki and calendar)
Could you request reviews for this patch please.
Comment 40•21 years ago
|
||
Attachment #166437 -
Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #166437 -
Flags: review?(neil.parkwaycc.co.uk)
Updated•21 years ago
|
Attachment #164333 -
Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #164333 -
Flags: review?(neil.parkwaycc.co.uk)
Reporter | ||
Comment 41•21 years ago
|
||
Comment on attachment 166437 [details] [diff] [review]
progressDlg fix v0.1
That comment was misleading even before the patch and it's even more misleading
now; it would be nice if you could fix it using a meaningful form of words.
Attachment #166437 -
Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #166437 -
Flags: superreview+
Attachment #166437 -
Flags: review?(neil.parkwaycc.co.uk)
Attachment #166437 -
Flags: review+
Reporter | ||
Comment 42•21 years ago
|
||
Comment on attachment 164333 [details] [diff] [review]
various (inspector,pki and calendar)
>Index: ./extensions/inspector/resources/content/inspector.js
./ prefixes on your file names? Don't ask me to check this in for you.
> var title = dialogParams.GetString(2);
>- window.title = title;
>+ document.title = title;
Hardly worth a separate variable, might as well fold these two lines into one
while you're here.
>Index: ./calendar/resources/content/printDialog.js
I'll give you a chance to get a calendar review for this.
Attachment #164333 -
Flags: superreview?(neil.parkwaycc.co.uk) → superreview+
Comment 43•21 years ago
|
||
Comment on attachment 166437 [details] [diff] [review]
progressDlg fix v0.1
Requesting a= for very simple, low risk fix
Will change comment in patch to
// Set dialog's title attribute.
Attachment #166437 -
Flags: approval1.8a5?
Comment 44•21 years ago
|
||
per Comment 42.
Also removed calendar part because it's commented out for the moment.
Attachment #164333 -
Attachment is obsolete: true
Updated•21 years ago
|
Attachment #166636 -
Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #166636 -
Flags: review?(neil.parkwaycc.co.uk)
Reporter | ||
Updated•21 years ago
|
Attachment #166636 -
Flags: superreview?(neil.parkwaycc.co.uk)
Attachment #166636 -
Flags: superreview+
Attachment #166636 -
Flags: review?(neil.parkwaycc.co.uk)
Attachment #166636 -
Flags: review+
Attachment #166437 -
Flags: approval1.8a5?
Comment 45•21 years ago
|
||
Comment on attachment 166437 [details] [diff] [review]
progressDlg fix v0.1
Checking in nsProgressDialog.js;
/cvsroot/mozilla/embedding/components/ui/progressDlg/nsProgressDialog.js,v <--
nsProgressDialog.js
new revision: 1.42; previous revision: 1.41
done
Comment 46•21 years ago
|
||
Comment on attachment 166636 [details] [diff] [review]
various (inspector,pki)
Checking in security/manager/pki/resources/content/serverCertExpired.js;
/cvsroot/mozilla/security/manager/pki/resources/content/serverCertExpired.js,v
<-- serverCertExpired.js
new revision: 1.14; previous revision: 1.13
done
Checking in extensions/inspector/resources/content/inspector.js;
/cvsroot/mozilla/extensions/inspector/resources/content/inspector.js,v <--
inspector.js
new revision: 1.21; previous revision: 1.20
done
Reporter | ||
Comment 47•21 years ago
|
||
*** Bug 272105 has been marked as a duplicate of this bug. ***
Comment 48•21 years ago
|
||
Certain parts will need to be relanded once aviary branch has landed on trunk
Whiteboard: reland-irsn
Attachment #164333 -
Flags: review?(neil.parkwaycc.co.uk)
Comment 50•21 years ago
|
||
*** Bug 272498 has been marked as a duplicate of this bug. ***
Comment 52•21 years ago
|
||
Please, correct me if I'm wrong.
After aviary-landing:
http://lxr.mozilla.org/seamonkey/source/toolkit/components/filepicker/content/filepicker.js#75
http://lxr.mozilla.org/seamonkey/source/toolkit/content/commonDialog.js#102
http://lxr.mozilla.org/seamonkey/source/toolkit/content/selectDialog.js#79
http://lxr.mozilla.org/seamonkey/source/toolkit/mozapps/downloads/content/downloads.js#166
http://lxr.mozilla.org/seamonkey/source/toolkit/mozapps/downloads/content/downloads.js#413
http://lxr.mozilla.org/seamonkey/source/toolkit/mozapps/downloads/content/downloads.js#433
http://lxr.mozilla.org/seamonkey/source/toolkit/mozapps/downloads/content/downloads.js#446
There is also some code like:
var newW = window.open();
newW.title = "foo";
which is pretty hard to find for me...
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Comment 53•21 years ago
|
||
It's fixed in cvs. lxr/seamonkey currently updates nightly.
Status: REOPENED → RESOLVED
Closed: 21 years ago → 21 years ago
Resolution: --- → FIXED
Updated•21 years ago
|
Keywords: aviary-landing
Whiteboard: reland-irsn
Updated•12 years ago
|
Component: DOM: Mozilla Extensions → DOM
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•