nsCookiePermission PermissionManager calls should use principals
Categories
(Core :: Networking: Cookies, task, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox71 | --- | fixed |
People
(Reporter: emz, Assigned: emz)
References
Details
(Whiteboard: [necko-triaged])
Attachments
(2 files)
We would like to remove permission manager calls with nsIURI in bug 1402957.
Affected PermissionManager usages: https://searchfox.org/mozilla-central/rev/3a61fb322f74a0396878468e50e4f4e97e369825/netwerk/cookie/nsCookiePermission.cpp#77,93
| Assignee | ||
Comment 2•7 years ago
|
||
After a discussion with :johannh and :ehsan we've decided to create a "legacy" permission manager method (not exposed via IDL) to test cookie permission via URI + origin parameters. This prevents us from having to create a new principal on every cookie service call.
We opted for a similar approach in Bug 1574473.
| Assignee | ||
Comment 3•7 years ago
|
||
| Assignee | ||
Comment 4•7 years ago
|
||
Depends on D45847
| Assignee | ||
Updated•7 years ago
|
Comment 7•7 years ago
|
||
Backed out for multiple failures in nsICookieManager.remove
Failure log: https://treeherder.mozilla.org/logviewer.html#/jobs?job_id=268123549&repo=autoland&lineNumber=28154
Backout: https://hg.mozilla.org/integration/autoland/rev/4c4c25595fe8e9b234e9731128abbd4e324749d8
Comment 8•7 years ago
|
||
| bugherder | ||
Comment 10•7 years ago
|
||
| bugherder | ||
| Assignee | ||
Updated•7 years ago
|
Description
•