blob: 35449d820e066d87471022dd7e0a6f5329be37b3 [file] [log] [blame]
<!DOCTYPE html><!-- webkit-test-runner [ ResizeObserverEnabled=true ] -->
<p>This test passes if it doesn't crash.</p>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
onload = async () => {
for (let i = 0; i < 8; i++) {
document.createElement('div');
}
for (let i = 0; i < 8; i++) {
new ResizeObserver(() => {});
}
let resizeObserver = new ResizeObserver(() => {});
await resizeObserver.observe(document.createElement('div'));
new ImageData(1000, 10000);
if (window.testRunner)
testRunner.notifyDone();
};
</script>