Log deprecation warnings in the console when using nsIJSON.{en,de}code

RESOLVED FIXED in mozilla8

Status

()

Core
DOM
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: Waldo, Assigned: Waldo)

Tracking

unspecified
mozilla8
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [inbound])

Attachments

(1 attachment)

Created attachment 549961 [details] [diff] [review]
Patch
Attachment #549961 - Flags: review?(jst)

Updated

6 years ago
Attachment #549961 - Flags: review?(jst) → review+
http://hg.mozilla.org/integration/mozilla-inbound/rev/6d431206c4bb
Whiteboard: [inbound]
Target Milestone: --- → mozilla8
http://hg.mozilla.org/mozilla-central/rev/6d431206c4bb
Status: ASSIGNED → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Almost all other strings in dom.properties use the form "Use of X is deprecated. Please use Y intead". These two strings should probably use the same structure for consistency (that's what I'll do in my locale, but I thought it was worth mentioning here).
Feel free to file and fix (or just tag with, um, whatever the good first bug notation is these days) if you want.  The existing messages are perfectly understandable, tho, and nearly the format you note anyway, so it doesn't seem quite important enough for me to take time to fix (or rather, to do instead of other work I could be doing).
You need to log in before you can comment on or make changes to this bug.