Closed
Bug 1254287
Opened 9 years ago
Closed 9 years ago
Remove the Engineering Mode API
Categories
(Firefox OS Graveyard :: General, defect)
Tracking
(firefox49 fixed)
RESOLVED
FIXED
Tracking | Status | |
---|---|---|
firefox49 | --- | fixed |
People
(Reporter: fabrice, Assigned: gsvelto)
References
Details
Attachments
(1 file, 2 obsolete files)
22.55 KB,
patch
|
sicking
:
review+
|
Details | Diff | Splinter Review |
Keeping the permission is ok, but everything that is gated by AvailableIn=CertifiedApps needs to be chrome only instead.
http://mxr.mozilla.org/mozilla-central/source/dom/webidl/EngineeringMode.webidl#7
Assignee | ||
Comment 1•9 years ago
|
||
I was considering removing the engineering mode API altogether. I don't think we'll ever use it anymore and it's a pretty trivial task to remove it (a few line changes in gaia and basically two patches to revert in gecko). This could be done directly in mozilla-central. Thoughts about this? Do we still need it for something else?
Flags: needinfo?(fabrice)
Flags: needinfo?(ehung)
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → gsvelto
Status: NEW → ASSIGNED
Assignee | ||
Comment 3•9 years ago
|
||
This patch removes the EngineeringMode API and changes the affected tests and components to reflect the removal.
Flags: needinfo?(fabrice)
Attachment #8740095 -
Flags: review?(ehung)
Comment 4•9 years ago
|
||
Hi Gabriele,
Sorry for my late reply, but I'm afraid that you attached a wrong patch?
Updated•9 years ago
|
Attachment #8740095 -
Flags: review?(ehung)
Assignee | ||
Comment 5•9 years ago
|
||
Yes, I attached the wrong one, sorry. Here's the correct patch.
Attachment #8740095 -
Attachment is obsolete: true
Attachment #8743164 -
Flags: review?(ehung)
Comment 6•9 years ago
|
||
Comment on attachment 8743164 [details] [diff] [review]
[PATCH] Remove the EngineeringMode API
Review of attachment 8743164 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good to me except the devtool part. We hope WebIDE still work for TV 2.6 releases which is using old permission model. Therefore, it's better to keep this part of implementation until Gecko 52 (at least). Thanks!
Attachment #8743164 -
Flags: review?(ehung) → review+
Updated•9 years ago
|
Summary: Remove the dependency on apps status in the EngineeringMode api code → Remove the Engineering Mode API
Assignee | ||
Comment 7•9 years ago
|
||
Thanks for the review Evelyn and sorry for the late reply, I've been sick for a while... This is an updated patch with the devtools changed amended. I've only removed the engineering-mode permission test and replaced it with one for another forbidden but still supported permission (embed-apps) so that it keeps working and testing that particular bit. I'm waiting for a try run to finish and then I'll land this. Carrying over the r+ flag.
Attachment #8743164 -
Attachment is obsolete: true
Attachment #8745313 -
Flags: review+
Assignee | ||
Comment 8•9 years ago
|
||
Green try run, ready to land: https://treeherder.mozilla.org/#/jobs?repo=try&revision=23c83543a18a7700733351864184b56ae93717f0
Assignee | ||
Comment 9•9 years ago
|
||
Actually I realised I need this to be reviewed by a DOM peer too before being able to land since I'm getting rid of an webidl file.
Assignee | ||
Comment 10•9 years ago
|
||
Comment on attachment 8745313 [details] [diff] [review]
[PATCH v2] Remove the EngineeringMode API
The contents of the patch were already reviewed by Evelyn but I need a DOM peer review for the webidl changes. This only removes dom/webidl/EngineeringMode.webidl and doesn't alter other DOM interfaces.
Attachment #8745313 -
Flags: review+ → review?(jonas)
Comment on attachment 8745313 [details] [diff] [review]
[PATCH v2] Remove the EngineeringMode API
Review of attachment 8745313 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks! (Though as always, sad to see old B2G stuff go)
Attachment #8745313 -
Flags: review?(jonas) → review+
Comment 12•9 years ago
|
||
Assignee | ||
Comment 13•9 years ago
|
||
(In reply to Jonas Sicking (:sicking) from comment #11)
> Thanks! (Though as always, sad to see old B2G stuff go)
Thanks for the quick review; we're getting rid of things we're sure we won't need in the hope we can maintain some of the more useful stuff in working order for B2G OS.
Comment 14•9 years ago
|
||
bugherder |
You need to log in
before you can comment on or make changes to this bug.
Description
•