Bug 1449746 - Make helper_hittest_backface_hidden.html more robust. r=kats

MozReview-Commit-ID: J0GH58j3X6U

--HG--
extra : rebase_source : f1764396de82d583a087fe6cd27a5c11944d5121
This commit is contained in:
Botond Ballo 2018-03-29 23:16:31 -04:00
parent defa726925
commit 257491c121

View File

@ -49,6 +49,13 @@ function* test(testDriver) {
}
var subframe = document.getElementById('front');
// Set a displayport to ensure the subframe is layerized.
// This is not required for exercising the behavior we want to test,
// but it's needed to be able to assert the results reliably.
config.utils.setDisplayPortForElement(0, 0, 1000, 1000, subframe, 1);
yield waitForAllPaints(testDriver);
var subframeViewId = config.utils.getViewId(subframe);
var {hitInfo, scrollId} = hitTest(centerOf(subframe));