Backed out changeset 83c2ba6648ac (bug 1773696) for causing mochitest failures on TimeStamp.h CLOSED TREE

This commit is contained in:
Bogdan Szekely 2022-06-30 13:17:39 +03:00
Родитель 71f807bd57
Коммит ff9c07ed1b
7 изменённых файлов: 7 добавлений и 20 удалений

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

@ -777,13 +777,7 @@ nsDOMWindowUtils::SendWheelEvent(float aX, float aY, double aDeltaX,
wheelEvent.mRefPoint =
nsContentUtils::ToWidgetPoint(CSSPoint(aX, aY), offset, presContext);
if (StaticPrefs::test_events_async_enabled()) {
widget->DispatchInputEvent(&wheelEvent);
} else {
nsEventStatus status = nsEventStatus_eIgnore;
nsresult rv = widget->DispatchEvent(&wheelEvent, status);
NS_ENSURE_SUCCESS(rv, rv);
}
widget->DispatchInputEvent(&wheelEvent);
if (widget->AsyncPanZoomEnabled()) {
// Computing overflow deltas is not compatible with APZ, so if APZ is

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

@ -31,8 +31,7 @@ SimpleTest.waitForFocus(function() {
"set":[["general.smoothScroll", false],
["mousewheel.min_line_scroll_amount", 1],
["mousewheel.system_scroll_override.enabled", false],
["mousewheel.transaction.timeout", 100000],
["test.events.async.enabled", true]]}, runTests)}, window);
["mousewheel.transaction.timeout", 100000]]}, runTests)}, window);
function runTests()
{

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

@ -181,8 +181,7 @@ window.onload = function() {
"set":[["general.smoothScroll", false],
["mousewheel.acceleration.start", -1],
["mousewheel.system_scroll_override.enabled", false],
["mousewheel.with_control.action", 3],
["test.events.async.enabled", true]]}, runTest);
["mousewheel.with_control.action", 3]]}, runTest);
}
SimpleTest.waitForExplicitFinish();

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

@ -3283,9 +3283,7 @@ function runTests()
["mousewheel.with_shift.delta_multiplier_z", 100],
["mousewheel.with_win.delta_multiplier_x", 100],
["mousewheel.with_win.delta_multiplier_y", 100],
["mousewheel.with_win.delta_multiplier_z", 100],
["test.events.async.enabled", true]
["mousewheel.with_win.delta_multiplier_z", 100]
]}, continueTest);
}
</script>

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

@ -542,8 +542,7 @@ SimpleTest.waitForExplicitFinish();
pushPrefs([["general.smoothScroll", false],
["mousewheel.transaction.timeout", 0],
["mousewheel.transaction.ignoremovedelay", 0],
["test.events.async.enabled", true]])
["mousewheel.transaction.ignoremovedelay", 0]])
.then(waitUntilApzStable)
.then(test)
.then(SimpleTest.finish, SimpleTest.finishWithFailure);

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

@ -39,8 +39,7 @@ async function test() {
SimpleTest.waitForExplicitFinish();
pushPrefs([["general.smoothScroll", false],
["mousewheel.transaction.timeout", 1000000],
["test.events.async.enabled", true]])
["mousewheel.transaction.timeout", 1000000]])
.then(waitUntilApzStable)
.then(test)
.then(SimpleTest.finish, SimpleTest.finishWithFailure);

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

@ -105,8 +105,7 @@ SimpleTest.waitForExplicitFinish();
pushPrefs([["general.smoothScroll", false],
["mousewheel.transaction.timeout", 0],
["mousewheel.transaction.ignoremovedelay", 0],
["test.events.async.enabled", true]])
["mousewheel.transaction.ignoremovedelay", 0]])
.then(waitUntilApzStable)
.then(test)
.then(SimpleTest.finish, SimpleTest.finishWithFailure);