Closed
Bug 1346713
Opened 7 years ago
Closed 7 years ago
Generate unique firstPartyDomain for NullPrincipal everytime
Categories
(Core :: DOM: Security, enhancement)
Core
DOM: Security
Tracking
()
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: allstars.chh, Assigned: allstars.chh)
References
Details
(Whiteboard: [tor][domsecurity-active] )
Attachments
(1 file, 1 obsolete file)
14.20 KB,
patch
|
allstars.chh
:
review+
|
Details | Diff | Splinter Review |
In Bug 1300671 we have a specific firstPartyDomain assigned to NullPrincipal. And smaug asks if we could have different firstPartyDomain each time in https://bugzilla.mozilla.org/show_bug.cgi?id=1300671#c19
Assignee | ||
Updated•7 years ago
|
Whiteboard: [tor][domsecurity-active]
Assignee | ||
Comment 1•7 years ago
|
||
Assignee | ||
Updated•7 years ago
|
Attachment #8856446 -
Flags: review?(bugs)
Updated•7 years ago
|
Attachment #8856446 -
Flags: review?(bugs) → review+
Assignee | ||
Comment 2•7 years ago
|
||
Comment on attachment 8856446 [details] [diff] [review] Patch. Review of attachment 8856446 [details] [diff] [review]: ----------------------------------------------------------------- ::: caps/NullPrincipal.cpp @@ +109,5 @@ > + OriginAttributes attrs(aOriginAttributes); > + // remove the {} characters from both ends. > + path.Mid(path, 1, path.Length() - 2); > + path.AppendLiteral(".mozilla"); > + attrs.SetFirstPartyDomain(aIsFirstParty, path); I think it's better to move these inside if (aIsFirstParty), will update this in next patch.
Assignee | ||
Comment 3•7 years ago
|
||
Attachment #8856446 -
Attachment is obsolete: true
Attachment #8856792 -
Flags: review+
Pushed by yhuang@mozilla.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/4ce695cd46dc Generate unique firstPartyDomain value for NullPrincipal. r=smaug
Comment 5•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/4ce695cd46dc
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in
before you can comment on or make changes to this bug.
Description
•