Evaluate and improve persistent serialization format of Principals between sessions
Categories
(Core :: DOM: Security, enhancement, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox69 | --- | fixed |
People
(Reporter: ckerschb, Assigned: jkt)
References
(Depends on 2 open bugs, Blocks 1 open bug)
Details
(Whiteboard: [domsecurity-backlog1])
Attachments
(1 file, 2 obsolete files)
(deleted),
text/x-phabricator-request
|
Details |
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Updated•6 years ago
|
Comment 1•6 years ago
|
||
Reporter | ||
Updated•6 years ago
|
Assignee | ||
Updated•6 years ago
|
Assignee | ||
Comment 2•6 years ago
|
||
Assignee | ||
Comment 3•6 years ago
|
||
Comment on attachment 9058679 [details]
Bug 1508939 - rust serialization
Hey Nika, would you be able to give some initial feedback to this approach. Some neatening is needed (including making the proc-macro actually write the code and not be hard coded).
Assignee | ||
Comment 4•6 years ago
|
||
Migrating to pure Cpp
Assignee | ||
Updated•6 years ago
|
Updated•6 years ago
|
Assignee | ||
Comment 5•6 years ago
|
||
Comment on attachment 9061392 [details]
Bug 1508939 - cpp serialization
Hey :ckerschb, could you give a first round of feedback on this pure cpp patch please?
Three notable changes I would like to do next:
- Share symbols between the serialization and deserialization code rather than hardcode "Content" "Null" etc.
- Move the BasePrincipal::FromJSON to have a Principal specific function on Content/NullPrincipal etc rather than a giant function (I had some issues with linking jsoncpp preventing adding Json::Value as a method signature)
- Make a function to check if a JSON member is present, if it's a string and then convert to a nsCString (Rather than have
content.isMember("domain")
code everywhere)
Thanks!
Reporter | ||
Comment 6•6 years ago
|
||
Comment on attachment 9061392 [details]
Bug 1508939 - cpp serialization
I left detailed notes in phabricator!
Comment 8•5 years ago
|
||
bugherder |
Comment 9•5 years ago
|
||
Comment 10•5 years ago
|
||
Comment 11•5 years ago
|
||
Comment on attachment 9069634 [details]
Bug 1508939 - disabled testSessionFilePreservation on Android 4.3 r=Aryx
Revision D33627 was moved to bug 1556667. Setting attachment 9069634 [details] to obsolete.
Comment 12•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Description
•