Closed Bug 1132452 Opened 11 years ago Closed 10 years ago

Remove deprecated addon files in Firefox OS Simulator

Categories

(Firefox OS Graveyard :: Simulator, defect)

defect
Not set
normal

Tracking

(firefox44 fixed)

RESOLVED FIXED
FxOS-S9 (16Oct)
Tracking Status
firefox44 --- fixed

People

(Reporter: janx, Assigned: ochameau)

References

Details

Attachments

(2 files, 2 obsolete files)

Once WebIDE is in charge of tracking installed Simulators[1], Simulators won't need to register themselves anymore, so we can clean up a bunch of files in b2g/simulator/. Upstreaming this cleanup to older simulators will then allow us to remove toolkit/devtools/apps/Simulator.jsm in a follow-up patch. [1] When the patch "Give WebIDE full control over simulator addons" in bug 1090949 has made its way to the majority of WebIDE installs (i.e. landed in m-c and rolled at least to DevEdition)
Blocks: 1132453
Attached patch patch v1 (obsolete) — Splinter Review
Rebased and also removes options panel. As said in bug 1210382, this is a good time to proceed with this cleanup. bug 1090949 in Fx40, release version is now 41, so we should be able to expect everyone to have this change and no longer needs this compatibility layer.
Attachment #8563393 - Attachment is obsolete: true
Attachment #8669579 - Flags: review?(jryans)
Comment on attachment 8669579 [details] [diff] [review] patch v1 Review of attachment 8669579 [details] [diff] [review]: ----------------------------------------------------------------- ::: b2g/simulator/bootstrap.js @@ +1,1 @@ > +function startup(data, reason) {} I guess you are leaving this because it's needed for the add-on to load? Should we instead use the "base" bootstrap content that JPM packages[1] with add-ons? Or is this better since we really don't need anything? [1]: https://github.com/mozilla-jetpack/jpm-core/blob/master/data/bootstrap.js ::: b2g/simulator/build_xpi.py @@ +137,3 @@ > add_file_to_zip(zip, manifest, "install.rdf") > add_file_to_zip(zip, os.path.join(srcdir, "bootstrap.js"), "bootstrap.js") > add_file_to_zip(zip, options_file, "options.xul") Seems like this line, and the part that processes the *.in into this file, should be removed.
Attachment #8669579 - Flags: review?(jryans) → review+
Assignee: janx → poirot.alex
Attached patch patch v2Splinter Review
(In reply to J. Ryan Stinnett [:jryans] (use ni?) from comment #3) > Comment on attachment 8669579 [details] [diff] [review] > patch v1 > > Review of attachment 8669579 [details] [diff] [review]: > ----------------------------------------------------------------- > > ::: b2g/simulator/bootstrap.js > @@ +1,1 @@ > > +function startup(data, reason) {} > > I guess you are leaving this because it's needed for the add-on to load? > > Should we instead use the "base" bootstrap content that JPM packages[1] with > add-ons? Or is this better since we really don't need anything? There is no need of the base bootstrap, there is nothing to do in bootstrap, really. We just need these empty method to prevent some warnings in the browser console. (I also added install/uninstall to prevent other warnings) > > ::: b2g/simulator/build_xpi.py > @@ +137,3 @@ > > add_file_to_zip(zip, manifest, "install.rdf") > > add_file_to_zip(zip, os.path.join(srcdir, "bootstrap.js"), "bootstrap.js") > > add_file_to_zip(zip, options_file, "options.xul") > > Seems like this line, and the part that processes the *.in into this file, > should be removed. Oops, I forgot about that.
Attachment #8669579 - Attachment is obsolete: true
Attachment #8671349 - Flags: review+
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → FxOS-S9 (16Oct)
I don't know how I managed to do that. The changes I made to bootstrap.js are not there. I see them in the very last try push, and on the last attached patch, but not in the fx-team changeset !!?!?
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Attached patch missing bitsSplinter Review
Attachment #8678963 - Flags: review+
Status: REOPENED → RESOLVED
Closed: 10 years ago10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: