зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1622088 - Part 3: Add startup_about_home_paint_cached Talos test. r=davehunt,perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D71794
This commit is contained in:
Родитель
cbf3bf7d43
Коммит
5871cc1e82
|
@ -13,7 +13,7 @@
|
||||||
"tests": ["tart_flex", "ts_paint_flex"]
|
"tests": ["tart_flex", "ts_paint_flex"]
|
||||||
},
|
},
|
||||||
"other": {
|
"other": {
|
||||||
"tests": ["a11yr", "ts_paint", "twinopen", "sessionrestore", "sessionrestore_no_auto_restore", "tabpaint", "cpstartup", "startup_about_home_paint", "pdfpaint"]
|
"tests": ["a11yr", "ts_paint", "twinopen", "sessionrestore", "sessionrestore_no_auto_restore", "tabpaint", "cpstartup", "startup_about_home_paint", "startup_about_home_paint_cached", "pdfpaint"]
|
||||||
},
|
},
|
||||||
"sessionrestore-many-windows": {
|
"sessionrestore-many-windows": {
|
||||||
"tests": ["sessionrestore_many_windows"]
|
"tests": ["sessionrestore_many_windows"]
|
||||||
|
|
|
@ -187,10 +187,33 @@ class ts_paint_flex(ts_paint):
|
||||||
|
|
||||||
@register_test()
|
@register_test()
|
||||||
class startup_about_home_paint(ts_paint):
|
class startup_about_home_paint(ts_paint):
|
||||||
|
"""
|
||||||
|
Tests loading about:home on startup with the about:home startup cache
|
||||||
|
disabled, to more accurately simulate startup when the cache does not
|
||||||
|
exist.
|
||||||
|
"""
|
||||||
url = None
|
url = None
|
||||||
cycles = 20
|
cycles = 20
|
||||||
extensions = ['${talos}/startup_test/startup_about_home_paint/addon']
|
extensions = ['${talos}/startup_test/startup_about_home_paint/addon']
|
||||||
tpmanifest = '${talos}/startup_test/startup_about_home_paint/startup_about_home_paint.manifest'
|
tpmanifest = '${talos}/startup_test/startup_about_home_paint/startup_about_home_paint.manifest'
|
||||||
|
preferences = {
|
||||||
|
'browser.startup.homepage.abouthome_cache.enabled': False,
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@register_test()
|
||||||
|
class startup_about_home_paint_cached(ts_paint):
|
||||||
|
"""
|
||||||
|
Tests loading about:home on startup with the about:home startup cache
|
||||||
|
enabled.
|
||||||
|
"""
|
||||||
|
url = None
|
||||||
|
cycles = 20
|
||||||
|
extensions = ['${talos}/startup_test/startup_about_home_paint/addon']
|
||||||
|
tpmanifest = '${talos}/startup_test/startup_about_home_paint/startup_about_home_paint.manifest'
|
||||||
|
preferences = {
|
||||||
|
'browser.startup.homepage.abouthome_cache.enabled': True,
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
@register_test()
|
@register_test()
|
||||||
|
|
Загрузка…
Ссылка в новой задаче