Closed
Bug 925521
Opened 12 years ago
Closed 11 years ago
Remove filter on recorded search engine identifiers for Desktop
Categories
(Firefox Health Report Graveyard :: Client: Desktop, defect)
Firefox Health Report Graveyard
Client: Desktop
Tracking
(firefox27 verified, firefox28 verified)
VERIFIED
FIXED
Firefox 28
People
(Reporter: mconnor, Assigned: rnewman)
References
Details
Attachments
(3 files, 1 obsolete file)
|
7.75 KB,
patch
|
gps
:
review+
|
Details | Diff | Splinter Review |
|
12.96 KB,
patch
|
gps
:
review+
bajaj
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
|
3.22 KB,
patch
|
gps
:
review+
|
Details | Diff | Splinter Review |
See rationale in bug 925515 comment 0
Greg has already built this as an add-on [1], but we can dispense with the monkeypatching once this is ratified by the right people.
[1] https://hg.mozilla.org/users/gszorc_mozilla.com/fxaddon-healthreport-all-searches/
| Assignee | ||
Comment 1•12 years ago
|
||
We should also avoid pre-registering fields in this case.
Summary: remove filter on search recording for Desktop → Remove filter on recorded search engine identifiers for Desktop
| Assignee | ||
Comment 2•12 years ago
|
||
E_TOO_MANY_BUGS.
| Assignee | ||
Comment 3•12 years ago
|
||
Attachment #818122 -
Flags: review?(gps)
| Assignee | ||
Comment 4•12 years ago
|
||
Attachment #818121 -
Attachment is obsolete: true
Attachment #818121 -
Flags: review?(gps)
Attachment #818136 -
Flags: review?(gps)
Comment 5•12 years ago
|
||
Comment on attachment 818136 [details] [diff] [review]
Part 1: correct behavior for installed engines. v2
Review of attachment 818136 [details] [diff] [review]:
-----------------------------------------------------------------
We conducted review on Phabricator. So the comments are preserved for posterity:
[gps]
We should run the decision of collapsing primary and after-market into the same namespace past the metrics people. I suspect they may want a way to easily distinguish between search engine providers we shipped and those installed by users.
Inline Comments
services/healthreport/providers.jsm
1295 ↗ (On Diff #10)
What about search engines that are installed between FHR init and search recording? Those will get attributed to an other-* field initially and a proper name after restart. I initially thought we shouldn't care too much. But, that data will linger in the DB for months and seem odd.
Via Web · Fri, Oct 18, 9:43 AM · D8#2
rnewman commented on this revision.
I think that all aftermarket engines will be missing an identifier…
Inline Comments
services/healthreport/providers.jsm
1295 ↗ (On Diff #10)
I don't think that's true.
Either the added engine has an identifier, or it doesn't, and that's true whether it's installed before or after init.
If it does, we'll hit line 1290 regardless. If it doesn't, there would be no entry in nameMappings anyway.
(What this tells me is that nameMappings is no longer necessary at all…)
Via Web · Fri, Oct 18, 9:51 AM · D8#3
gps requested changes to this revision.
Inline Comments
services/healthreport/providers.jsm
1295 ↗ (On Diff #10)
So I'm going to punt this back to you for revision then.
Via Conduit · Fri, Oct 18, 9:58 AM · D8#4
rnewman updated this revision to Diff #11.
Bug 925521 - Part 2: correctly record identifiers for non-pre-installed engines. r=gps
Remove name mappings. Tests still pass.
Via Web · Fri, Oct 18, 10:05 AM · D8#5
gps accepted this revision.
Looks good! Loving Phabricator's interdiff display!
Attachment #818136 -
Flags: review?(gps) → review+
Comment 6•12 years ago
|
||
Comment on attachment 818122 [details] [diff] [review]
Part 2: extract identifier dynamically. v1
Review of attachment 818122 [details] [diff] [review]:
-----------------------------------------------------------------
http://phabricator.gregoryszorc.com/D8
Attachment #818122 -
Flags: review?(gps) → review+
| Assignee | ||
Comment 7•12 years ago
|
||
https://hg.mozilla.org/services/services-central/rev/c0ac5c3fd460
https://hg.mozilla.org/services/services-central/rev/ff2d338d15ad
Whiteboard: [fixed in services][qa+]
| Assignee | ||
Comment 8•12 years ago
|
||
For the record: not merging s-c until we get a final decision re council approval.
| Assignee | ||
Comment 9•12 years ago
|
||
Follow-up for bc failure.
https://hg.mozilla.org/services/services-central/rev/b000f9dbd242
| Assignee | ||
Comment 10•12 years ago
|
||
Waiting on merge (and landing for Fennec part).
Flags: needinfo?(mconnor)
| Assignee | ||
Updated•11 years ago
|
Flags: needinfo?(mconnor) → needinfo?(jjensen)
Updated•11 years ago
|
Flags: needinfo?(jjensen)
| Assignee | ||
Comment 11•11 years ago
|
||
John clarified via email that this feature is approved to land.
| Assignee | ||
Comment 12•11 years ago
|
||
This and Bug 925517 will be merged into Nightly 28 later this week.
Target Milestone: --- → Firefox 28
| Assignee | ||
Comment 13•11 years ago
|
||
Follow-up for bustage:
https://hg.mozilla.org/services/services-central/rev/ed2343a4ad52
| Assignee | ||
Comment 14•11 years ago
|
||
Noticed the bc test failure was a little deeper. So now we track context searches correctly!
Attachment #824082 -
Flags: review?(gps)
Updated•11 years ago
|
Attachment #824082 -
Flags: review?(gps) → review+
| Assignee | ||
Comment 15•11 years ago
|
||
| Assignee | ||
Comment 16•11 years ago
|
||
Goddamnit. We need a precommit hook that checks for outdated version numbers in tests.
https://hg.mozilla.org/services/services-central/rev/cdfe0db3e762
Comment 17•11 years ago
|
||
I wonder if we could move some of those mochitests into /services/healthreport...
| Assignee | ||
Comment 18•11 years ago
|
||
(In reply to Gregory Szorc [:gps] from comment #17)
> I wonder if we could move some of those mochitests into
> /services/healthreport...
That would sure reduce the number of follow-ups I have to push every time I touch this code! :D
| Assignee | ||
Comment 19•11 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/c0ac5c3fd460
https://hg.mozilla.org/mozilla-central/rev/ff2d338d15ad
https://hg.mozilla.org/mozilla-central/rev/b000f9dbd242
https://hg.mozilla.org/mozilla-central/rev/ed2343a4ad52
https://hg.mozilla.org/mozilla-central/rev/51c553b11e62
https://hg.mozilla.org/mozilla-central/rev/cdfe0db3e762
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Whiteboard: [fixed in services][qa+] → [qa+]
| Assignee | ||
Comment 20•11 years ago
|
||
Comment on attachment 818136 [details] [diff] [review]
Part 1: correct behavior for installed engines. v2
[Approval Request Comment]
** Three-patch series **
Bug caused by (feature/regressing bug #):
None.
User impact if declined:
Another release in which we're unable to address search engine hijacking using FHR data (Bug 925527). See Bug 925515 Comment 6.
Testing completed (on m-c, etc.):
Has been baking for a while.
Risk to taking this patch (and alternatives if risky):
Pretty slim.
String or IDL/UUID changes made by this patch:
None.
Attachment #818136 -
Flags: approval-mozilla-aurora?
Updated•11 years ago
|
Attachment #818136 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
| Assignee | ||
Comment 21•11 years ago
|
||
https://hg.mozilla.org/releases/mozilla-aurora/rev/aa8e43f9ec74
https://hg.mozilla.org/releases/mozilla-aurora/rev/d2a2cfcd70fe
https://hg.mozilla.org/releases/mozilla-aurora/rev/a018b8412692
https://hg.mozilla.org/releases/mozilla-aurora/rev/d1d7b9c9fa2e
https://hg.mozilla.org/releases/mozilla-aurora/rev/a4a7cd7883cc
https://hg.mozilla.org/releases/mozilla-aurora/rev/cbd566346605
status-firefox27:
--- → fixed
Updated•11 years ago
|
status-firefox28:
--- → fixed
Comment 22•11 years ago
|
||
Verified as fixed on Firefox 27.0b1 and the 12/12 Firefox 28.0a2 - Windows 7 64-bit, Ubuntu 13.04 32-bit, Mac OS X 10.7.5.
I installed and used several engines on each OS. Here's a sample of how this looks:
" ""org.mozilla.searches.counts"": {
""_v"": 3,
""eBay.searchbar"": 2,
""google.searchbar"": 1,
""google.urlbar"": 1,
""other-Ask.com.abouthome"": 3,
""other-Ask.com.contextmenu"": 1,
""other-Ask.com.searchbar"": 1,
""other-DuckDuckGo.abouthome"": 1,
""other-DuckDuckGo.searchbar"": 2,
""other-DuckDuckGo.urlbar"": 1,
""other-Makepolo Search.abouthome"": 1,
""other-Makepolo Search.contextmenu"": 2,
""other-Makepolo Search.searchbar"": 2,
""other-iLoveVitaly.searchbar"": 10,
""other-iLoveVitaly.urlbar"": 2,
""yahoo.searchbar"": 3
},"
Updated•7 years ago
|
Product: Firefox Health Report → Firefox Health Report Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•