Tetsuharu OHZEKI
9d3643275a
Remove needless '&mut self' from HTMLOListElementMethods.
2014-05-31 03:11:12 +09:00
Tetsuharu OHZEKI
8ddee938b5
Remove needless '&mut self' from htmlobjectelement.rs.
2014-05-31 03:11:12 +09:00
Tetsuharu OHZEKI
1b956ad92e
Remove needless '&mut self' from HTMLModElementMethods.
2014-05-31 03:11:12 +09:00
Tetsuharu OHZEKI
9c1c0a8748
Remove needless '&mut self' from HTMLMeterElementMethods.
2014-05-31 03:11:12 +09:00
Tetsuharu OHZEKI
6cc9af9c05
Remove needless '&mut self' from HTMLMetaElementMethods.
2014-05-31 03:11:12 +09:00
Tetsuharu OHZEKI
f510dcef37
Remove needless '&mut self' from HTMLMediaElementMethods.
2014-05-31 03:11:12 +09:00
Tetsuharu OHZEKI
f30ea51154
Remove needless '&mut self' from HTMLMapElementMethods.
2014-05-31 03:11:11 +09:00
Tetsuharu OHZEKI
e57d18dbc8
Remove needless '&mut self' from HTMLStyleElementMethods.
2014-05-31 03:11:11 +09:00
bors-servo
da896b8299
auto merge of #2515 : saneyuki/servo/raw, r=jdm
...
Fix #2511
@jdm r?
2014-05-30 13:16:09 -04:00
Ms2ger
b448972d52
Throw DOMExceptions where appropriate ( fixes #2518 ).
2014-05-30 18:14:02 +02:00
Tetsuharu OHZEKI
106627e6eb
"JS<T>::from_raw" should accept "*T" instead of "*mut T"
2014-05-31 01:10:19 +09:00
Tetsuharu OHZEKI
b4463c1fb2
Use Cell/RefCell for interior mutability of Node.
2014-05-30 03:54:24 +09:00
Tetsuharu OHZEKI
1f8eda957d
Use Cell/RefCell for interior mutability of Window.
2014-05-30 03:54:24 +09:00
Tetsuharu OHZEKI
fa286fb062
Use Cell/RefCell for interior mutability of XMLHttpRequest.
2014-05-30 03:54:24 +09:00
Tetsuharu OHZEKI
4c167480d7
Use Cell/RefCell for interior mutability of UIEvent.
2014-05-30 03:54:24 +09:00
Tetsuharu OHZEKI
aaa8c838d2
Use Cell/RefCell for interior mutability of NodeList, Performance, TestBinding, and ValidityState.
2014-05-30 03:54:23 +09:00
Tetsuharu OHZEKI
2215e2ca80
Use Cell/RefCell for interior mutability of MouseEvent.
2014-05-30 03:54:23 +09:00
Tetsuharu OHZEKI
c03bdac6f0
Use Cell/RefCell for interior mutability of FormData, BlobData.
2014-05-30 03:53:07 +09:00
Tetsuharu OHZEKI
f78e561746
Use Cell/RefCell for interior mutability of Event.
2014-05-30 03:53:07 +09:00
Tetsuharu OHZEKI
92da2f16fc
Implement OptionalSettable for 'Cell<Option<JS<U>>>'.
2014-05-30 03:53:07 +09:00
Tetsuharu OHZEKI
b0239b5a5a
Use Cell/RefCell for interior mutability of Element.
2014-05-30 03:53:07 +09:00
Tetsuharu OHZEKI
6d9dcd087a
Make 'Cell<Option<JS<T>>>' traceable.
2014-05-30 03:41:06 +09:00
Tetsuharu OHZEKI
46ead90515
Use Cell/RefCell for interior mutability of Attr, AttrList, Blob,
...
BrowserContext, ClientRect, and ClientRectList.
2014-05-30 03:41:06 +09:00
Tetsuharu OHZEKI
5ae7c4cbb1
Make 'RefCell<Vec<JS<T>>>' traceable.
2014-05-30 03:38:41 +09:00
Tetsuharu OHZEKI
bf05e6a9e2
Make 'Cell<JS<T>>' traceable.
2014-05-30 03:38:41 +09:00
Tetsuharu OHZEKI
da703d6a80
JS<T> contains '*T' instead of RefCell.
2014-05-30 03:38:40 +09:00
Tetsuharu OHZEKI
3e558fdcb1
JSRef<T> & Root<T> contains '*T' instead of RefCell.
2014-05-30 03:18:40 +09:00
Manish Goregaokar
6f728cb2ca
Enable inline event handlers for XHR, and add most progressevent calls
2014-05-29 21:39:15 +05:30
Manish Goregaokar
5f860bb612
Request header and postdata support for XHR
2014-05-28 20:49:13 +05:30
bors-servo
0886a36b5d
auto merge of #2204 : jdm/servo/inlineev, r=Ms2ger
...
Fixes #1238 .
2014-05-27 14:49:21 -04:00
Josh Matthews
003e5bcd46
Port modern callback handling code from Gecko, and copy related WebIDL parser bits too.
2014-05-27 20:43:52 +02:00
Josh Matthews
04931adf70
Compile JS strings when setting inline event handlers via element attributes.
2014-05-27 20:43:48 +02:00
Josh Matthews
33955f0ab2
Implement window forwarding for body event handlers.
2014-05-27 20:43:48 +02:00
Josh Matthews
2d6153772c
Add stubs for inline event handler manipulation.
2014-05-27 20:43:48 +02:00
Ms2ger
ce45afac0c
Rewrite escape() in htmlserializer to push onto a StrBuf.
2014-05-27 18:44:21 +02:00
Ms2ger
d1ca380482
Use StrBuf more efficiently in htmlserializer.
2014-05-27 18:44:21 +02:00
Tetsuharu OHZEKI
b22f6e1f81
Clean up AttributeHandlers::get_attribute() for JSRef.
2014-05-27 18:39:32 +09:00
Ms2ger
51d2891c9b
Make GetProtoOrIfaceArray return the actual type.
2014-05-26 20:19:38 +02:00
Ms2ger
1834855ff5
Pass an immutable pointer to the private in NewProxyObject.
2014-05-26 20:18:00 +02:00
Ms2ger
d5cb4377ef
Use *mut T for the T* pointers in SpiderMonkey.
2014-05-26 18:19:44 +02:00
bors-servo
10d9bad973
auto merge of #2483 : zwarich/servo/remove-10683-workaround, r=jdm
2014-05-24 06:28:24 -04:00
bors-servo
2545647ceb
auto merge of #2482 : Ms2ger/servo/rev_iter, r=jdm
2014-05-23 19:22:31 -04:00
Cameron Zwarich
0a01ad7275
Remove the workaround for Rust issue 10683.
2014-05-23 15:40:36 -07:00
bors-servo
c7e8e5a927
auto merge of #2374 : Manishearth/servo/customevent, r=jdm
...
This was previously PR'd on #2218
2014-05-23 17:28:55 -04:00
Manish Goregaokar
4c997e8934
Implement CustomEvent ( #2173 )
2014-05-24 02:51:22 +05:30
Ms2ger
81e652ae3d
Replace deprecated rev_iter() by iter().rev().
2014-05-23 22:30:31 +02:00
Tetsuharu OHZEKI
46d31632e0
Initial spec-incompliant implementation of default click action for anchor elements.
...
This is cherry-picked from https://github.com/mozilla/servo/pull/1688 :
* Initial spec-incompliant implementation of default click action for anchor elements.
* Add documentation; gut the new document URL loading method
and move it all into the new Window method.
* Add test for default event prevention.
Original developer: Josh Matthews <josh@joshmatthews.net>
2014-05-23 23:30:09 +09:00
Ms2ger
eaedeb07cb
Update Rust.
2014-05-22 16:36:40 -06:00
Manish Goregaokar
114d2e3565
Fix some XHR warnings
2014-05-21 10:27:55 +05:30
bors-servo
28e3c17340
auto merge of #2442 : Manishearth/servo/xhr-async, r=jdm
...
(Note that only `getAllResponseHeaders()` is supported at the moment, I'll be adding the other header methods later.)
2014-05-20 12:16:35 -04:00