Skip to content

Commit

Permalink
whitespace fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Hallvord R. M. Steen committed Feb 28, 2014
1 parent 46fae90 commit 7c58dff
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions XMLHttpRequest/formdata.htm
Expand Up @@ -38,6 +38,6 @@
do_test("empty formdata", new FormData(), '\n');
do_test("formdata with string", create_formdata(['key', 'value']), 'key=value,\n');
do_test("formdata with named string", create_formdata(['key', new Blob(['value'], {type: 'text/plain'}), 'kv.txt']), '\nkey=kv.txt:text/plain:5,');
do_test("formdata from form", new FormData(document.getElementById('form')), 'key=value,\n');
do_test("formdata from form", new FormData(document.getElementById('form')), 'key=value,\n');

</script>
10 changes: 5 additions & 5 deletions XMLHttpRequest/send-entity-body-document.htm
Expand Up @@ -5,8 +5,8 @@
<meta charset="utf-8">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<link rel="help" href="http://dvcs.w3.org/hg/xhr/raw-file/tip/Overview.html#the-send()-method" data-tested-assertations="/following::ol/li[4]" />
<link rel="help" href="http://dvcs.w3.org/hg/xhr/raw-file/tip/Overview.html#dom-XMLHttpRequest-send-document" data-tested-assertations="/following::dd" />
<link rel="help" href="http://dvcs.w3.org/hg/xhr/raw-file/tip/Overview.html#the-send()-method" data-tested-assertations="/following::ol/li[4]" />
<link rel="help" href="http://dvcs.w3.org/hg/xhr/raw-file/tip/Overview.html#dom-XMLHttpRequest-send-document" data-tested-assertations="/following::dd" />
</head>
<body>
<div id="log"></div>
Expand All @@ -17,8 +17,8 @@
{ contentType: 'text/html;charset=UTF-8', responseText : '<body>\u30C6\u30b9\u30c8<\/body>' } /* correctly serialized Shift-JIS */,
{ contentType: 'text/html;charset=UTF-8', responseText: 'top' }, /* There's some markup included, but it's not really relevant for this test suite, so we do an indexOf() test */
{ contentType: 'text/html;charset=UTF-8' }
]
]

function request(input, number) {
test(function() {
var client = new XMLHttpRequest()
Expand All @@ -38,7 +38,7 @@
This test also tests how documents in various encodings are serialized.
The below IFRAMEs contain:
* one XML document parsed from a windows-1252 source - content is <ÿ/>
* one HTML-document parsed from an invalid UTF-8 source, will contain a basic HTML DOM
* one HTML-document parsed from an invalid UTF-8 source, will contain a basic HTML DOM
with a U+FFFD replacement character for the invalid char
* one HTML document parsed from a valid Shift-JIS source
-->
Expand Down

0 comments on commit 7c58dff

Please sign in to comment.