|
Lines 32-49
a/LayoutTests/legacy-animation-engine/compositing/backing/transform-transition-from-outside-view.html_sec1
|
| 32 |
testRunner.dumpAsText(); |
32 |
testRunner.dumpAsText(); |
| 33 |
testRunner.waitUntilDone(); |
33 |
testRunner.waitUntilDone(); |
| 34 |
} |
34 |
} |
|
|
35 |
|
| 36 |
function filterString(inputString, skippedLinesRegexp) |
| 37 |
{ |
| 38 |
var lines = inputString.split("\n"); |
| 39 |
var filtered = lines.filter(function (str) { return !skippedLinesRegexp.test(str); }); |
| 40 |
return filtered.join("\n"); |
| 41 |
} |
| 35 |
|
42 |
|
| 36 |
function dumpLayers() |
43 |
function dumpLayers() |
| 37 |
{ |
44 |
{ |
| 38 |
if (window.testRunner) { |
45 |
if (window.testRunner) { |
| 39 |
output.innerText = window.internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_BACKING_STORE_ATTACHED); |
46 |
output.innerText = filterString(window.internals.layerTreeAsText(document, internals.LAYER_TREE_INCLUDES_BACKING_STORE_ATTACHED), /transform/); |
| 40 |
testRunner.notifyDone(); |
47 |
testRunner.notifyDone(); |
| 41 |
} |
48 |
} |
| 42 |
} |
49 |
} |
| 43 |
|
50 |
|
| 44 |
window.addEventListener("load", function() { |
51 |
window.addEventListener("load", function() { |
| 45 |
document.body.classList.add('changed'); |
52 |
document.body.classList.add('changed'); |
| 46 |
window.setTimeout(dumpLayers, 0); |
53 |
setTimeout(dumpLayers, 0); |
| 47 |
}); |
54 |
}); |
| 48 |
</script> |
55 |
</script> |
| 49 |
</head> |
56 |
</head> |