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
..
2015-11-13 07:17:30 +05:30
2015-11-13 06:22:40 +05:30
2015-11-12 17:52:59 -06:00
2015-11-12 17:52:59 -06:00
2015-11-12 17:52:59 -06:00
2015-11-11 14:19:30 +01:00
2015-11-04 12:09:11 +01:00
2015-10-30 20:26:29 +09:00
2015-11-12 17:52:59 -06:00
2015-11-12 17:53:01 -06:00
2015-10-30 20:26:29 +09:00
2015-10-15 17:30:41 +02:00
2015-11-12 17:52:59 -06:00
2015-11-12 17:52:59 -06:00
2015-10-30 20:26:29 +09:00
2015-11-12 17:52:59 -06:00
2015-11-12 17:52:59 -06:00
2015-11-03 19:51:46 -08:00
2015-11-13 07:17:30 +05:30
2015-11-12 17:52:59 -06:00
2015-10-30 20:24:42 +09:00
2015-11-11 22:12:56 -05:00
2015-11-12 17:52:59 -06:00
2015-11-12 17:52:59 -06:00
2015-11-12 17:52:59 -06:00
2015-10-30 20:26:29 +09:00
2015-10-30 20:26:29 +09:00
2015-10-30 20:26:29 +09:00
2015-11-03 19:01:23 +09:00
2015-10-30 20:26:29 +09:00
2015-11-04 12:09:10 +01:00
2015-11-12 17:52:59 -06:00
2015-11-12 17:52:59 -06:00
2015-11-04 12:09:10 +01:00
2015-11-12 17:52:59 -06:00
2015-11-11 14:19:30 +01:00
2015-11-12 16:21:24 -05:00
2015-10-30 20:26:29 +09:00
2015-11-03 19:01:23 +09:00
2015-11-12 17:52:59 -06:00
2015-11-12 17:52:59 -06:00
2015-11-12 17:53:01 -06:00
2015-10-30 20:24:42 +09:00
2015-10-30 20:26:29 +09:00
2015-10-15 17:30:41 +02:00
2015-10-30 20:24:42 +09:00
2015-11-12 17:52:59 -06:00
2015-10-15 17:30:41 +02:00
2015-11-12 17:52:59 -06:00
2015-11-12 17:52:59 -06:00
2015-11-06 17:23:17 -06:00
2015-10-15 17:30:41 +02:00
2015-10-30 20:24:42 +09:00
2015-11-04 12:09:10 +01:00
2015-10-15 17:30:41 +02:00
2015-10-15 17:30:41 +02:00
2015-10-15 17:30:41 +02:00
2015-11-12 17:52:59 -06:00
2015-10-15 17:30:41 +02:00
2015-11-03 19:51:46 -08:00
2015-11-09 10:47:37 -08:00
2015-11-12 17:52:59 -06:00
2015-10-15 17:30:41 +02:00
2015-10-15 17:30:41 +02:00
2015-10-30 20:24:42 +09:00
2015-10-15 17:30:41 +02:00
2015-11-10 09:31:38 +07:00
2015-10-15 17:30:41 +02:00
2015-11-12 17:52:59 -06:00
2015-11-12 17:52:59 -06:00
2015-11-12 17:53:01 -06:00
2015-11-03 19:01:23 +09:00
2015-10-15 17:30:41 +02:00
2015-10-15 17:30:41 +02:00
2015-11-07 18:11:29 +01:00
2015-10-15 17:30:41 +02:00
2015-10-15 17:30:41 +02:00
2015-11-07 18:11:29 +01:00
2015-11-03 19:11:01 +09:00
2015-10-15 17:30:41 +02:00
2015-10-30 20:24:42 +09:00
2015-10-15 17:30:41 +02:00
2015-11-03 19:01:23 +09:00
2015-11-12 17:52:59 -06:00
2015-11-03 19:11:01 +09:00
2015-10-15 17:30:41 +02:00
2015-10-15 17:30:41 +02:00
2015-10-15 17:30:41 +02:00
2015-11-03 19:11:01 +09:00
2015-10-15 17:30:41 +02:00
2015-11-12 17:52:59 -06:00
2015-11-12 17:52:59 -06:00
2015-10-15 17:30:41 +02:00
2015-10-15 17:30:41 +02:00
2015-11-07 18:11:29 +01:00
2015-10-15 17:30:41 +02:00
2015-11-04 17:09:26 -08:00
2015-10-15 17:30:41 +02:00
2015-10-15 17:30:41 +02:00
2015-11-12 17:52:59 -06:00
2015-10-15 17:30:41 +02:00
2015-11-12 17:52:59 -06:00
2015-11-12 17:52:59 -06:00
2015-10-30 20:24:42 +09:00
2015-11-12 17:52:59 -06:00
2015-10-15 17:30:41 +02:00
2015-11-12 17:52:59 -06:00
2015-10-15 17:30:41 +02:00
2015-10-15 17:30:41 +02:00
2015-10-15 17:30:41 +02:00
2015-10-15 17:30:41 +02:00
2015-10-30 20:26:29 +09:00
2015-11-06 00:22:31 -08:00
2015-11-12 17:52:59 -06:00
2015-11-12 17:52:59 -06:00
2015-11-12 17:52:59 -06:00
2015-11-04 19:18:20 -05:00
2015-11-03 19:51:46 -08:00
2015-11-12 17:52:59 -06:00
2015-10-30 20:26:29 +09:00
2015-11-12 17:52:59 -06:00
2015-11-12 17:52:59 -06:00
2015-11-03 19:51:46 -08:00
2015-11-03 19:01:23 +09:00
2015-11-03 19:01:23 +09:00
2015-10-30 20:26:29 +09:00
2015-10-15 17:30:41 +02:00
2015-10-30 20:28:59 +09:00
2015-11-04 12:09:10 +01:00
2015-10-30 20:26:29 +09:00
2015-11-12 17:52:59 -06:00
2015-11-04 19:18:20 -05:00
2015-11-12 17:52:59 -06:00
2015-10-30 20:28:59 +09:00
2015-11-13 06:22:40 +05:30
2015-11-04 12:09:10 +01:00
2015-11-12 17:52:59 -06:00
2015-11-12 17:52:59 -06:00
2015-11-12 17:52:59 -06:00
2015-10-30 20:26:29 +09:00
2015-10-30 20:28:59 +09:00
2015-11-03 19:01:23 +09:00
2015-11-03 19:51:46 -08:00
2015-11-03 19:51:46 -08:00
2015-11-12 17:52:59 -06:00
2015-10-19 21:05:07 +02:00
2015-11-12 17:52:59 -06:00
2015-11-12 17:52:59 -06:00
2015-10-30 20:26:29 +09:00
2015-10-10 13:46:11 -04:00
2015-11-08 18:34:27 -05:00
2015-11-04 12:09:11 +01:00
2015-11-03 19:01:23 +09:00
2015-11-04 12:09:10 +01:00
2015-11-03 19:01:23 +09:00
2015-10-30 20:26:29 +09:00
2015-11-12 17:52:59 -06:00
2015-11-03 19:01:23 +09:00
2015-11-12 17:52:59 -06:00
2015-11-04 12:09:11 +01:00
2015-10-30 20:26:29 +09:00
2015-11-03 19:01:23 +09:00
2015-10-30 20:26:29 +09:00
2015-11-12 17:52:59 -06:00
2015-11-13 07:17:30 +05:30
2015-11-12 17:52:59 -06:00
2015-11-13 07:17:30 +05:30
2015-11-12 17:52:59 -06:00
2015-10-30 20:26:29 +09:00
2015-11-12 17:52:59 -06:00
2015-10-21 11:37:16 +02:00
2015-10-30 20:26:29 +09:00