gfx/layers/apz/test/mochitest/test_group_touchevents-5.html
author Robert Longson <longsonr@gmail.com>
Sat, 04 Feb 2023 15:41:48 +0000
changeset 651752 40237e7707f1928c84d09cdd2f1fd018a74ea784
parent 643135 a39067f76b9cb7777de562d120474aacba52a732
permissions -rw-r--r--
Bug 1814872 - Fix degenerate radial gradient handling r=emilio This is a change from SVG 1.1 where we only had to check for r=0 because fr did not exist. The SVG 2 behaviour was clarified in https://github.com/w3c/svgwg/issues/648 Differential Revision: https://phabricator.services.mozilla.com/D168783

<!DOCTYPE HTML>
<html>
<head>
  <meta charset="utf-8">
  <title>Various touch tests that spawn in new windows (5)</title>
  <script src="/tests/SimpleTest/SimpleTest.js"></script>
  <script type="application/javascript" src="apz_test_native_event_utils.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 subtests = [
  // tests that scrolling doesn't cause extra SchedulePaint calls
  {"file": "helper_bug1669625.html", "dp_suppression": false},
  {"file": "helper_touch_drag_root_scrollbar.html", "prefs": [["apz.allow_zooming", true]]},
  {"file": "helper_touch_drag_root_scrollbar.html", "prefs": [["apz.allow_zooming", false]]},
  {"file": "helper_overscroll_in_apz_test_data.html", "prefs": [
    ["apz.overscroll.enabled", true],
    ["apz.overscroll.test_async_scroll_offset.enabled", true],
    ["apz.test.logging_enabled", true],
  ]},
  // Add new subtests here. If this starts timing out because it's taking too
  // long, create a test_group_touchevents-6.html file. Refer to 1423011#c57
  // for more details.
  // You can still add tests to test_group_touchevents-4.html, it hasn't gotten
  // too long yet, but this file was created because adding a specific test to
  // test_group_touchevents-5.html would timeout (without making any progress)
  // with fission x-origin tests. So you can add tests here or in
  // test_group_touchevents-4.html until they start timing out.
];

if (isApzEnabled()) {
  ok(window.TouchEvent, "Check if TouchEvent is supported (it should be, the test harness forces it on everywhere)");
  if (getPlatform() == "android") {
    // This has a lot of subtests, and Android emulators are slow.
    SimpleTest.requestLongerTimeout(2);
  }

  SimpleTest.waitForExplicitFinish();
  window.onload = function() {
    runSubtestsSeriallyInFreshWindows(subtests)
    .then(SimpleTest.finish, SimpleTest.finishWithFailure);
  };
}

  </script>
</head>
<body>
</body>
</html>