blob: 1fd84e461cd25c50db36839871339d0a74427909 [file]
<!DOCTYPE html>
<html>
<head>
<script src="../resources/ui-helper.js"></script>
</head>
<script>
if (window.testRunner) {
testRunner.dumpAsText();
testRunner.waitUntilDone();
}
onload = async () => {
let iframe0 = document.createElement('iframe');
iframe0.src = 'data:application/pdf,x';
document.body.append(iframe0);
await caches.has('a');
await caches.has('a');
$vm.print('before');
iframe0.remove();
$vm.print('after');
await UIHelper.waitForPDFFadeIn();
testRunner?.notifyDone();
};
</script>
<p>This test passes if it does not timeout.</p>
</html>