aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/textencoder.rs
Commit message (Collapse)AuthorAgeFilesLines
* Move DOMString back to scriptAnthony Ramine2016-05-241-2/+1
| | | | This entirely removes the 'non-geckolib' feature of the util crate.
* Removed unused importsPer Lundberg2016-05-151-1/+1
| | | | This fixes #11185.
* Update SpiderMonkeyAnthony Ramine2016-05-031-2/+3
|
* Replaced DOMString constructor by conversion functions.Alan Jeffrey2015-11-121-1/+1
| | | | | | Replaced DOMString(...) by DOMString::from(...). Replaced ....0 by String::from(...). Removed any uses of .to_owner() in DOMString::from("...").
* Make DOMString a newtype around String, rather than a typedef.Ms2ger2015-11-041-1/+1
| | | | | | | | | | This should make it somewhat easier to experiment with alternative representations in the future. To reduce churn, this commit leaves the String field public, though. Also, this will allow us to use the default String type to represent the IDL USVString type, which explicitly forbids unpaired surrogates, ans as such is a better match to the Rust String type.
* merge from masterrohan.prinja2015-11-031-7/+5
|\
| * Remove the pointless TextEncoder::encoding field.Ms2ger2015-10-301-7/+5
| |
* | rearrange imports to be in alphabetical orderrohan.prinja2015-10-301-1/+1
| |
* | more refactoringrohan.prinja2015-10-301-1/+1
|/
* Refactor Error enum usage to consistently be qualifiedAnthony Urena2015-10-061-4/+3
|
* sorted the extern crate, mod & use declarationsRavi Shankar2015-09-241-2/+2
|
* Fix reported test-tidy errors for unmerged import blocksBrandon Fairchild2015-09-191-7/+3
| | | | This merges import blocks that were reported by tidy as unmerged.
* Make the traits for the IDL interfaces take &selfAnthony Ramine2015-08-271-3/+3
|
* make dom_struct derive HeapSizeOf,João Oliveira2015-08-271-1/+0
| | | | closes #7357
* sort all usesJohann Tuffe2015-08-201-4/+4
|
* Cleanup NodeIterator, Range, ServoHTMLParser, TextEncoder, URLHelper, URL, ↵Manish Goregaokar2015-08-181-2/+2
| | | | VirtualMethods
* Measure heap memory usage for more types. Fixes #6951Bogdan Cuza2015-08-131-0/+2
|
* Add spec linksBogdan Cuza2015-07-281-1/+1
|
* Upgrade to SM 39Michael Wu2015-06-191-6/+6
|
* Upgrade to rustc 551a74dddd84cf01440ee84148ebd18bc68bd7c8.Simon Sapin2015-05-051-1/+1
|
* Auto merge of #5903 - psdh:textencoder5900, r=Ms2gerbors-servo2015-05-011-2/+1
|\ | | | | | | | | | | | | | | | | | | ... #5900 Fixes #5900 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/5903) <!-- Reviewable:end -->
| * TextEncoder::Constructor should not trim whitespaces or lowercase labels #5900Prabhjyot Singh Sodhi2015-04-301-2/+1
| | | | | | | | Fixes #5900
* | Use a better name in TextEncoder::Encode.Ms2ger2015-05-011-3/+3
|/
* Remove as_slice() calls from script.Ms2ger2015-04-261-2/+2
|
* Throw RangeErrors in TextEncoder/TextDecoder constructors.Aneesh Agrawal2015-04-141-5/+3
| | | | | | | | Fixes #5620. Fix the TODOs and FIXMEs to comply with the spec. Add test case for passing invalid invalid labels. Update test metadata; three test cases have been resolved upstream and will be fixed whenever the rust-encoding dependency is sufficiently upgraded.
* Implement TextEncoderyodalee2015-03-311-0/+94
Fixes #4768.