Closed
Bug 1164977
Opened 9 years ago
Closed 9 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•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=c5160708d0b7
Assignee | ||
Comment 2•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=37d52c6001e9
Assignee | ||
Comment 3•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=7101421b98af
Assignee | ||
Comment 4•9 years ago
|
||
Attachment #8606441 -
Flags: review?(padenot)
Assignee | ||
Comment 5•9 years ago
|
||
Attachment #8606442 -
Flags: review?(gkrizsanits)
Assignee | ||
Comment 6•9 years ago
|
||
Attachment #8606443 -
Flags: review?(gkrizsanits)
Assignee | ||
Comment 7•9 years ago
|
||
This sets the stage for the upcoming work for signed apps.
Attachment #8606444 -
Flags: review?(gkrizsanits)
Assignee | ||
Comment 8•9 years ago
|
||
Attachment #8606445 -
Flags: review?(gkrizsanits)
Assignee | ||
Comment 9•9 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=ac1da236ec70
Updated•9 years ago
|
Attachment #8606441 -
Flags: review?(padenot) → review+
Updated•9 years ago
|
Attachment #8606442 -
Flags: review?(gkrizsanits) → review+
Comment 10•9 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•9 years ago
|
Attachment #8606444 -
Flags: review?(gkrizsanits) → review+
Updated•9 years ago
|
Attachment #8606445 -
Flags: review?(gkrizsanits) → review+
Comment 11•9 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•9 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: 9 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
•