Closed Bug 1064935 Opened 12 years ago Closed 12 years ago

Alias jschar to char16_t for ctypes in add-ons

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla35

People

(Reporter: jryans, Assigned: ochameau)

References

Details

Attachments

(1 file)

In the dev-platform thread announcing jschar's removal, cpeterson mentions it might be possible to keep an alias for add-ons: "This change also affects js-ctypes and the Add-on SDK. JS code (outside mozilla-central) using `ctypes.jschar` will need to be replaced with `ctypes.char16_t`. If this is too much of a compatibility problem for add-ons, we could keep ctypes.jschar as an alias for ctypes.char16_t." Filing this to discuss adding such an alias. A search of known addons gives 388 matching lines in 108 files. Additionally, all of the B2G simulator add-ons that the DevTools team manages are broken by this change and would need to be rebuilt, which at the moment accounts for at least 16 addons (platforms * versions) to rebuild, test, and release.
Attached patch patch v1Splinter Review
Comment on attachment 8486526 [details] [diff] [review] patch v1 I've verified that this patch allows the simulators to start successfully. Chris, what do you think about this? I'd love to prevent them all from breaking in tomorrow's Nightly if we can.
Attachment #8486526 - Flags: review?(cpeterson)
Comment on attachment 8486526 [details] [diff] [review] patch v1 Review of attachment 8486526 [details] [diff] [review]: ----------------------------------------------------------------- LGMT. Thanks!
Attachment #8486526 - Flags: review?(cpeterson) → review+
https://tbpl.mozilla.org/?tree=Try&rev=d3fe272f30d9 I don't know where we are at with today and tomorrow nightlies, but we would like to prevent releasing bug 1063962 without this patch. (to prevent breaking addons on nightly) So it may help to land directly on m-c ?
Once I see some green on that Try run, I can make sure it gets on to m-c before the next round of nightlies.
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla35
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: