Ms2ger
78f368d336
Support union variadic arguments and add tests.
2014-06-10 10:19:26 +02:00
bors-servo
01a93d82bf
auto merge of #2618 : Ms2ger/servo/console-assert, r=jdm
2014-06-09 22:49:35 -04:00
bors-servo
0ff6a45709
auto merge of #2611 : Ms2ger/servo/webidl-parser-sync, r=jdm
2014-06-09 22:19:44 -04:00
bors-servo
e98b03f581
auto merge of #2619 : Ms2ger/servo/onclick, r=jdm
2014-06-08 20:46:39 -04:00
Ms2ger
6308ed914c
Support GlobalEventHandlers.onclick.
2014-06-08 18:50:27 +02:00
Ms2ger
69fb7b0c94
Implement Console.assert.
2014-06-08 18:49:10 +02:00
bors-servo
1f41eda321
auto merge of #2613 : Manishearth/servo/xhr-wpt-methods, r=Ms2ger
...
For [XMLHttpRequest/open-method-case-sensitive.htm](https://github.com/w3c/web-platform-tests/blob/master/XMLHttpRequest/open-method-case-sensitive.htm ), [XMLHttpRequest/XMLHttpRequest/open-method-insecure.htm](https://github.com/w3c/web-platform-tests/blob/master/XMLHttpRequest/open-method-insecure.htm ), [XMLHttpRequest/XMLHttpRequest/open-method-responsetype-set-sync.htm ](https://github.com/w3c/web-platform-tests/blob/master/XMLHttpRequest/open-method-responsetype-set-sync.htm ) in particular. `getResponseHeader()` is used by a lot of other tests (the harness echoes most of the metadata in the response headers, which is tested on this side)
The sync changes fixes half of the timeouts to give meaningful results.
Blocks #2525
2014-06-08 12:22:31 -04:00
Manish Goregaokar
e8de5f2f55
Support for extension methods, getResponseHeader(), and an extra error
2014-06-08 21:18:44 +05:30
Manish Goregaokar
7843b7b317
Allow union types to be used as return values
2014-06-07 23:44:21 +05:30
Ms2ger
d5dd0a07b8
Remove unsupported extended attributes from IDL.
...
These were silently ignored so far.
2014-06-07 17:39:23 +02:00
bors-servo
b52fbe0a5f
auto merge of #2591 : brunoabinader/servo/document-queryselector-v3, r=jdm
...
This is a subtask for #2254 & #2576 .
Spec:
http://dom.spec.whatwg.org/#dom-parentnode-queryselector
2014-06-06 17:22:25 -04:00
Manish Goregaokar
cfa20e9fba
JSON response support and some default headers
2014-06-06 16:10:54 +05:30
Bruno de Oliveira Abinader
f0aadb790d
Added ParentNode.querySelector skeleton
2014-06-05 16:54:26 -07:00
Manish Goregaokar
ef126be28f
Add responseText and status code support to XHR
2014-06-04 17:13:02 +05:30
Ms2ger
d8801da9c5
Move WebIDL unions into their own module.
...
This will allow multiple unions to contain the same type.
2014-06-03 18:47:59 +02:00
Ms2ger
dea8a4ffcb
Support dictionary members without default values.
2014-06-02 19:37:06 +02:00
bors-servo
488ac518e4
auto merge of #2547 : Ms2ger/servo/dictionary-tests, r=jdm
2014-06-02 13:07:47 -04:00
Ms2ger
6d619f484c
Support enumerations in dictionaries.
2014-06-02 14:46:23 +02:00
Ms2ger
7e310d1949
Enable some more dictionary codegen tests.
2014-06-02 14:45:29 +02:00
Ms2ger
c1d2d700c5
Remove not-yet-implemented APIs, and update MouseEvent to specification.
2014-06-02 12:32:09 +02:00
Tetsuharu OHZEKI
49362aa255
Remove HTMLMainElement.
...
https://github.com/mozilla/servo/issues/2541
2014-06-02 04:40:46 +09:00
Ms2ger
2f0929fc36
Restore HTMLSelectElement.add to avoid neutering test_union.html.
2014-06-01 18:01:56 +02:00
Ms2ger
a0783aebbf
Remove not-yet-implemented members from IDL and Rust code.
...
These stub implementations bring no value, and significantly increased
maintenance costs.
This commit also synchronizes the IDL with the HTML specification and
makes the URLs consistent.
2014-06-01 15:41:09 +02: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
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
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
Manish Goregaokar
4c997e8934
Implement CustomEvent ( #2173 )
2014-05-24 02:51:22 +05:30
Manish Goregaokar
533fab46f9
Async XHR GET with basic response header support
2014-05-20 21:01:12 +05:30
Ms2ger
ab8b62e28d
Add tests for return values of interface methods.
2014-05-16 16:53:54 +02:00
bors-servo
1477652295
auto merge of #2357 : Manishearth/servo/xhr-syncget, r=ms2ger
...
This gets a basic synchronous GET request working. I've also tried to implement a portion of the procedures mentioned in the spec.
Blocks #2282
2014-05-09 11:34:07 -04:00
Manish Goregaokar
b40d8b4d53
Basic synchronous GET with XHR
2014-05-09 20:39:54 +05:30
Ms2ger
30055d9820
Move debug functions to Window IDL.
...
This is a cleaner way to expose those functions, and makes it possible to
remove a significant amount code in rust-mozjs.
The assert() function is no longer exposed, as it was unused and not very
useful.
2014-05-09 14:44:07 +02:00
Manish Goregaokar
2f376a1104
Add ProgressEvent interface
2014-05-08 20:41:51 +05:30
Gulshan Singh
fb0c433b70
Add Performance object to Window and implement Performance::Now()
2014-05-07 17:30:33 -04:00
Ms2ger
0ab3444af9
Add support for DOMString in unions ( fixes #2324 ).
2014-05-07 17:30:32 -04:00
Harry Maclean
6f310a5c20
Implement ChildNode.remove()
2014-05-05 14:04:25 -04:00
Manish Goregaokar
a4c5df3494
Use ByteString in XHR
2014-05-03 19:39:11 +05:30
Manish Goregaokar
619da07a4f
Webidl and basic implementation of XHR object
2014-05-03 14:00:20 +05:30
Ms2ger
8c879c8bf8
Implement WebIDL codegen for ByteString.
2014-05-01 22:02:53 +02:00
Ms2ger
54d2e8e235
Use handleOptional for interface conversion.
2014-04-27 20:55:21 +02:00
Ms2ger
89d4fac36e
Use handleOptional for the enumeration conversion.
2014-04-26 18:32:45 +02:00
Ms2ger
b73a87e955
Use handleOptional for the union conversion.
...
Note that unions didn't handle optional arguments correctly before.
2014-04-26 17:22:07 +02:00
Ms2ger
adcc7e694f
Increase codegen test coverage.
2014-04-26 16:41:09 +02:00
Ms2ger
90f4d256cf
Add support for dictionaries containing 'any'.
2014-04-24 21:50:20 +02:00
bors-servo
3fc2c11910
auto merge of #2209 : lpy/servo/issue2188, r=Ms2ger
...
see #2188
2014-04-23 03:19:23 -04:00
lpy
dfe5215b88
Implement Element.localName.( fixes #2188 )
2014-04-23 11:00:03 +08:00
bors-servo
b35d830999
auto merge of #2192 : evilpie/servo/children, r=Ms2ger
...
Fixes #2186
2014-04-22 16:52:17 -04:00
Tom Schuster
4c057deaf9
Implement ParentNode.children for Document and Element
...
Also implement it for DocumentFragment
2014-04-22 22:19:52 +02:00