Don't move the data when extracting the bytes in XMLHttpRequest::Send.

The data is used later to set the Content-Type header. Current rustc
(4d2af3861) does not detect this use-after-move, but treats the later use as
if the data was None. It will, however, detect the bug in d2b30f7d3, which we
are upgrading to.
This commit is contained in:
Ms2ger 2014-09-29 17:52:41 +02:00
parent 760f28b551
commit e72b5613ee
4 changed files with 1 additions and 12 deletions

View file

@ -1,8 +1,5 @@
[formdata.htm]
type: testharness
[empty formdata]
expected: FAIL
[formdata with string]
expected: FAIL

View file

@ -15,6 +15,3 @@
[XMLHttpRequest: send() - charset parameter of Content-Type 6]
expected: FAIL
[XMLHttpRequest: send() - charset parameter of Content-Type 7]
expected: FAIL

View file

@ -1,5 +0,0 @@
[send-content-type-string.htm]
type: testharness
[XMLHttpRequest: send() - Content-Type]
expected: FAIL