aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/textdecoder.rs
Commit message (Collapse)AuthorAgeFilesLines
* Use typed array API in TextDecoder::DecodeRoman Zaynetdinov2016-12-271-5/+5
|
* script creates methods taking '*mut JSContext' unsafeAbelardo E. Mendoza2016-11-141-2/+2
| | | | rebase + marked the necessary new code as unsafe
* Pass a &GlobalScope to WebIDL static methods and constructorsAnthony Ramine2016-10-061-3/+2
|
* Make reflect_dom_object take a &GlobalScopeAnthony Ramine2016-10-061-2/+3
|
* 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-2/+0
| | | | This fixes #11185.
* conversion: Extrapolate array_buffer_view_dataEmilio Cobos Álvarez2016-01-041-11/+9
| | | | And use it instead of the raw jsapi calls.
* 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.
* rearrange imports to be in alphabetical orderrohan.prinja2015-10-301-1/+1
|
* more refactoringrohan.prinja2015-10-301-1/+1
|
* sorted the extern crate, mod & use declarationsRavi Shankar2015-09-241-3/+2
|
* Fix reported test-tidy errors for unmerged import blocksBrandon Fairchild2015-09-191-4/+1
| | | | This merges import blocks that were reported by tidy as unmerged.
* Make the traits for the IDL interfaces take &selfAnthony Ramine2015-08-271-4/+4
|
* make dom_struct derive HeapSizeOf,João Oliveira2015-08-271-1/+0
| | | | closes #7357
* sort all usesJohann Tuffe2015-08-201-2/+2
|
* Measure heap memory usage for more types. Fixes #6951Bogdan Cuza2015-08-131-0/+2
|
* Add spec linksBogdan Cuza2015-07-281-1/+3
|
* Upgrade to SM 39Michael Wu2015-06-191-8/+8
|
* Throw RangeErrors in TextEncoder/TextDecoder constructors.Aneesh Agrawal2015-04-141-3/+16
| | | | | | | | 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 TextDecoder#decode.Keith Yeung2015-04-081-1/+35
|
* Implement TextDecoder (fixes #4769).Keith Yeung2015-04-081-0/+65