Source code
Revision control
Copy as Markdown
Other Tools
Test Info: Errors
- This test gets skipped with pattern: os == 'android' OR win11_2009 && bits == 32 OR win11_2009 && asan OR os == 'linux' && asan OR display == 'wayland' && os_version == '22.04' OR http3 OR http2 OR os == 'mac' && os_version == '14.70' && processor == 'x86_64'
- This test failed 43 times in the preceding 30 days. quicksearch this test
- Manifest: gfx/layers/apz/test/mochitest/mochitest.toml
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>Various hit-testing tests that spawn in new windows - Part 2</title>
<script src="/tests/SimpleTest/SimpleTest.js"></script>
<script type="application/javascript" src="apz_test_utils.js"></script>
<link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
<script type="application/javascript">
var prefs = [
// Turn off displayport expiry so that we don't miss failures where the
// displayport is set and then expires before we get around to doing the
// hit-test inside the activated scrollframe.
["apz.displayport_expiry_ms", 0],
// Always layerize the scrollbar track, so as to get consistent results
// across platforms. Eventually we should probably get rid of this and make
// the tests more robust in terms of testing all the different cross-platform
// variations.
["layout.scrollbars.always-layerize-track", true],
// We need this pref to allow the synthetic mouse events to propagate to APZ,
// and to allow the MozMouseHittest event in particular to be dispatched to
// APZ as a MouseInput so the hit result is recorded.
["test.events.async.enabled", true],
// Turns on APZTestData logging which we use to obtain the hit test results.
["apz.test.logging_enabled", true],
// Prefs to ensure we can produce a precise amount of scrolling via
// synthesized touch-drag gestures.
["apz.touch_start_tolerance", "0.0"],
["apz.fling_min_velocity_threshold", "10000"],
];
var subtests = [
{"file": "helper_hittest_deep_scene_stack.html", "prefs": prefs},
{"file": "helper_hittest_pointerevents_svg.html", "prefs": prefs},
{"file": "helper_hittest_clippath.html", "prefs": prefs},
{"file": "helper_hittest_hoisted_scrollinfo.html", "prefs": prefs},
{"file": "helper_hittest_hidden_inactive_scrollframe.html", "prefs": prefs},
{"file": "helper_hittest_bug1715187.html", "prefs": prefs},
{"file": "helper_hittest_bug1715369.html", "prefs": prefs},
{"file": "helper_hittest_fixed.html", "prefs": prefs},
{"file": "helper_hittest_fixed-2.html", "prefs": prefs},
{"file": "helper_hittest_fixed-3.html", "prefs": prefs},
{"file": "helper_hittest_fixed_bg.html", "prefs": prefs},
{"file": "helper_hittest_fixed_item_over_oop_iframe.html", "prefs": prefs},
{"file": "helper_hittest_bug1730606-1.html", "prefs": prefs},
{"file": "helper_hittest_bug1730606-2.html", "prefs": prefs},
{"file": "helper_hittest_bug1730606-3.html", "prefs": prefs},
{"file": "helper_hittest_bug1730606-4.html", "prefs": prefs},
{"file": "helper_hittest_bug1257288.html", "prefs": prefs},
{"file": "helper_hittest_bug1119497.html", "prefs": prefs},
{"file": "helper_hittest_obscuration.html", "prefs": prefs},
// Note: iframe_perspective.html and iframe_perspective-3.html
{"file": "helper_hittest_iframe_perspective-2.html", "prefs": prefs},
// This test should be at the end, because it's prone to timeout.
{"file": "helper_hittest_spam.html", "prefs": prefs},
];
if (isApzEnabled()) {
SimpleTest.waitForExplicitFinish();
window.onload = function() {
runSubtestsSeriallyInFreshWindows(subtests)
.then(SimpleTest.finish, SimpleTest.finishWithFailure);
};
}
</script>
</head>
<body>
</body>
</html>