Closed Bug 71930 Opened 23 years ago Closed 23 years ago

javascript error in subscribe.js if you type "foo.bar" (if there is no "foo")

Categories

(SeaMonkey :: MailNews: Message Display, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: bugzilla, Assigned: sspitzer)

Details

If you write "blabla." in the newsgroup field of the subscribe dialog you get:

JavaScript error:
 line 0: uncaught exception: [Exception... "Illegal value"  code: "-2147024809" 
nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)"  location: 
"chrome://messenger/content/subscribe.js Line: 377"]
and if you keep typing:

JavaScript error:
 line 0: uncaught exception: [Exception... "Illegal value"  code: "-2147024809"
nsresult: "0x80070057 (NS_ERROR_ILLEGAL_VALUE)"  location: 
"chrome://messenger/content/subscribe.js Line: 377"]
QA Contact: esther → stephend
accepting, fix on the way.
Status: NEW → ASSIGNED
Summary: javascript error in subscribe.js → javascript error in subscribe.js if you type "foo.bar" (if there is no "foo")
fixed.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Cool, I just tried this with build 2001032304 on Windows 200 with
user_pref("javascript.options.strict", true); (in prefs.js) and running
netscp6.exe -console.  Went to the subscribe dialog in news and typed
nonsensical names and got no warnings.  verified fixed.
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
Component: MailNews: Subscribe → MailNews: Message Display
QA Contact: stephend → search
You need to log in before you can comment on or make changes to this bug.