Closed
Bug 382917
Opened 18 years ago
Closed 17 years ago
Display script filename and line number in Stop Script dialog
Categories
(Core :: DOM: Core & HTML, enhancement)
Core
DOM: Core & HTML
Tracking
()
VERIFIED
FIXED
mozilla1.9beta2
People
(Reporter: mozbugs, Assigned: mozbugs)
Details
Attachments
(2 files, 3 obsolete files)
|
17.68 KB,
image/png
|
Details | |
|
2.53 KB,
patch
|
mrbkap
:
review+
mrbkap
:
superreview+
jst
:
approval1.9+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.4) Gecko/20070531 Firefox/2.0.0.3 Flock/0.8.0.99
Build Identifier:
A while ago, I added code to Flock to display the filename and line number in the Stop Script dialog, to help aid figuring out what component of ours was throwing that, as it only seemed to happen in the field.
I think this is generally useful, especially for end users who won't have a debugger service installed, as they can figure out who to blame when that dialog pops up.
Reproducible: Always
| Assignee | ||
Comment 1•18 years ago
|
||
| Assignee | ||
Comment 2•18 years ago
|
||
If there's interest, I can cook up a patch against trunk. I suspect the wording of the dialog could be changed to make it flow better, instead of putting the bare url and line at the end.
Updated•18 years ago
|
Status: UNCONFIRMED → NEW
Ever confirmed: true
| Assignee | ||
Comment 3•18 years ago
|
||
| Assignee | ||
Comment 4•17 years ago
|
||
Assignee: nobody → manish
Status: NEW → ASSIGNED
| Assignee | ||
Updated•17 years ago
|
Attachment #266976 -
Attachment is obsolete: true
| Assignee | ||
Comment 5•17 years ago
|
||
Attachment #267383 -
Attachment is obsolete: true
Comment 6•17 years ago
|
||
I'm certainly interested, but it might be too late for 1.9. Maybe ask for reviews?
| Assignee | ||
Updated•17 years ago
|
Attachment #290801 -
Flags: review?(mrbkap)
Updated•17 years ago
|
Attachment #290801 -
Flags: review?(mrbkap) → review+
Comment 7•17 years ago
|
||
Shouldn't you use formatStringFromName rather than just getting the string and appending the message? It may be unlikely in this case, but in some locales the positioning/formatting of the added text can vary.
| Assignee | ||
Comment 8•17 years ago
|
||
That's a good point, I'll make that change.
| Assignee | ||
Comment 9•17 years ago
|
||
Attachment #290801 -
Attachment is obsolete: true
Attachment #290810 -
Flags: review?(mrbkap)
Updated•17 years ago
|
Attachment #290810 -
Flags: review?(mrbkap) → review+
| Assignee | ||
Comment 10•17 years ago
|
||
Comment on attachment 290810 [details] [diff] [review]
Use formatStringFromName
Asking for approval1.9.
This is low risk and isolated, and is quite useful for development. Plus it lets users make more targeted and useful bug reports when the dialog pops up for them.
Attachment #290810 -
Flags: approval1.9?
Comment 11•17 years ago
|
||
This needs sr+. (Though blake can sr too)
Updated•17 years ago
|
Attachment #290810 -
Flags: superreview?(mrbkap)
Updated•17 years ago
|
Attachment #290810 -
Flags: superreview?(mrbkap) → superreview+
Updated•17 years ago
|
Whiteboard: [has patch][has review][has sr][needs approval]
Updated•17 years ago
|
Attachment #290810 -
Flags: approval1.9? → approval1.9+
Updated•17 years ago
|
Keywords: checkin-needed
Comment 12•17 years ago
|
||
Checking in dom/locales/en-US/chrome/dom/dom.properties;
/cvsroot/mozilla/dom/locales/en-US/chrome/dom/dom.properties,v <-- dom.properties
new revision: 1.10; previous revision: 1.9
done
Checking in dom/src/base/nsJSEnvironment.cpp;
/cvsroot/mozilla/dom/src/base/nsJSEnvironment.cpp,v <-- nsJSEnvironment.cpp
new revision: 1.368; previous revision: 1.367
done
Status: ASSIGNED → RESOLVED
Closed: 17 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Whiteboard: [has patch][has review][has sr][needs approval]
Target Milestone: --- → mozilla1.9 M10
Version: unspecified → Trunk
Verified FIXED using Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.4; en-US; rv:1.9b2pre) Gecko/2007121107 Minefield/3.0b2pre; I see this nice functionality all the time when sorting our Litmus testcases (http://litmus.mozilla.org).
Status: RESOLVED → VERIFIED
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•