Closed Bug 670713 Opened 13 years ago Closed 7 years ago

Need a simple "wrapper" of removed nsIJSON methods

Categories

(Core :: JavaScript Engine, defect)

All
Other
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1347515

People

(Reporter: vitar, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 5.1; rv:7.0a2) Gecko/20110710 Firefox/7.0a2
Build ID: 20110710042004

Steps to reproduce:

Use Aurora :)


Actual results:

A few days ago after a "resolved" bug 645922 (removal of .encode and .decode JSON methods) was landed a lot of /current and actively developed/ extensions are broken -- they aren't save preferences for example and so on -- everytime ErrorConsole shows an errors with .encode or .decode based functions calls


Expected results:

A simple dumb "wrapper" that only intercepts a calls of .encode and .decode and resends them to a current (.stringify etc) methods
Yeah, this is easy surface to preserve, and I don't think the cleanup is worth the immediate pain to add-on developers.

A console warning for now?
Status: UNCONFIRMED → NEW
Ever confirmed: true
Assignee: general → nobody
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.