aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/url.rs
Commit message (Collapse)AuthorAgeFilesLines
* 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-3/+3
|\
| * Remove JSTraceable implementation from RefCell.Eli Friedman2015-11-021-3/+3
| | | | | | | | | | The implementation wasn't really right, and we would rather just use DOMRefCell anyway.
* | rearrange imports to be in alphabetical orderrohan.prinja2015-10-301-1/+1
| |
* | more refactoringrohan.prinja2015-10-301-1/+1
|/
* Update URL-related interfaces and their tests up to specAnthony Ramine2015-10-191-21/+21
| | | | | | | | | The URL spec recently changed and the variour "mixins" interfaces are gone, this commit updates our code and WPT accordingly. The new expected failures related to HTMLAnchorElement and HTMLAreaElement's attributes are due to their moving to the HTMLHyperLinkElementUtils interface, which is not anymore in a separate <script class=untested> element.
* Fix reported test-tidy errors for unmerged import blocksBrandon Fairchild2015-09-191-4/+2
| | | | This merges import blocks that were reported by tidy as unmerged.
* Implement setters in URLUtilsAnthony Ramine2015-08-301-21/+84
|
* Make the traits for the IDL interfaces take &selfAnthony Ramine2015-08-271-12/+12
|
* make dom_struct derive HeapSizeOf,João Oliveira2015-08-271-1/+0
| | | | closes #7357
* sort all usesJohann Tuffe2015-08-201-1/+1
|
* Cleanup NodeIterator, Range, ServoHTMLParser, TextEncoder, URLHelper, URL, ↵Manish Goregaokar2015-08-181-1/+1
| | | | VirtualMethods
* Measure heap memory usage for more types. Fixes #6951Bogdan Cuza2015-08-131-0/+1
|
* Implement URL and trivially missing URLUtils membersAnthony Ramine2015-06-201-0/+150
Fixes #6322.