AwesomebarSearchProviderReset/TestPlan: Difference between revisions

 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
= Awesomebar Search Provider Reset =
= Consolidate search preferences =


{| class="fullwidth-table"
{| class="fullwidth-table"
Line 5: Line 5:
| Feature  
| Feature  
| Status  
| Status  
| Release Target
| Lead engineer  
| Lead engineer  
| QA Lead  
| QA Lead  
| QA Status
|-
|-
| Awesomebar Search Provider Reset
| Consolidate search preferences
| In Planning
| {{StatusHealthy|status=Landed}}
| Firefox 23
| Gavin Sharp
| Gavin Sharp
| Manuela Muntean
| Manuela Muntean
| {{StatusHealthy|status=Signed Off}}
|}
|}


== Summary ==
== Summary ==


Users falling victim to "search hijacking" (keyword.URL being taken over by an unwanted search engine) is a common problem.
* keyword.URL and originalDefaultEngine preferences have been removed
* When setting an engine in the Search bar, it is also set as the search engine for the URL bar, about:home (after reload) and in the contextual menu option


There are two cases we can detect:
== Reference ==
*pref is changed, and the hostname is different (e.g. switched from the default of Google to SuperAwesomeWebDealsSearch.com)
*pref is changed, and only parameters are different (e.g. user customized to a specific type of Google search, or referral codes where added)


In either case, we could prompt the user and offer to reset the keyword.URL value to the default after they trigger a search from the location bar.
*{{Bug|738818}} - consolidate Firefox search preferences - '''VERIFIED FIXED'''


*[https://bug718088.bugzilla.mozilla.org/attachment.cgi?id=600146 Screenshot of notification]
== Use Cases to Test ==


== Reference ==


*{{Bug|718088}} - offer to re-set keyword.URL if it has a non-default value - '''RESOLVED FIXED'''
* (1) after changing the engine from the search bar, make sure that the new engine is the one used for searches from: the URL bar, the about:home page (after reload or restart), the contextual menu option
* all changes from (1) are applied for one or multiple Firefox windows open
* all changes from (1) are applied for private browsing also
* all changes from (1) are applied with both the engines Firefox comes with and the engines installed by the user
* check that keyword.URL and originalDefaultEngine preferences have been removed


== Use Cases to Test ==


Test that the notification which prompts the user is displayed when
== Test Cases  ==
*manually changing keyword.URL pref from "about:config", and then actually performing a keyword search
*installing an add-on that automatically changes the keyword.URL pref, and then actually performing a keyword search


== Edge Cases ==
* Test cases are available in MozTrap, under the "Consolidate search preferences" test suite: https://moztrap.mozilla.org/manage/cases/?filter-suite=329


== Test Cases  ==
== Sign off ==


* Test cases and test results can be seen in the [http://bit.ly/1404VTE Google Spreadsheet]
;Criteria
*All the use cases were executed.
*All the blocker, critical, major bugs have been fixed.


==Bugs ==


*{{Bug|732671}} - Prevent third party apps to change default search engine - '''RESOLVED DUPLICATE'''
;Firefox 23 Aurora (pre-beta sign off) - 06/21/2013
*{{Bug|784189}} - Offer to re-set keyword.URL if it has a non-default value until a better solution can be found - '''RESOLVED DUPLICATE'''
*{{Bug|736878}} - keyword.URL reset prompt doesn't properly re-set prefs if default engine is modified - '''RESOLVED FIXED'''
*{{Bug|744957}} - Enhancements to help mitigate search hijacking - '''RESOLVED INCOMPLETE'''


* On the next OSs:
** Windows 7 64bit
** Windows 8 32bit
** Ubuntu 12.10 32bit
** Mac OSX 10.8.3


== Sign off Criteria ==
*Concerns:
*{{Bug|885351}} - Google is always used in about:home and the URL bar when setting the default search engine to an invalid one - '''NEW'''
*{{Bug|880882}} - handle migration of search preferences on upgrade to Firefox 23  - '''NEW'''
** Note:
*** when choosing an engine different from Google in the search bar (for example Bing) in Aurora 22 and then updating to Aurora 23, only the search made from the search bar and from the contextual menu option is made with Bing; the search performed from the URL bar and about:home page are still made with Google (browser.search.defaultenginename is set to Google)
Confirmed users
834

edits