forked from mirrors/gecko-dev
Bug 1331937 - Extend session restore Talos test with many windows. r=mikedeboer,jmaher
MozReview-Commit-ID: LjaSszpTLOe
This commit is contained in:
parent
1847f5c49a
commit
2c51be9561
5 changed files with 9705 additions and 3 deletions
|
|
@ -317,6 +317,7 @@ testing/modules/sinon-2.3.2.js
|
||||||
testing/mozbase/mozprofile/tests/files/prefs_with_comments.js
|
testing/mozbase/mozprofile/tests/files/prefs_with_comments.js
|
||||||
testing/talos/talos/scripts/jszip.min.js
|
testing/talos/talos/scripts/jszip.min.js
|
||||||
testing/talos/talos/startup_test/sessionrestore/profile/sessionstore.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/canvasmark/**
|
||||||
testing/talos/talos/tests/dromaeo/**
|
testing/talos/talos/tests/dromaeo/**
|
||||||
testing/talos/talos/tests/v8_7/**
|
testing/talos/talos/tests/v8_7/**
|
||||||
|
|
|
||||||
|
|
@ -22,21 +22,21 @@
|
||||||
"talos_options": ["--disable-e10s"]
|
"talos_options": ["--disable-e10s"]
|
||||||
},
|
},
|
||||||
"other-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": {
|
"other_nol64": {
|
||||||
"tests": ["a11yr", "ts_paint", "tpaint", "sessionrestore", "sessionrestore_no_auto_restore", "tabpaint"],
|
"tests": ["a11yr", "ts_paint", "tpaint", "sessionrestore", "sessionrestore_no_auto_restore", "tabpaint"],
|
||||||
"talos_options": ["--disable-e10s"]
|
"talos_options": ["--disable-e10s"]
|
||||||
},
|
},
|
||||||
"other-e10s_nol64": {
|
"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": {
|
"other_l64": {
|
||||||
"tests": ["a11yr", "ts_paint", "tpaint", "sessionrestore", "sessionrestore_no_auto_restore", "tabpaint"],
|
"tests": ["a11yr", "ts_paint", "tpaint", "sessionrestore", "sessionrestore_no_auto_restore", "tabpaint"],
|
||||||
"talos_options": ["--disable-e10s"]
|
"talos_options": ["--disable-e10s"]
|
||||||
},
|
},
|
||||||
"other-e10s_l64": {
|
"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": {
|
"g1": {
|
||||||
"tests": ["tp5o_scroll", "glterrain"],
|
"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}
|
||||||
File diff suppressed because it is too large
Load diff
|
|
@ -188,6 +188,18 @@ class sessionrestore_no_auto_restore(sessionrestore):
|
||||||
preferences = {'browser.startup.page': 1}
|
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()
|
@register_test()
|
||||||
class tpaint(TsBase):
|
class tpaint(TsBase):
|
||||||
"""
|
"""
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue