| Index: third_party/WebKit/LayoutTests/http/tests/loading/empty-content-disposition-type.html
|
| diff --git a/third_party/WebKit/LayoutTests/http/tests/loading/empty-content-disposition-type.html b/third_party/WebKit/LayoutTests/http/tests/loading/empty-content-disposition-type.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..c2a5f84eb5cdee9961d7eb30129fcab995fe5fc4
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/http/tests/loading/empty-content-disposition-type.html
|
| @@ -0,0 +1,18 @@
|
| +<!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>
|
|
|