Bug 1331937 - Extend session restore Talos test with many windows. r=mikedeboer,jmaher

MozReview-Commit-ID: LjaSszpTLOe
This commit is contained in:
Beekill95 2017-06-28 09:42:34 +07:00
Родитель 1847f5c49a
Коммит 2c51be9561
5 изменённых файлов: 9705 добавлений и 3 удалений

Просмотреть файл

@ -317,6 +317,7 @@ testing/modules/sinon-2.3.2.js
testing/mozbase/mozprofile/tests/files/prefs_with_comments.js
testing/talos/talos/scripts/jszip.min.js
testing/talos/talos/startup_test/sessionrestore/profile/sessionstore.js
testing/talos/talos/startup_test/sessionrestore/profile-manywindows/sessionstore.js
testing/talos/talos/tests/canvasmark/**
testing/talos/talos/tests/dromaeo/**
testing/talos/talos/tests/v8_7/**

Просмотреть файл

@ -22,21 +22,21 @@
"talos_options": ["--disable-e10s"]
},
"other-e10s": {
"tests": ["a11yr", "ts_paint", "tpaint", "sessionrestore", "sessionrestore_no_auto_restore", "tabpaint"]
"tests": ["a11yr", "ts_paint", "tpaint", "sessionrestore", "sessionrestore_many_windows", "sessionrestore_no_auto_restore", "tabpaint"]
},
"other_nol64": {
"tests": ["a11yr", "ts_paint", "tpaint", "sessionrestore", "sessionrestore_no_auto_restore", "tabpaint"],
"talos_options": ["--disable-e10s"]
},
"other-e10s_nol64": {
"tests": ["a11yr", "ts_paint", "tpaint", "sessionrestore", "sessionrestore_no_auto_restore", "tabpaint"]
"tests": ["a11yr", "ts_paint", "tpaint", "sessionrestore", "sessionrestore_many_windows", "sessionrestore_no_auto_restore", "tabpaint"]
},
"other_l64": {
"tests": ["a11yr", "ts_paint", "tpaint", "sessionrestore", "sessionrestore_no_auto_restore", "tabpaint"],
"talos_options": ["--disable-e10s"]
},
"other-e10s_l64": {
"tests": ["a11yr", "ts_paint", "tpaint", "sessionrestore", "sessionrestore_no_auto_restore", "tabpaint"]
"tests": ["a11yr", "ts_paint", "tpaint", "sessionrestore", "sessionrestore_many_windows", "sessionrestore_no_auto_restore", "tabpaint"]
},
"g1": {
"tests": ["tp5o_scroll", "glterrain"],

Просмотреть файл

@ -0,0 +1 @@
{"profile-after-change":true,"final-ui-startup":true,"sessionstore-windows-restored":true,"quit-application-granted":true,"quit-application":true,"sessionstore-final-state-write-complete":true,"profile-change-net-teardown":true,"profile-change-teardown":true,"profile-before-change":true}

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -188,6 +188,18 @@ class sessionrestore_no_auto_restore(sessionrestore):
preferences = {'browser.startup.page': 1}
@register_test()
class sessionrestore_many_windows(sessionrestore):
"""
A start up test measuring the time it takes to load a sessionstore.js file.
1. Set up Firefox to restore automatically from sessionstore.js file.
2. Launch Firefox.
3. Measure the delta between firstPaint and sessionRestored.
"""
profile_path = '${talos}/startup_test/sessionrestore/profile-manywindows'
@register_test()
class tpaint(TsBase):
"""