Closed
Bug 717975
Opened 13 years ago
Closed 13 years ago
only expose m-c implementation of navigator.mozApps on b2g
Categories
(Core Graveyard :: DOM: Apps, defect)
Core Graveyard
DOM: Apps
Tracking
(firefox11+ fixed)
VERIFIED
FIXED
mozilla12
People
(Reporter: fabrice, Assigned: fabrice)
References
Details
Attachments
(2 files, 1 obsolete file)
1.35 KB,
patch
|
jst
:
review+
akeybl
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
1.39 KB,
patch
|
jst
:
review+
Callek
:
feedback+
akeybl
:
approval-mozilla-beta+
|
Details | Diff | Splinter Review |
This is needed o not conflict with the add-on implementation.
Assignee | ||
Comment 1•13 years ago
|
||
This patch makes sure that we only build and package Webapps.* for the b2g target.
Attachment #588452 -
Flags: review?(jst)
Updated•13 years ago
|
Attachment #588452 -
Flags: review?(jst) → review+
Assignee | ||
Comment 2•13 years ago
|
||
Comment 3•13 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/a08f701c3b6e
Don't forget the Target Milestone
Assignee: nobody → fabrice
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Summary: only expose m-c implementation of mavigator.mozApps on b2g → only expose m-c implementation of navigator.mozApps on b2g
Updated•13 years ago
|
Status: RESOLVED → VERIFIED
Comment 4•13 years ago
|
||
Doesn't this need a removed files entry as well?
Comment 5•13 years ago
|
||
(In reply to Ed Morley [:edmorley] from comment #4)
> Doesn't this need a removed files entry as well?
Yes it does, I imagine jst didn't catch that fact.
Comment 6•13 years ago
|
||
Also you just created an issue with packaging trying to package "dom_apps.xpt" which is created at "dom/interfaces/apps" but is traversed from "dom/Makefile" without a guard on B2G or gonk or anything.
I don't think your done here.
Status: VERIFIED → REOPENED
Resolution: FIXED → ---
Assignee | ||
Comment 7•13 years ago
|
||
Justin,
I'll post a follow-up for the removed files entry - I was not aware of this file.
I don't understand you comment about packaging dom_apps.xpt : the patch that landed removes this entry from browser/installer/package-manifest.in
Assignee | ||
Comment 8•13 years ago
|
||
followup to :
- add entries to removed-files.sh
- only build the .xpt for b2g
Attachment #589552 -
Flags: feedback?(bugspam.Callek)
Comment 9•13 years ago
|
||
Comment on attachment 589552 [details] [diff] [review]
followup
imo looks good except the Makefile.in part, where you _need_ to remove the already-existing interfaces/apps from above (the interfaces section) and my minor nit here would be to have that block added just under the other interfaces traversal there.
I'd move forward with a real review after you fix that. (Thanks)
Attachment #589552 -
Flags: feedback?(bugspam.Callek) → feedback-
Assignee | ||
Comment 10•13 years ago
|
||
Attachment #589552 -
Attachment is obsolete: true
Attachment #589573 -
Flags: feedback?(bugspam.Callek)
Comment 11•13 years ago
|
||
Comment on attachment 589573 [details] [diff] [review]
followup
Yea that --looks-- good to me, I did not dive deeply into a real review peer at it though :-)
Attachment #589573 -
Flags: feedback?(bugspam.Callek) → feedback+
Assignee | ||
Updated•13 years ago
|
Attachment #589573 -
Flags: review?(jst)
Updated•13 years ago
|
Attachment #589573 -
Flags: review?(jst) → review+
Comment 12•13 years ago
|
||
How should we go about verifying this bug ? The fact that nightly continues to work is not a great test.
Assignee | ||
Comment 13•13 years ago
|
||
followup pushed:
https://hg.mozilla.org/integration/mozilla-inbound/rev/de34e4fefcad
Comment 14•13 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 13 years ago → 13 years ago
Resolution: --- → FIXED
Comment 15•13 years ago
|
||
Comment on attachment 588452 [details] [diff] [review]
patch
Review of attachment 588452 [details] [diff] [review]:
-----------------------------------------------------------------
Your 2nd patch made things much clearer.
::: dom/base/Makefile.in
@@ +60,5 @@
> Webapps.js \
> Webapps.manifest \
> $(NULL)
>
> +EXTRA_JS_MODULES += Webapps.jsm \
What about Cu.import("resource://gre/modules/Webapps.jsm");
in services/sync/modules/engines/apps.js
which was created by (part 2 of) bug 706545 ?
Is there an issue now, or is it safe somehow?
Assignee | ||
Comment 16•13 years ago
|
||
(In reply to Serge Gautherie (:sgautherie) from comment #15)
> What about Cu.import("resource://gre/modules/Webapps.jsm");
> in services/sync/modules/engines/apps.js
> which was created by (part 2 of) bug 706545 ?
>
> Is there an issue now, or is it safe somehow?
It is safe because this sync engine is disabled, and has no UI to enable it.
Comment 17•13 years ago
|
||
(In reply to Fabrice Desré [:fabrice] from comment #16)
> (In reply to Serge Gautherie (:sgautherie) from comment #15)
> > What about Cu.import("resource://gre/modules/Webapps.jsm");
> > in services/sync/modules/engines/apps.js
> > which was created by (part 2 of) bug 706545 ?
> >
> > Is there an issue now, or is it safe somehow?
>
> It is safe because this sync engine is disabled, and has no UI to enable it.
Shouldn't we disable packaging this engine entirely then in the cases we can't use it?
And re-looking we're still missing interfaces/apps removal in this case, but I think we're getting into the "spin-off" bug department anyway....
Assignee | ||
Comment 18•13 years ago
|
||
Well, the goal here is not to remove the mozApps implementation foreer. It's a temporary action while we sort out a way to get the m-c implementation and the add-on to coexist peacefully.
This will happen soon.
Comment 19•13 years ago
|
||
(In reply to Justin Wood (:Callek) from comment #17)
> And re-looking we're still missing interfaces/apps removal in this case
http://mxr.mozilla.org/comm-central/search?string=interfaces%2Fapps&case=on
{
/mozilla/dom/Makefile.in
* line 73 -- interfaces/apps \
/mozilla/toolkit/toolkit-makefiles.sh
* line 49 -- dom/interfaces/apps/Makefile
}
The former is fixed. I assume you're talking about the latter?
Comment 20•13 years ago
|
||
(In reply to Serge Gautherie (:sgautherie) from comment #19)
> (In reply to Justin Wood (:Callek) from comment #17)
> > And re-looking we're still missing interfaces/apps removal in this case
....
> The former is fixed. I assume you're talking about the latter?
It was the former I was talking about, but either I mis-read or comm-central's mxr wasn't updated when I looked.
Comment 21•13 years ago
|
||
PS: Isn't this bug wanted on mozilla11 too?
Comment 22•13 years ago
|
||
(In reply to Serge Gautherie (:sgautherie) from comment #21)
> PS: Isn't this bug wanted on mozilla11 too?
Yes. Moving to Core : DOM: Mozilla Extensions so I can request approval for aurora and beta.
Assignee: fabrice → nobody
Component: General → DOM: Mozilla Extensions
Product: Web Apps → Core
QA Contact: general → general
Target Milestone: --- → mozilla11
Comment 23•13 years ago
|
||
Comment on attachment 588452 [details] [diff] [review]
patch
[Approval Request Comment]
We thought this landed in time to make Firefox 11, but we just discovered today that it didn't (nor to make Firefox 12, currently in aurora), so I'm requesting this land on the two branches tracking those releases.
This low-risk fix disables the unsupported and undocumented transitional navigator.mozApps API that landed late last year. It does not land the new API, which is being worked on in a separate bug, nor make any other changes.
Although the API is undocumented, we still don't want to ship it, because we don't want folks to discover it and start using it, only to have such usage break after we ship the documented and supported API in a later release (currently targeted at Firefox 13 on desktop and Fennec 14 on mobile).
Note: we will need to land both patches in this bug, this one and the followup.
Attachment #588452 -
Flags: approval-mozilla-beta?
Attachment #588452 -
Flags: approval-mozilla-aurora?
Comment 24•13 years ago
|
||
Comment on attachment 589573 [details] [diff] [review]
followup
[Approval Request Comment]
Regression caused by (bug #):
User impact if declined:
Testing completed (on m-c, etc.):
Risk to taking this patch (and alternatives if risky):
String changes made by this patch:
Attachment #589573 -
Flags: approval-mozilla-beta?
Attachment #589573 -
Flags: approval-mozilla-aurora?
Comment 25•13 years ago
|
||
(In reply to Myk Melez [:myk] [@mykmelez] from comment #23)
> nor to make Firefox 12, currently in aurora
Aren't these already in aurora?
https://hg.mozilla.org/releases/mozilla-aurora/rev/a08f701c3b6e
https://hg.mozilla.org/releases/mozilla-aurora/rev/de34e4fefcad
Assignee: nobody → fabrice
status-firefox11:
--- → affected
OS: Linux → All
Hardware: x86_64 → All
Target Milestone: mozilla11 → mozilla12
Version: unspecified → Trunk
Comment 26•13 years ago
|
||
Comment on attachment 588452 [details] [diff] [review]
patch
(In reply to Serge Gautherie (:sgautherie) from comment #25)
> Aren't these already in aurora?
> https://hg.mozilla.org/releases/mozilla-aurora/rev/a08f701c3b6e
> https://hg.mozilla.org/releases/mozilla-aurora/rev/de34e4fefcad
Erm, indeed, my bad; these are in aurora, but they aren't in beta. Cancelling the aurora requests, but leaving the beta requests.
Attachment #588452 -
Flags: approval-mozilla-aurora?
Updated•13 years ago
|
Attachment #589573 -
Flags: approval-mozilla-aurora?
Comment 27•13 years ago
|
||
Comment on attachment 588452 [details] [diff] [review]
patch
[Triage Comment]
There should be no external clients of this API, so there's near-zero risk in disabling it. Approved for Beta 11.
Attachment #588452 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Updated•13 years ago
|
Attachment #589573 -
Flags: approval-mozilla-beta? → approval-mozilla-beta+
Updated•13 years ago
|
tracking-firefox11:
--- → +
Assignee | ||
Comment 28•13 years ago
|
||
Updated•13 years ago
|
Updated•13 years ago
|
QA Contact: general → dclarke
Updated•13 years ago
|
QA Contact: dclarke → general
Updated•12 years ago
|
Component: DOM: Mozilla Extensions → DOM: Apps
Updated•7 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•