Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<title>Test for bug 1292781</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="text/javascript">
if (isApzEnabled()) {
// Run the actual test in its own window, because it is supposed to be run
// in the top level content document to collect APZ test data up to the root
// content APZC by using nsIDOMWindowUtils.getCompositorAPZTestData which
// is not able to walk up to the root content APZC if the function gets called
// from OOP iframes. We could make it work across process boundaries, but so
// far running the test in a new top level content document would be fine.
var w = null;
window.onload = async () => {
await pushPrefs([["apz.test.logging_enabled", true],
["apz.displayport_expiry_ms", 0]]);
w ="helper_interrupted_reflow.html", "_blank");
function finishTest() {