Closed
Bug 917176
Opened 11 years ago
Closed 11 years ago
[Wifi] Support list imported CA in NSS
Categories
(Firefox OS Graveyard :: Wifi, defect)
Tracking
(feature-b2g:2.0, tracking-b2g:backlog)
People
(Reporter: chucklee, Assigned: chucklee)
References
Details
Attachments
(2 files, 15 obsolete files)
1.29 KB,
patch
|
Details | Diff | Splinter Review | |
7.39 KB,
patch
|
Details | Diff | Splinter Review |
The API should look like
nsIDOMDOMRequest getCaList();
Should only list CAs imported by wifi manager, so we need to find a identifying method in Bug 917102.
Updated•11 years ago
|
blocking-b2g: --- → 1.3+
Updated•11 years ago
|
Target Milestone: --- → 1.3 Sprint 4 - 11/8
Updated•11 years ago
|
Whiteboard: [FT:RIL]
Updated•11 years ago
|
Target Milestone: 1.3 Sprint 4 - 11/8 → 1.3 Sprint 5 - 11/22
Updated•11 years ago
|
Target Milestone: 1.3 Sprint 5 - 11/22 → 1.3 Sprint 6 - 12/6
Assignee | ||
Comment 1•11 years ago
|
||
Attachment #8336563 -
Flags: review?(vchang)
Attachment #8336563 -
Flags: review?(mrbkap)
Assignee | ||
Comment 2•11 years ago
|
||
Use X509CertDB to get cert list directly.
Attachment #8336564 -
Flags: review?(vchang)
Attachment #8336564 -
Flags: review?(mrbkap)
Attachment #8336564 -
Flags: review?(brian)
Comment 3•11 years ago
|
||
I'm going to review this tomorrow (California time).
Updated•11 years ago
|
Attachment #8336563 -
Flags: review?(mrbkap) → review+
Comment 4•11 years ago
|
||
Comment on attachment 8336564 [details] [diff] [review]
0002. DOM API implementation.
Review of attachment 8336564 [details] [diff] [review]:
-----------------------------------------------------------------
r=me pending bsmith's review of the NSS bits.
Attachment #8336564 -
Flags: review?(mrbkap) → review+
Updated•11 years ago
|
Attachment #8336564 -
Flags: review?(brian) → review+
Updated•11 years ago
|
Attachment #8336563 -
Flags: review?(vchang)
Updated•11 years ago
|
Attachment #8336564 -
Flags: review?(vchang)
Assignee | ||
Comment 5•11 years ago
|
||
1. Change API function name.
2. Change id of returned object.
Attachment #8336563 -
Attachment is obsolete: true
Assignee | ||
Comment 6•11 years ago
|
||
1. Changes corresponding to API function name change.
2. Remove support for user certificate.
Attachment #8336564 -
Attachment is obsolete: true
Comment 7•11 years ago
|
||
The user story bug this blocks (bug 922930) has a target milestone of future, so this is not a committed feature for 1.3. Non-committed features for 1.3 should not block the release.
blocking-b2g: 1.3+ → 1.3?
Updated•11 years ago
|
blocking-b2g: 1.3? → 1.4+
Target Milestone: 1.3 Sprint 6 - 12/6 → ---
Assignee | ||
Updated•11 years ago
|
Attachment #8371278 -
Attachment description: 1001. IDL Change. V4 → 0001. IDL Change. V4
Comment 12•11 years ago
|
||
After discussing PM, it is not an 1.4+ bug. Put it in backlog.
blocking-b2g: 1.4+ → backlog
Updated•11 years ago
|
Whiteboard: [FT:RIL]
Assignee | ||
Comment 14•11 years ago
|
||
Update to webIDL.
Attachment #8371278 -
Attachment is obsolete: true
Attachment #8406729 -
Flags: review?(mrbkap)
Assignee | ||
Comment 15•11 years ago
|
||
Update to webIDL, add new interface.
Attachment #8392705 -
Attachment is obsolete: true
Attachment #8406731 -
Flags: review?(mrbkap)
Assignee | ||
Comment 16•11 years ago
|
||
Update according to bug 917102 comment 82.
Attachment #8406729 -
Attachment is obsolete: true
Attachment #8406729 -
Flags: review?(mrbkap)
Attachment #8408105 -
Flags: review?(mrbkap)
Assignee | ||
Comment 17•11 years ago
|
||
Update based on WebIDL change.
Attachment #8406731 -
Attachment is obsolete: true
Attachment #8406731 -
Flags: review?(mrbkap)
Attachment #8408108 -
Flags: review?(mrbkap)
Comment 18•11 years ago
|
||
Comment on attachment 8408105 [details] [diff] [review]
0001. WebIDL Change. V2
Review of attachment 8408105 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/webidl/MozWifiManager.webidl
@@ +218,5 @@
> DOMString certNickname);
>
> /**
> + * Get list of imported WIFI certificates.
> + * onsuccess: We have successfully get imported certificate list.
Nit: "We have successfully gotten the imported certificate list."
Attachment #8408105 -
Flags: review?(mrbkap) → review+
Comment 19•11 years ago
|
||
Comment on attachment 8408108 [details] [diff] [review]
0002. DOM API implementation. V7
Review of attachment 8408108 [details] [diff] [review]:
-----------------------------------------------------------------
::: dom/wifi/DOMWifiManager.js
@@ +263,5 @@
> Services.DOMRequest.fireError(request, msg.data);
> break;
>
> + case "WifiManager:getImportedCerts:Return:OK":
> + Services.DOMRequest.fireSuccess(request, exposeReadOnly(msg.data));
This won't work anymore. I believe that you're going to have to use some of the APIs on Components.utils to do this properly. See in particular <https://developer.mozilla.org/en-US/docs/Components.utils.createObjectIn>. The idea is that instead of exposing the chrome object directly to content, you expose a content object to content and no security stuff has to be done.
Attachment #8408108 -
Flags: review?(mrbkap)
Assignee | ||
Comment 20•11 years ago
|
||
Address comment 19.
Attachment #8408108 -
Attachment is obsolete: true
Attachment #8410914 -
Flags: review?(mrbkap)
Assignee | ||
Comment 21•11 years ago
|
||
Address comment 18.
Attachment #8408105 -
Attachment is obsolete: true
Assignee | ||
Comment 22•11 years ago
|
||
Hi Blake,
I wonder should I create an interface for returning result of |DOMRequest.onsuccess| like bug 917102, or using |Cu.createObjectIn()| in this patch (if this passed your review)?
Assignee | ||
Comment 23•11 years ago
|
||
Rebase.
Attachment #8410914 -
Attachment is obsolete: true
Attachment #8410914 -
Flags: review?(mrbkap)
Attachment #8413588 -
Flags: review?(mrbkap)
Comment 24•11 years ago
|
||
Comment on attachment 8413588 [details] [diff] [review]
0002. DOM API implementation. V9
Looks good. Thanks.
Attachment #8413588 -
Flags: review?(mrbkap) → review+
Assignee | ||
Comment 26•11 years ago
|
||
Try result : https://tbpl.mozilla.org/?tree=Try&rev=b586311119d2
This is second bug to check in.
Keywords: checkin-needed
Comment 27•11 years ago
|
||
https://hg.mozilla.org/integration/b2g-inbound/rev/1584de5eeb2f
https://hg.mozilla.org/integration/b2g-inbound/rev/2e55ff7dc0ff
Keywords: checkin-needed
Comment 28•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/1584de5eeb2f
https://hg.mozilla.org/mozilla-central/rev/2e55ff7dc0ff
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2.0 S1 (9may)
Updated•11 years ago
|
feature-b2g: --- → 2.0
Updated•10 years ago
|
blocking-b2g: backlog → ---
tracking-b2g:
--- → backlog
You need to log in
before you can comment on or make changes to this bug.
Description
•