Closed
Bug 743049
Opened 12 years ago
Closed 12 years ago
Inconsistent error message for uncaught JS exception in Console
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
mozilla14
People
(Reporter: emk, Assigned: emk)
References
Details
Attachments
(2 files, 2 obsolete files)
9.71 KB,
patch
|
jst
:
review+
|
Details | Diff | Splinter Review |
2.23 KB,
patch
|
emk
:
review+
|
Details | Diff | Splinter Review |
new xxx -> "xxx is not defined" throw new ReferenceError("xxx is not defined") -> "ReferenceError: xxx is not defined"
Assignee | ||
Comment 1•12 years ago
|
||
Assignee | ||
Comment 2•12 years ago
|
||
Assignee | ||
Updated•12 years ago
|
Whiteboard: [autoland-try:-b do -p all -u all -t none]
Assignee | ||
Updated•12 years ago
|
Whiteboard: [autoland-try:-b do -p all -u all -t none]
Assignee | ||
Updated•12 years ago
|
Component: XPConnect → DOM
QA Contact: xpconnect → general
Comment 3•12 years ago
|
||
Comment on attachment 612725 [details] [diff] [review] Part 2: Use the new API from NS_ScriptErrorReporter to get a error type name Review of attachment 612725 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/base/nsJSEnvironment.cpp @@ +489,5 @@ > > const PRUnichar *m = reinterpret_cast<const PRUnichar*> > (report->ucmessage); > if (m) { > + const PRUnichar *n = reinterpret_cast<const PRUnichar*> static_cast, and * on the left, please.
Assignee | ||
Updated•12 years ago
|
Attachment #612724 -
Flags: review?(luke)
Assignee | ||
Comment 4•12 years ago
|
||
Fixed failing tests and added a test.
Attachment #612725 -
Attachment is obsolete: true
Attachment #613069 -
Flags: review?(jst)
Comment 5•12 years ago
|
||
Comment on attachment 612724 [details] [diff] [review] Part 1: Add a friend API to get an error type name from a number It wasn't immediately clear why JSEXN_INTERNALERR returned null; could you an include a comment explaining why?
Attachment #612724 -
Flags: review?(luke) → review+
Assignee | ||
Comment 6•12 years ago
|
||
I added the check to prevent "InternalError: " is prepended before "uncaught exception: ". Is it better to test |errorNumber == JSMSG_UNCAUGHT_EXCEPTION|?
Updated•12 years ago
|
Attachment #613069 -
Flags: review?(jst) → review+
Assignee | ||
Comment 7•12 years ago
|
||
Patch for checkin
Attachment #612724 -
Attachment is obsolete: true
Attachment #614050 -
Flags: review+
Assignee | ||
Updated•12 years ago
|
Keywords: checkin-needed
Updated•12 years ago
|
Assignee: nobody → VYV03354
Comment 8•12 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/b1e86ae73fc5 https://hg.mozilla.org/integration/mozilla-inbound/rev/9dbeef29e1cf
Comment 9•12 years ago
|
||
Backed out whole merge for bustage per Yoric (Bug 743574): https://hg.mozilla.org/integration/mozilla-inbound/rev/12e42fb8e321
Target Milestone: mozilla14 → ---
Updated•12 years ago
|
Keywords: checkin-needed
Comment 10•12 years ago
|
||
Disregard that; PEBKAC. Did not get backed out. I misread TBPL.
Comment 11•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/b1e86ae73fc5 https://hg.mozilla.org/mozilla-central/rev/9dbeef29e1cf
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•