Closed
Bug 412434
Opened 17 years ago
Closed 17 years ago
opening a window with -chrome does not work anymore
Categories
(Thunderbird :: General, defect)
Thunderbird
General
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: arno, Assigned: arno)
References
Details
(Keywords: regression, verified1.8.1.22)
Attachments
(2 files)
(deleted),
patch
|
mscott
:
review+
Bienvenu
:
superreview+
|
Details | Diff | Splinter Review |
(deleted),
patch
|
dveditz
:
approval1.8.1.next+
|
Details | Diff | Splinter Review |
Hi,
I have an extension whose main window is chrome://myext/content/myext.xul
I used to open it with
thunderbird -chrome chrome://myext/content/myext.xul
but now, it does not work anymore: I get "ReferenceError: resolveURIInternal is not defined" on the console, and thunderbird does not launch. Actually, components/nsMailDefaultHandler.js calls resolveURIInternal, but that function is defined nowhere in the file: http://mxr.mozilla.org/mozilla/source/mail/components/nsMailDefaultHandler.js#232
It seems this bug was introduced by fix for bug #395942.
If I define resolveURIInternal (by copying it from http://mxr.mozilla.org/mozilla/source/browser/components/nsBrowserContentHandler.js#83), -chrome works fine again.
Assignee | ||
Comment 1•17 years ago
|
||
Assignee: nobody → arno.@no-log.org
Status: NEW → ASSIGNED
Assignee | ||
Updated•17 years ago
|
Attachment #297156 -
Flags: review?(mscott)
Assignee | ||
Comment 2•17 years ago
|
||
I don't known if it needs to be fixed on 1.8 branch. But in such a case, here is a patch for 1.8 branch
Updated•17 years ago
|
Blocks: CVE-2007-5045
Comment 3•17 years ago
|
||
I'm a bit confused by this, I remember we fixed this on the 1.8 branch and the trunk a couple months ago to get bob clary's spidermonkey tools to work.
Comment 4•17 years ago
|
||
I remember bug 378942 for spider's -url param from last spring, and I see bug 322808 for -chrome, from the spring before, but CVS and I don't seem to remember any commandline changes a couple of months ago, post-QuickTime-pwns-Firefox.
Comment 5•17 years ago
|
||
(In reply to comment #3)
> I'm a bit confused by this, I remember we fixed this on the 1.8 branch and the
> trunk a couple months ago to get bob clary's spidermonkey tools to work.
Scott, it looks like Bug 395942 added the use of the resolveURIInternal function in the same manner as Firefox and Seamonkey uses it... the only trouble is nsMailDefaultHandler.js doesn't have resolveURIInternal function!
Comment 6•17 years ago
|
||
Comment on attachment 297156 [details] [diff] [review]
fixes bug on trunk
ah I see. Thanks Rob & Phil and of course arno for making the patch!
Attachment #297156 -
Flags: review?(mscott) → review+
Comment 7•17 years ago
|
||
mail/components/nsMailDefaultHandler.js 1.11
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Flags: wanted1.8.1.x?
Resolution: --- → FIXED
Updated•17 years ago
|
OS: Linux → All
Hardware: PC → All
Assignee | ||
Updated•17 years ago
|
Attachment #297156 -
Flags: superreview?(bienvenu)
Comment 8•17 years ago
|
||
Comment on attachment 297156 [details] [diff] [review]
fixes bug on trunk
you could get rid of the braces here:
+ if (!(uri instanceof nsIFileURL)) {
+ return uri;
+ }
and you could get rid of the local var urifixup and turn this into a single line, if you wanted...
in any case, sr=bienvenu, thx for the patch
Attachment #297156 -
Flags: superreview?(bienvenu) → superreview+
Assignee | ||
Comment 9•17 years ago
|
||
Oups, I did not notice patch had already been commited :(
Superreview was therefore not necessary. Sorry for extra work.
Updated•16 years ago
|
Flags: wanted1.8.1.x?
Comment 10•16 years ago
|
||
Comment on attachment 297162 [details] [diff] [review]
fixes bug on 1.8 branch
Just in case there are any releases planned, this is important for companies who use Mozilla products as the base for additional addons but are stuck with certain branches...
Attachment #297162 -
Flags: approval1.8.1.next?
Updated•16 years ago
|
Attachment #297162 -
Flags: approval1.8.1.next? → approval1.8.1.next+
Comment 11•16 years ago
|
||
Comment on attachment 297162 [details] [diff] [review]
fixes bug on 1.8 branch
Approved for 1.8.1.22, a=dveditz for release-drivers
Comment 12•16 years ago
|
||
Comment on attachment 297162 [details] [diff] [review]
fixes bug on 1.8 branch
Landed on MOZILLA_1_8_BRANCH.
Updated•16 years ago
|
Keywords: fixed1.8.1.22
Comment 13•15 years ago
|
||
Arno, can you check this with the latest 1.8 nightly (ftp://ftp.mozilla.org/pub/thunderbird/nightly/latest-mozilla1.8/)?
I don't have your extension so I want to be sure it works now.
Assignee | ||
Comment 14•15 years ago
|
||
yes, it still works with 31/05/2009 nigthly
Comment 15•15 years ago
|
||
Thanks, Arno. Marking this as verify for 1.8.1.22.
Keywords: fixed1.8.1.22 → verified1.8.1.22
You need to log in
before you can comment on or make changes to this bug.
Description
•