Commit graph

118 commits

Author SHA1 Message Date
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
bors-servo
bdcd8dd0c2 auto merge of #2111 : jdm/servo/browsercontext, r=Ms2ger 2014-04-22 11:01:18 -04:00
Josh Matthews
94dffca1e1 Remove all traces of WindowProxy. Implement basic browser context concept and outerizing of inner windows. 2014-04-22 10:57:25 -04:00
bors-servo
3c175c7ac0 auto merge of #2195 : lpy/servo/issue2190, r=Ms2ger
see #2190
2014-04-21 16:49:28 -04:00
bors-servo
f864d21212 auto merge of #2072 : brunoabinader/servo/domimpl-createdocument, r=Ms2ger
Spec:
http://dom.spec.whatwg.org/#dom-domimplementation-createdocument

Closes #1509.
2014-04-21 15:58:27 -04:00
Sankha Narayan Guria
36bf23de20 Implement Element.prefix (Fixes #1737) 2014-04-22 00:27:06 +05:30
Bruno de Oliveira Abinader
41898f0a76 Implement DOMImplementation::createDocument
Spec:
http://dom.spec.whatwg.org/#dom-domimplementation-createdocument

Closes #1509.
2014-04-21 09:30:36 -03:00
lpy
fd9541357f Implement CharacterData.{deleteData, insertData, replaceData} 2014-04-21 00:53:16 +08:00
Ms2ger
a04d4e63eb Remove not-yet-implemented methods from CharacterData.
This speeds up a web-platform-tests run by about 45 seconds (of 11-12 minutes)
by avoiding three timeouts.
2014-04-19 17:39:13 +02:00
bors-servo
58efe0bf75 auto merge of #2156 : Ms2ger/servo/codegen-deadcode, r=jdm 2014-04-18 10:28:11 -04:00
Ms2ger
9d7478ab8a Remove some dead code from codegen as found by pyflakes. 2014-04-18 15:52:40 +02:00