Source code

Revision control

Copy as Markdown

Other Tools

Test Info: Warnings

  • This test gets skipped with pattern: OR toolkit == 'android'
<meta charset="utf-8">
<title>Various tests for event regions overrides</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 smooth scrolling so that we don't have to wait for
// APZ animations to finish before sampling the scroll offset
["general.smoothScroll", false],
// Increase the content response timeout because these tests do preventDefault
// and we want to make sure APZ actually waits for them.
["apz.content_response_timeout", 10000],
var subtests = [
{"file": "helper_override_root.html", "prefs": prefs},
{"file": "helper_override_subdoc.html", "prefs": prefs},
if (isApzEnabled()) {
window.onload = function() {
.then(SimpleTest.finish, SimpleTest.finishWithFailure);