|
1.06 KB,
patch
|
Biesinger
:
review+
Brian Ryner (not reading)
:
superreview+
Benjamin Smedberg
:
approval-branch-1.8.1+
Mike Schroepfer
:
approval1.8.0.1-
dveditz
:
approval1.8.0.2+
|
Details | Diff | Splinter Review |
|
2.58 KB,
patch
|
Christian Persch (GNOME) (away; not receiving bug mail)
:
review+
Brian Ryner (not reading)
:
superreview+
|
Details | Diff | Splinter Review |
http://lxr.mozilla.org/seamonkey/source/modules/libpr0n/decoders/icon/nsIconURI.cpp#434 : 434 NS_IMETHODIMP 435 nsMozIconURI::Clone(nsIURI **result) 436 { 437 return NS_OK; 438 } 439 440 NS_IMETHODIMP 441 nsMozIconURI::Resolve(const nsACString &relativePath, nsACString &result) 442 { 443 return NS_OK; 444 } They should throw NS_ERROR_NOT_IMPLEMENTED, but I'd really like at least ::Clone to be implemented.
| (Assignee) | ||
Comment 1•12 years ago
|
||
Created attachment 199359 [details] [diff] [review] the easy way: throw NS_ERROR_NOT_IMPLEMENTED
| (Assignee) | ||
Updated•12 years ago
|
||
Updated•12 years ago
|
||
Updated•12 years ago
|
||
Comment 2•12 years ago
|
||
Checking in modules/libpr0n/decoders/icon/nsIconURI.cpp; /cvsroot/mozilla/modules/libpr0n/decoders/icon/nsIconURI.cpp,v <-- nsIconURI.cpp new revision: 1.20; previous revision: 1.19 done
Comment 3•12 years ago
|
||
Can this bug now be RESOLVED FIXED?
| (Assignee) | ||
Comment 4•12 years ago
|
||
(In reply to comment #3) > Can this bug now be RESOLVED FIXED? I still want at least ::Clone to be really implemented; attachment 199359 [details] [diff] [review] was just the minimal fix.
| (Assignee) | ||
Updated•12 years ago
|
||
Comment 5•12 years ago
|
||
I think filing another bug for that would be the right approach. This one seemed to be about NS_OK being returned when it should really have been NS_ERROR_NOT_IMPLEMENTED; which has now been fixed.
Comment 6•12 years ago
|
||
Or maybe i'm totally wrong and should shut up :)
Comment 7•12 years ago
|
||
Comment on attachment 199359 [details] [diff] [review] the easy way: throw NS_ERROR_NOT_IMPLEMENTED Requesting approval1.8.0.1 and approval1.8.1 for the patch because biesi says it will fix the crash in bug 320621.
Comment 8•12 years ago
|
||
Comment on attachment 199359 [details] [diff] [review] the easy way: throw NS_ERROR_NOT_IMPLEMENTED Please consider for 1.8.1 - 1.8.0.1 is for major security and crash issues only.
Comment 9•12 years ago
|
||
Comment on attachment 199359 [details] [diff] [review] the easy way: throw NS_ERROR_NOT_IMPLEMENTED Renominating for 1.8.0.2 based on the reproducible crash this fixes.
Comment 10•12 years ago
|
||
checked in on MOZILLA_1_8_BRANCH Checking in modules/libpr0n/decoders/icon/nsIconURI.cpp; /cvsroot/mozilla/modules/libpr0n/decoders/icon/nsIconURI.cpp,v <-- nsIconURI.cpp new revision: 1.19.8.1; previous revision: 1.19 done
Updated•12 years ago
|
||
Updated•12 years ago
|
||
| (Assignee) | ||
Comment 11•12 years ago
|
||
Created attachment 211984 [details] [diff] [review] implement nsMozIconURI::Clone
Comment 12•12 years ago
|
||
Comment on attachment 211984 [details] [diff] [review] implement nsMozIconURI::Clone + rv = mFileIcon->Clone (getter_AddRefs (newFileIcon)); please remove the space before the (, that's not the style of this file + nsMozIconURI *uri = new nsMozIconURI(); + if (uri) why not make this an early return as well, like for mFileIcon->Clone? + NS_ADDREF (uri); again a space before ( + uri->mFileIcon = newFileIcon; might want to use .swap here, to avoid a useless addref/release pair
Comment 13•12 years ago
|
||
Comment on attachment 199359 [details] [diff] [review] the easy way: throw NS_ERROR_NOT_IMPLEMENTED approved for 1.8.0 branch, a=dveditz for drivers
Updated•12 years ago
|
||
| (Assignee) | ||
Comment 14•12 years ago
|
||
Created attachment 213082 [details] [diff] [review] updated patch, addresses reviewer's comments
Updated•12 years ago
|
||
Updated•12 years ago
|
||
Did that patch ever get checked in? If not, do you need someone to do that or something?
| (Assignee) | ||
Comment 17•12 years ago
|
||
Comment on attachment 213082 [details] [diff] [review] updated patch, addresses reviewer's comments > Did that patch ever get checked in? Not checked in, no, since I have no cvs access and forgot about asking someone else... > If not, do you need someone to do that or something? Yes :)
Fixed on trunk.
Description
•