servo/components/script/dom/bindings
bors-servo 62acdd303b Auto merge of #8477 - asajeffrey:opaque-domstring, r=asajeffrey
Opaque DOMString

This patch makes DOMString an opaque wrapper round String (currently it's a transparent wrapper).

The changes are:

* Replacing DOMString(foo) by DOMString::from(foo).
* Replacing foo.0 by String::from(foo).
* Adding functions clear, push_str and extend for in-place mutation of DOMStrings.
* Replacing DOMString by String in other threads (devtools, storage and filereader).
* Making DOMString implement !Send.
* Removing the pub attribute from the contents of DOMString.

This enables experimenting with other string representations in the DOM.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/8477)
<!-- Reviewable:end -->
2015-11-13 07:17:30 +05:30
..
codegen Auto merge of #8477 - asajeffrey:opaque-domstring, r=asajeffrey 2015-11-13 07:17:30 +05:30
callback.rs Clean up the conversion routines 2015-11-11 14:19:30 +01:00
cell.rs Check modified event state from layout and dirty it there. 2015-10-27 12:48:48 -07:00
conversions.rs Auto merge of #8477 - asajeffrey:opaque-domstring, r=asajeffrey 2015-11-13 07:17:30 +05:30
error.rs Use throw_type_error and throw_range_error from js. 2015-11-12 10:20:19 +01:00
global.rs script: Make timer events e10s-safe. 2015-11-12 14:30:25 -05:00
inheritance.rs remove unneeded import + reexport InheritTypes from inheritance 2015-10-30 20:26:30 +09:00
js.rs Auto merge of #8286 - eefriedman:no-move, r=nox 2015-11-08 12:51:00 +05:30
mod.rs Introduce trait WeakReferenceable 2015-11-12 12:51:50 +01:00
num.rs Remove the Zeroable definition for Finite<T>. 2015-10-29 12:21:51 +01:00
proxyhandler.rs Support the updated spidermonkey bindings 2015-10-14 15:30:52 -04:00
refcounted.rs rearrange imports to be in alphabetical order 2015-10-30 20:28:59 +09:00
reflector.rs rearrange imports to be in alphabetical order 2015-10-30 20:28:59 +09:00
str.rs Fix reported test-tidy errors for unmerged import blocks 2015-09-19 12:50:14 -04:00
structuredclone.rs Support the updated spidermonkey bindings 2015-10-14 15:30:52 -04:00
trace.rs script: Make timer events e10s-safe. 2015-11-12 14:30:25 -05:00
utils.rs Use the conversion traits from js. 2015-11-12 10:48:58 +01:00
weakref.rs Introduce trait WeakReferenceable 2015-11-12 12:51:50 +01:00
xmlname.rs more refactoring 2015-10-30 20:26:29 +09:00