Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(16)

Unified Diff: third_party/WebKit/LayoutTests/http/tests/loading/empty-content-disposition-type.html

Issue 2844353003: Use net::HttpContentTypeDisposition in blink (Closed)
Patch Set: fix Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/loading/resources/empty-content-disposition-type.php » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/http/tests/loading/resources/empty-content-disposition-type.php » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698