Closed
Bug 1335943
Opened 7 years ago
Closed 7 years ago
Completions are not setting the right Origin Attribute
Categories
(Toolkit :: Safe Browsing, defect, P2)
Toolkit
Safe Browsing
Tracking
()
RESOLVED
FIXED
mozilla56
Tracking | Status | |
---|---|---|
firefox56 | --- | fixed |
People
(Reporter: francois, Assigned: dlee)
Details
Attachments
(1 file)
It looks like the hash completer: http://searchfox.org/mozilla-central/rev/e95e4ed8b5229a29dacc32c0b90968df5e7a6ff3/toolkit/components/url-classifier/nsUrlClassifierHashCompleter.js#392-432 doesn't set the NECKO_SAFEBROWSING_FIRST_PARTY_DOMAIN origin attribute and so it will not use the same cookie jar as Safe Browsing updates. Note that this is not a regression caused by bug 1320402, instead, it should have been done as part of bug 897516 but was forgotten.
Reporter | ||
Updated•7 years ago
|
Assignee: nobody → dlee
Status: NEW → ASSIGNED
Comment hidden (mozreview-request) |
Reporter | ||
Comment 2•7 years ago
|
||
mozreview-review |
Comment on attachment 8879872 [details] Bug 1335943 - Use the right origin attribute in Safe Browsing completions. https://reviewboard.mozilla.org/r/151274/#review156380 ::: commit-message-95543:1 (Diff revision 1) > +Bug 1335943 - Completions are not setting the right Origin Attribute. r?francois I would suggest phrasing this as a fix instead of a bug: "Use the right origin attribute in Safe Browsing completions." ::: netwerk/test/unit/test_cookiejars_safebrowsing.js:198 (Diff revision 1) > } > > function completeCheckSafeBrowsingCookie(request, data, context) { > // Confirm that all >> THREE << cookies are sent back over the channel: > // a) the safebrowsing cookie set when updating > - // b) the regular cookie with custom loadcontext defined in this test. > + // b) the safebrowsing cookie set when send gethash "when sending gethash"
Attachment #8879872 -
Flags: review?(francois) → review+
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Pushed by dlee@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e13653ff2d5c Use the right origin attribute in Safe Browsing completions. r=francois
Comment 6•7 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e13653ff2d5c
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
status-firefox56:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla56
You need to log in
before you can comment on or make changes to this bug.
Description
•