mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 23:31:56 +00:00
Bug 1388356
- add pref apz.test.fails_with_native_injection for windows to allow touch based events to work in windows 10 tests. r=kats
MozReview-Commit-ID: 3QJ1aFpxGxY
This commit is contained in:
parent
19b37af0ff
commit
0003b91c8f
@ -8,6 +8,8 @@
|
||||
<script type="application/javascript" src="apz_test_native_event_utils.js"></script>
|
||||
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
|
||||
<script type="application/javascript">
|
||||
var isWindows = (getPlatform() == "windows");
|
||||
|
||||
var apz_touch_action_prefs = [
|
||||
// Obviously we need touch-action support enabled for testing touch-action.
|
||||
["layout.css.touch_action.enabled", true],
|
||||
@ -30,6 +32,7 @@ var apz_touch_action_prefs = [
|
||||
// position is synced back to the main thread. So we disable displayport
|
||||
// expiry for these tests.
|
||||
["apz.displayport_expiry_ms", 0],
|
||||
["apz.test.fails_with_native_injection", isWindows],
|
||||
];
|
||||
|
||||
function apzScriptInjector(name) {
|
||||
|
@ -35,6 +35,7 @@ var touch_action_prefs = basic_pan_prefs.slice(); // make a copy
|
||||
touch_action_prefs.push(["layout.css.touch_action.enabled", true]);
|
||||
|
||||
var isWindows = (getPlatform() == "windows");
|
||||
touch_action_prefs.push(["apz.test.fails_with_native_injection", isWindows]);
|
||||
|
||||
var subtests = [
|
||||
// Simple tests to exercise basic panning behaviour
|
||||
|
Loading…
Reference in New Issue
Block a user