blob: c2a5f84eb5cdee9961d7eb30129fcab995fe5fc4 [file] [log] [blame]
<!doctype html>
<html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<body>
<script>
async_test(t => {
const url = 'resources/empty-content-disposition-type.php';
const iframe = document.createElement('iframe');
iframe.addEventListener('load', t.step_func(() => {
assert_equals(iframe.contentDocument.body.textContent, 'hello, world\n');
t.done();
}));
iframe.src = url;
document.body.appendChild(iframe);
}, 'load a page with an invalid content-disposition-type');
</script>
</body>