Closed
Bug 1164977
Opened 10 years ago
Closed 10 years ago
Consolidate subsumes checks and attribute handling onto BasePrincipal
Categories
(Core :: Security: CAPS, defect)
Core
Security: CAPS
Tracking
()
RESOLVED
FIXED
mozilla41
| Tracking | Status | |
|---|---|---|
| firefox41 | --- | fixed |
People
(Reporter: bholley, Assigned: bholley)
References
Details
Attachments
(5 files)
|
1.24 KB,
patch
|
padenot
:
review+
|
Details | Diff | Splinter Review |
|
18.59 KB,
patch
|
gkrizsanits
:
review+
|
Details | Diff | Splinter Review |
|
21.30 KB,
patch
|
gkrizsanits
:
review+
|
Details | Diff | Splinter Review |
|
15.56 KB,
patch
|
gkrizsanits
:
review+
|
Details | Diff | Splinter Review |
|
7.30 KB,
patch
|
gkrizsanits
:
review+
|
Details | Diff | Splinter Review |
This is another significant unit of prep work I found myself doing on the road to bug 1163254. Splitting it out.
| Assignee | ||
Comment 1•10 years ago
|
||
| Assignee | ||
Comment 2•10 years ago
|
||
| Assignee | ||
Comment 3•10 years ago
|
||
| Assignee | ||
Comment 4•10 years ago
|
||
Attachment #8606441 -
Flags: review?(padenot)
| Assignee | ||
Comment 5•10 years ago
|
||
Attachment #8606442 -
Flags: review?(gkrizsanits)
| Assignee | ||
Comment 6•10 years ago
|
||
Attachment #8606443 -
Flags: review?(gkrizsanits)
| Assignee | ||
Comment 7•10 years ago
|
||
This sets the stage for the upcoming work for signed apps.
Attachment #8606444 -
Flags: review?(gkrizsanits)
| Assignee | ||
Comment 8•10 years ago
|
||
Attachment #8606445 -
Flags: review?(gkrizsanits)
| Assignee | ||
Comment 9•10 years ago
|
||
Updated•10 years ago
|
Attachment #8606441 -
Flags: review?(padenot) → review+
Updated•10 years ago
|
Attachment #8606442 -
Flags: review?(gkrizsanits) → review+
Comment 10•10 years ago
|
||
Comment on attachment 8606443 [details] [diff] [review]
Part 3 - Unify subsumes/equals logic on BasePrincipal and reduce duplicated code. v1
Review of attachment 8606443 [details] [diff] [review]:
-----------------------------------------------------------------
::: caps/nsPrincipal.cpp
@@ +186,5 @@
> + nsCOMPtr<nsIURI> thisDomain, otherDomain;
> + rv = GetDomain(getter_AddRefs(thisDomain));
> + NS_ENSURE_SUCCESS(rv, false);
> + rv = aOther->GetDomain(getter_AddRefs(otherDomain));
> + NS_ENSURE_SUCCESS(rv, false);
I don't really see the point of rv here. There are other consumers of GetDomain where the return value is ignored. So I guess we either fix all of them, ignoring it here too, or if you want to check it here I think we should just crash instead of returning false.
Attachment #8606443 -
Flags: review?(gkrizsanits) → review+
Updated•10 years ago
|
Attachment #8606444 -
Flags: review?(gkrizsanits) → review+
Updated•10 years ago
|
Attachment #8606445 -
Flags: review?(gkrizsanits) → review+
Comment 11•10 years ago
|
||
https://hg.mozilla.org/integration/mozilla-inbound/rev/10dbc3300287
https://hg.mozilla.org/integration/mozilla-inbound/rev/f2bb0908e1f9
https://hg.mozilla.org/integration/mozilla-inbound/rev/2493c405317f
https://hg.mozilla.org/integration/mozilla-inbound/rev/d4e6af40c5e8
https://hg.mozilla.org/integration/mozilla-inbound/rev/e18c56c6ade5
Comment 12•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/10dbc3300287
https://hg.mozilla.org/mozilla-central/rev/f2bb0908e1f9
https://hg.mozilla.org/mozilla-central/rev/2493c405317f
https://hg.mozilla.org/mozilla-central/rev/d4e6af40c5e8
https://hg.mozilla.org/mozilla-central/rev/e18c56c6ade5
Status: NEW → RESOLVED
Closed: 10 years ago
status-firefox41:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla41
You need to log in
before you can comment on or make changes to this bug.
Description
•