• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<!DOCTYPE html>
2<meta charset="utf-8">
3<title>Upload ASCII-named file in UTF-8 form</title>
4<link rel="help"
5      href="https://html.spec.whatwg.org/multipage/form-control-infrastructure.html#multipart-form-data">
6<link rel="help"
7      href="https://html.spec.whatwg.org/multipage/dnd.html#datatransferitemlist">
8<link rel="help"
9      href="https://w3c.github.io/FileAPI/#file-constructor">
10<link rel="author" title="Benjamin C. Wiley Sittler"
11      href="mailto:bsittler@chromium.org">
12<script src="/resources/testharness.js"></script>
13<script src="/resources/testharnessreport.js"></script>
14<script src="../support/send-file-form-helper.js"></script>
15<script>
16'use strict';
17
18formPostFileUploadTest({
19  fileNameSource: 'ASCII',
20  fileBaseName: 'file-for-upload-in-form.txt',
21  formEncoding: 'UTF-8',
22  expectedEncodedBaseName: 'file-for-upload-in-form.txt',
23});
24
25</script>
26