mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 14:22:01 +00:00
Bug 1700365 - Add workaround that disables zoom to focused input. r=masayuki
This test is often failure on debug build due to zoom to focused input. Depends on D110198 Differential Revision: https://phabricator.services.mozilla.com/D111366
This commit is contained in:
parent
3ed8588b5a
commit
ef3c3e56b4
@ -48,6 +48,11 @@ function starttest() {
|
|||||||
check = true;
|
check = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (navigator.appVersion.includes("Android")) {
|
||||||
|
// This is the workaround for test failure on debug build.
|
||||||
|
await SpecialPowers.pushPrefEnv({set: [["apz.zoom-to-focused-input.enabled", false]]});
|
||||||
|
}
|
||||||
|
|
||||||
/* test send* functions */
|
/* test send* functions */
|
||||||
$("testMouseEvent").addEventListener("click", doCheck, {once: true});
|
$("testMouseEvent").addEventListener("click", doCheck, {once: true});
|
||||||
sendMouseEvent({type:'click'}, "testMouseEvent");
|
sendMouseEvent({type:'click'}, "testMouseEvent");
|
||||||
|
Loading…
Reference in New Issue
Block a user