auto merge of #2301 : Manishearth/servo/xhr-bytestring, r=Ms2ger

I had used DOMString in place of ByteString while implementing the XHR webidl, now that we have ByteString, I'll switch to that.

Blocks #2282
This commit is contained in:
bors-servo 2014-05-03 10:55:28 -04:00
commit 897c54351a
3 changed files with 17 additions and 15 deletions

View file

@ -2,6 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#[deriving(Encodable,Clone)]
pub struct ByteString(Vec<u8>);
impl ByteString {