Closed
Bug 1210235
Opened 10 years ago
Closed 10 years ago
Pref off any signed web packaged app things
Categories
(Core :: Networking, defect)
Core
Networking
Tracking
()
RESOLVED
FIXED
mozilla44
Tracking | Status | |
---|---|---|
firefox44 | --- | fixed |
People
(Reporter: hchang, Assigned: hchang)
References
Details
Attachments
(1 file, 2 obsolete files)
11.76 KB,
patch
|
Details | Diff | Splinter Review |
We need a preference to isolate all the operations on signed app and pref off it. The purpose is to avoid shipping pre-mature signed package app code.
Assignee | ||
Updated•10 years ago
|
Assignee: nobody → hchang
Assignee | ||
Comment 1•10 years ago
|
||
Assignee | ||
Comment 2•10 years ago
|
||
I believe the attached patch also addresses the requirement mentioned in Bug 1205623.
Assignee | ||
Comment 3•10 years ago
|
||
Comment on attachment 8672486 [details] [diff] [review]
Bug1210235.patch
Hi Valentin,
The patch is intended to do the verification only when 'network.http.packaged-signed-apps-enabled' is true and the package has a signature.
The purpose of adding preference 'network.http.packaged-signed-apps-enabled' is to prevent from the immature "signed package app code" interfering the "original packaged web app".
Attachment #8672486 -
Flags: review?(valentin.gosu)
Assignee | ||
Comment 4•10 years ago
|
||
Comment 5•10 years ago
|
||
Comment on attachment 8672486 [details] [diff] [review]
Bug1210235.patch
Review of attachment 8672486 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks Henry. This is a very good step forward and resolves a few of my concerns when dealing with unsigned packages. r=me
Attachment #8672486 -
Flags: review?(valentin.gosu) → review+
Comment 6•10 years ago
|
||
Comment on attachment 8672486 [details] [diff] [review]
Bug1210235.patch
Review of attachment 8672486 [details] [diff] [review]:
-----------------------------------------------------------------
I think you also need to update some of the unit tests for signed packages, setting this pref.
::: netwerk/protocol/http/PackagedAppVerifier.cpp
@@ +68,5 @@
> static bool onceThru = false;
> if (!onceThru) {
> Preferences::AddBoolVarCache(&gDeveloperMode,
> "network.http.packaged-apps-developer-mode", false);
> + Preferences::AddBoolVarCache(&gSignedAppEnabled,
FYI, this variable does not seem to be in this patch. Maybe you have it left over in another patch.
Assignee | ||
Comment 7•10 years ago
|
||
Assignee | ||
Comment 8•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Attachment #8672899 -
Attachment description: Bug1210235.diff → Bug1210235 (r+'d, added missing variable declaration)
Assignee | ||
Updated•10 years ago
|
Attachment #8672486 -
Attachment is obsolete: true
Assignee | ||
Comment 9•10 years ago
|
||
Thanks Valentin! I am also aware of the missing variable declaration :p Have attached a new patch!
Assignee | ||
Comment 10•10 years ago
|
||
Assignee | ||
Comment 12•10 years ago
|
||
Got a bunch of test failures. It seems I have to enable "network.http.packaged-signed-apps-enabled" in where we enable "network.http.packaged-apps-developer-mode".
Assignee | ||
Comment 13•10 years ago
|
||
Assignee | ||
Comment 14•10 years ago
|
||
Assignee | ||
Updated•10 years ago
|
Attachment #8672899 -
Attachment is obsolete: true
Assignee | ||
Comment 15•10 years ago
|
||
Attached a new patch to fix test case error and waiting for try result:
https://treeherder.mozilla.org/#/jobs?repo=try&revision=b5380c1d5ecd
Assignee | ||
Updated•10 years ago
|
Keywords: checkin-needed
Comment 16•10 years ago
|
||
Can you please sure the patches don't have try syntax? :)
Comment 17•10 years ago
|
||
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox44:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla44
You need to log in
before you can comment on or make changes to this bug.
Description
•