Retire jsmodules and move tests to fx-sync

RESOLVED FIXED

Status

()

RESOLVED FIXED
8 years ago
25 days ago

People

(Reporter: philikon, Assigned: philikon)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [fixed in services][qa-])

All the useful bits (Preferences.js, Observers.js, Sync.js) from http://hg.mozilla.org/labs/jsmodules/ found their way to fx-sync and subsequently mozilla-central. There, Preferences.js has been modified slightly to accommodate Sync's needs (see bug 573048 and bug 594068 for backporting) while Sync.js has outstanding bugs (bug 612206).

I propose to retire the jsmodules repository and acknowledge that fx-sync is the official place for them now. Subsequently I'd like to bring over the relevant unit tests to fx-sync.

Comment 1

8 years ago
Adding Myk, owner of the jsmodules repository.
Variants of some of these modules have also made their way to the Add-on SDK.

At this point, the JS Modules project and repository has outlived its usefulness, and Firefox chrome consumers should use the modules that landed in mozilla-central for sync, while addon developers use the ones in the SDK, so I agree that we should retire the project and its repository as yet another "labs experiment graduating to production feature/product" success story (drinking the requisite champagne in the process)!

Comment 3

8 years ago
Hooray! More champagne! ;) Remember this page?

https://wiki.mozilla.org/Labs/JS_Modules

If any of those haven't made it into mozilla-central, we could move them to github.
(In reply to comment #3)
> If any of those haven't made it into mozilla-central, we could move them to
> github.

I see this has been done already (https://github.com/mozilla/jsmodules), but I don't think it was really necessary...

JSON.js:         built in now
Mixins.js:       meh (Object.create anyone?!?)
Observers.js:    ships with Sync
Preferences.js:  ships with Sync
StringBundle.js: ships with Sync
Sync.js:         ships with Sync, but evil evil evil
URI.js:          meh (NetUtil.newURI anyone?!?)
Landed tests for Observers.js and Preferences.js:
https://hg.mozilla.org/services/services-central/rev/36c6d18bd313
Assignee: nobody → philipp
Status: NEW → ASSIGNED
Whiteboard: [fixed in services][qa-]
I'm going to assume this merged months ago.
Status: ASSIGNED → RESOLVED
Last Resolved: 7 years ago
Resolution: --- → FIXED
Component: Firefox Sync: Backend → Sync
Product: Cloud Services → Firefox
You need to log in before you can comment on or make changes to this bug.