Closed
Bug 826992
Opened 13 years ago
Closed 13 years ago
Avoid hardcoded clientId in SafeBrowser.jsm
Categories
(Toolkit :: Safe Browsing, defect)
Toolkit
Safe Browsing
Tracking
()
RESOLVED
FIXED
mozilla21
People
(Reporter: glandium, Assigned: glandium)
References
Details
Attachments
(1 file, 1 obsolete file)
We currently have this in SafeBrowser.jsm:
#ifdef USE_HISTORIC_SAFEBROWSING_ID
let clientID = "navclient-auto-ffox";
#else
let clientID = Services.appinfo.name;
#endif
Building Firefox as a xulrunner application makes it having to choose between all xulrunner applications using the navclient-auto-ffox clientID, or Firefox using "firefox" as a clientID.
This also led mobile to add their own copy of the file just to do that:
#ifdef USE_HISTORIC_SAFEBROWSING_ID
let clientID = "navclient-auto-ffox";
#else
#expand let clientID = __MOZ_APP_UA_NAME__;
#endif
All in all, this would benefit from being handled with an app pref.
| Assignee | ||
Comment 1•13 years ago
|
||
Attachment #698248 -
Flags: review?(dtownsend+bugmail)
| Assignee | ||
Comment 2•13 years ago
|
||
Attachment #698255 -
Flags: review?(dtownsend+bugmail)
| Assignee | ||
Updated•13 years ago
|
Attachment #698248 -
Attachment is obsolete: true
Attachment #698248 -
Flags: review?(dtownsend+bugmail)
Updated•13 years ago
|
Attachment #698255 -
Flags: review?(mark.finkle)
Attachment #698255 -
Flags: review?(dtownsend+bugmail)
Attachment #698255 -
Flags: review+
Comment 3•13 years ago
|
||
Comment on attachment 698255 [details] [diff] [review]
Avoid hardcoded clientId in SafeBrowser.jsm
Looks OK to me, but since we are removing the mobile SafeBrowsing component (which we wanted to do anyway) I want GCP to take a look too.
Attachment #698255 -
Flags: review?(mark.finkle)
Attachment #698255 -
Flags: review?(gpascutto)
Attachment #698255 -
Flags: review+
Updated•13 years ago
|
Attachment #698255 -
Flags: review?(gpascutto) → review+
| Assignee | ||
Comment 4•13 years ago
|
||
Comment 5•13 years ago
|
||
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla21
Comment 7•13 years ago
|
||
This bug causes a regression in reader mode, among other things, because the change breaks the mobile prefs file. See https://bugzilla.mozilla.org/show_bug.cgi?id=830308#c6 for details.
Comment 8•13 years ago
|
||
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
| Assignee | ||
Comment 9•13 years ago
|
||
Relanded with a fixup to mobile.js.
https://hg.mozilla.org/integration/mozilla-inbound/rev/d56a171a1325
Comment 10•13 years ago
|
||
Status: REOPENED → RESOLVED
Closed: 13 years ago → 13 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•