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
bors-servo
099815683d
auto merge of #2155 : Ms2ger/servo/dictionary-codegen, r=jdm
2014-04-18 09:40:11 -04:00
Ms2ger
5ac5ba2468
Support nullable strings in dictionaries.
...
We copy the string in all cases, so there's no need to handle the isMember
case differently.
2014-04-18 11:37:56 +02:00
Ms2ger
b31fdf12ef
Add a few tests for dictionary codegen.
2014-04-18 11:30:16 +02:00
Ms2ger
4d20d1716d
Implement support for default values for enumeration arguments.
2014-04-18 11:08:21 +02:00
Ms2ger
fa653a5984
Introduce some (commented-out) tests for enumeration codegen.
2014-04-18 10:18:11 +02:00
lpy
b7dcf62ed0
Implement Window.set/clearInterval.( fixes #2116 )
2014-04-18 01:30:39 +08:00
bors-servo
038730c4bb
auto merge of #2054 : sankha93/servo/imageattr, r=jdm
2014-04-15 12:49:14 -04:00
lpy
77941dc996
Move Node.namespaceURI to Element.( fixes #2059 )
2014-04-08 22:13:28 +08:00
Sankha Narayan Guria
58e5feca9f
HTMLImageElement attribute getters and setters
2014-04-08 08:44:38 +05:30
bors-servo
a65ff6089a
auto merge of #2048 : Ms2ger/servo/set_uint_attribute, r=jdm
2014-04-07 12:34:18 -04:00
Daniel Glazman
4b0da08573
Implement Document.createElementNS.
2014-04-07 10:20:10 +02:00
Ms2ger
a52cffebeb
Use ToJSValConvertible to convert nullable enums to JSVal.
2014-04-06 19:51:12 +02:00
Ms2ger
ccaa46e4a3
Use ToJSValConvertible to convert enums to JSVal.
2014-04-06 19:42:39 +02:00
Ms2ger
bb732ef4e6
Introduce a set_uint_attribute method.
2014-04-06 14:19:30 +02:00
hyunjunekim
a344d465e8
documnet location
2014-04-04 21:18:30 +09:00
Bruno de Oliveira Abinader
990545c310
Implemented Node.adoptNode
...
Spec:
http://dom.spec.whatwg.org/#dom-document-adoptnode
2014-03-26 09:49:07 -04:00
Bruno de Oliveira Abinader
8a457a2caa
Implemented Document.importNode
...
Spec:
http://dom.spec.whatwg.org/#dom-document-importnode
2014-03-26 09:49:07 -04:00
Ms2ger
acffed2dcd
Fix code generation for a null default value for nullable string arguments.
2014-03-20 22:51:31 +01:00