Closed
Bug 1301666
Opened 8 years ago
Closed 7 years ago
Remove triggeringPrincipal_b64 from SessionHistory.jsm
Categories
(Core :: DOM: Security, defect, P3)
Core
DOM: Security
Tracking
()
RESOLVED
FIXED
mozilla55
Tracking | Status | |
---|---|---|
firefox55 | --- | fixed |
People
(Reporter: ckerschb, Assigned: ckerschb)
References
Details
(Whiteboard: [domsecurity-backlog1])
Attachments
(1 file)
3.71 KB,
patch
|
mikedeboer
:
review+
|
Details | Diff | Splinter Review |
Bug 1297338 introduces the concept of a principalToInherit which is basically the equivalent of the current triggeringPrincipal. After a few cycles (once principalToInherit is well established) we should update: * browser/components/sessionstore/SessionHistory.jsm * mobile/android/components/SessionStore.js
Assignee | ||
Updated•8 years ago
|
Assignee: nobody → ckerschb
Status: NEW → ASSIGNED
Depends on: 1297338
Priority: -- → P3
Whiteboard: [domsecurity-backlog1]
Assignee | ||
Comment 1•8 years ago
|
||
The new code will use the variables * triggeringPrincipal_base64, and * principalToInherit_base64 After a few cycles (e.g. within FF53 or FF55) we can remove: * triggeringPrincipal_b64
Summary: Serialize principalToInherit and triggeringPrincipal within SessionHistory.jsm and SessionStore.js → Remove triggeringPrincipal_b64 from SessionHistory.jsm and SessionStore.js
Comment 2•7 years ago
|
||
Android now uses SessionHistory.jsm as well, so removing this from there will be sufficient.
Summary: Remove triggeringPrincipal_b64 from SessionHistory.jsm and SessionStore.js → Remove triggeringPrincipal_b64 from SessionHistory.jsm
Assignee | ||
Comment 3•7 years ago
|
||
(In reply to Jan Henning [:JanH] from comment #2) > Android now uses SessionHistory.jsm as well, so removing this from there > will be sufficient. Thanks for the update Jan - in fact, I think we can get that code updated now.
Assignee | ||
Comment 4•7 years ago
|
||
Mike, we landed Bug 1297338 within FF52. I think we can remove triggeringPrincipal_b64 now - what do you think? https://treeherder.mozilla.org/#/jobs?repo=try&revision=5882ea27723695484a9388b8928f3878f4bd2351
Attachment #8846535 -
Flags: review?(mdeboer)
Comment 5•7 years ago
|
||
Comment on attachment 8846535 [details] [diff] [review] bug_1301666_remove_triggeringprincipal_b64_from_sessionhistory.patch Review of attachment 8846535 [details] [diff] [review]: ----------------------------------------------------------------- Yay for code removal! ::: toolkit/modules/sessionstore/SessionHistory.jsm @@ +403,5 @@ > } > } > > + if (entry.triggeringPrincipal_base64) { > + shEntry.triggeringPrincipal = nit: Please make these two one-liners.
Attachment #8846535 -
Flags: review?(mdeboer) → review+
Pushed by mozilla@christophkerschbaumer.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/423b156372ea Remove triggeringPrincipal_b64 from SessionHistory.jsm. r=mikedeboer
Comment 7•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/423b156372ea
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox55:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
You need to log in
before you can comment on or make changes to this bug.
Description
•