mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 12:55:46 +00:00
Bug 1177018 - Increase the APZ content response timeout to 15 seconds for all tests. r=kats
It has previously been increased for a specific test, but we have found another test that needs it increased. Rather than increasing it for individual tests, increase it for all tests. --HG-- extra : rebase_source : f76c2a43bdcfa97a86fb5d63ff9708e6215c2678 extra : source : f9a184b70afcf294f7eb84897448fb3db03f681a
This commit is contained in:
parent
2f7c3135ad
commit
96e062add7
@ -40,14 +40,7 @@ window.onload = function() {
|
|||||||
// Dropping the touch slop to 0 makes the tests easier to write because
|
// Dropping the touch slop to 0 makes the tests easier to write because
|
||||||
// we can just do a one-pixel drag to get over the pan threshold rather
|
// we can just do a one-pixel drag to get over the pan threshold rather
|
||||||
// than having to hard-code some larger value.
|
// than having to hard-code some larger value.
|
||||||
["apz.touch_start_tolerance", "0.0"],
|
["apz.touch_start_tolerance", "0.0"]
|
||||||
|
|
||||||
// The B2G emulator is hella slow, and needs more than 300ms to run the
|
|
||||||
// main-thread code that deals with layerizing subframes and running
|
|
||||||
// touch listeners. In my local runs this needs to be at least 1000.
|
|
||||||
// On try this sometimes needs to be as long as 8 seconds (bug 1176798)
|
|
||||||
// so we make it 15 seconds just to be extra safe.
|
|
||||||
["apz.content_response_timeout", "15000"]
|
|
||||||
]
|
]
|
||||||
}, testDone);
|
}, testDone);
|
||||||
};
|
};
|
||||||
|
@ -252,6 +252,13 @@ user_pref("identity.fxaccounts.remote.signin.uri", "https://%(server)s/fxa-signi
|
|||||||
user_pref("identity.fxaccounts.settings.uri", "https://%(server)s/fxa-settings");
|
user_pref("identity.fxaccounts.settings.uri", "https://%(server)s/fxa-settings");
|
||||||
user_pref('identity.fxaccounts.remote.webchannel.uri', 'https://%(server)s/');
|
user_pref('identity.fxaccounts.remote.webchannel.uri', 'https://%(server)s/');
|
||||||
|
|
||||||
|
// Increase the APZ content response timeout in tests to 15 seconds.
|
||||||
|
// This is to accommodate the fact that test environments tends to be slower
|
||||||
|
// than production environments (with the b2g emulator being the slowest of them
|
||||||
|
// all), resulting in the production timeout value sometimes being exceeded
|
||||||
|
// and causing false-positive test failures. See bug 1176798, bug 1177018.
|
||||||
|
user_pref("apz.content_response_timeout", 15000);
|
||||||
|
|
||||||
// Make sure SSL Error reports don't hit the network
|
// Make sure SSL Error reports don't hit the network
|
||||||
user_pref("security.ssl.errorReporting.url", "https://example.com/browser/browser/base/content/test/general/pinning_reports.sjs?succeed");
|
user_pref("security.ssl.errorReporting.url", "https://example.com/browser/browser/base/content/test/general/pinning_reports.sjs?succeed");
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user