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)
Firefox OS Graveyard
Simulator
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)
|
12.69 KB,
patch
|
ochameau
:
review+
|
Details | Diff | Splinter Review |
|
2.16 KB,
patch
|
ochameau
:
review+
|
Details | Diff | Splinter Review |
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)
| Reporter | ||
Comment 1•11 years ago
|
||
See Also: → 1210382
| Assignee | ||
Comment 2•10 years ago
|
||
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
| Assignee | ||
Comment 4•10 years ago
|
||
(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+
| Assignee | ||
Comment 5•10 years ago
|
||
| Assignee | ||
Comment 6•10 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/797f58646eb6e4c3ae0591c3ced01cd18cf37138
Bug 1132452 - Remove useless JS files from FxOS simulator addon. r=jryans
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox44:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → FxOS-S9 (16Oct)
| Assignee | ||
Comment 8•10 years ago
|
||
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 → ---
| Assignee | ||
Comment 9•10 years ago
|
||
Attachment #8678963 -
Flags: review+
| Assignee | ||
Comment 10•10 years ago
|
||
https://hg.mozilla.org/integration/fx-team/rev/91150ad92c3313fc26ed7f9a7caf8af2969d879c
Bug 1132452 - Remove useless JS files from FxOS simulator addon. r=jryans
Comment 11•10 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 10 years ago → 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•