Closed
Bug 289467
Opened 19 years ago
Closed 16 years ago
MailNews should not use simple-uri
Categories
(MailNews Core :: Backend, defect)
MailNews Core
Backend
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla1.9
People
(Reporter: Biesinger, Assigned: mkmelin)
References
()
Details
Attachments
(1 file)
2.00 KB,
patch
|
standard8
:
review+
Bienvenu
:
superreview+
|
Details | Diff | Splinter Review |
See URL field - this could should probably just use nsIWebNavigation::loadURI, or if it does want to use a URI object, it should get one from the IO service... (using NS_NewURI, for example).
Updated•19 years ago
|
Assignee: sspitzer → mail
Comment 1•16 years ago
|
||
<http://mxr.mozilla.org/mozilla/search?string=simple-uri&case=on&filter=%5E%5B%5E%5C0%5D*%24&tree=mozilla> {{ Found 6 matching lines in 6 files /extensions/venkman/js/venkman-service.js * line 61 -- const SIMPLEURI_CTRID = "@mozilla.org/network/simple-uri;1"; /mailnews/base/src/nsMsgWindow.cpp * line 460 -- nsCOMPtr <nsIURI> uri = do_CreateInstance("@mozilla.org/network/simple-uri;1", &rv); /netwerk/test/unit/test_protocolproxyservice.js * line 66 -- var uri = Components.classes["@mozilla.org/network/simple-uri;1"] /netwerk/protocol/viewsource/src/nsViewSourceHandler.cpp * line 103 -- // put back our scheme and construct a simple-uri wrapper /netwerk/build/nsNetCID.h * line 107 -- "@mozilla.org/network/simple-uri;1" /testing/performance/win32/base_profile/compreg.dat * line 1234 -- @mozilla.org/network/simple-uri;1,{e0da1d70-2f7b-11d3-8cd0-0060b0fc14a3} }}
Assignee: mail → nobody
Component: MailNews: Main Mail Window → MailNews: Backend
OS: Linux → All
Product: Mozilla Application Suite → Core
QA Contact: backend
Hardware: PC → All
Summary: mailnews should not use simpleuri → MailNews should not use simple-uri
Version: unspecified → Trunk
Comment 2•16 years ago
|
||
Every single one of those except nsMsgWindow is correct (which means that comment is mostly noise).
Assignee | ||
Comment 3•16 years ago
|
||
Use nsIWebNavigation::LoadURI instead. The sequence described in a comment at http://lxr.mozilla.org/seamonkey/source/mailnews/news/src/nsNNTPProtocol.cpp#2314 still seems to apply. (would it be clearer if it read nsIWebNavigation?).
Assignee: nobody → mkmelin+mozilla
Status: NEW → ASSIGNED
Attachment #324514 -
Flags: superreview?(bienvenu)
Attachment #324514 -
Flags: review?(bugzilla)
Comment 4•16 years ago
|
||
Comment on attachment 324514 [details] [diff] [review] proposed fix the other use of this is to display text when the user is offline but we don't have the message body locally.
Attachment #324514 -
Flags: superreview?(bienvenu) → superreview+
Updated•16 years ago
|
Attachment #324514 -
Flags: review?(bugzilla) → review+
Assignee | ||
Comment 5•16 years ago
|
||
Checking in mailnews/base/src/nsMsgWindow.cpp; /cvsroot/mozilla/mailnews/base/src/nsMsgWindow.cpp,v <-- nsMsgWindow.cpp new revision: 1.106; previous revision: 1.105 done ->FIXED Note for testers: the message in the message body for messages not available offline, and the one shown to remove expired articles in news should work like before.
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•