Ms2ger
59bcabb75e
Pass Option<T> for optional primitive arguments without a default value ( fixes #1813 ).
2014-03-19 19:05:59 +01:00
Josh Matthews
64c0de9fe7
Warning police.
2014-03-18 09:31:22 -05:00
bors-servo
508fe57f8d
auto merge of #1907 : brunoabinader/servo/element-classname, r=Ms2ger
...
Removes stub implementation from HTMLElement & implements logic in Element WebIDL.
2014-03-15 05:47:18 -04:00
Bruno de Oliveira Abinader
6274ecba07
Implement Element.className
2014-03-13 13:48:24 -04:00
Bruno de Oliveira Abinader
1703c427bc
Implement Node.cloneNode
...
Spec:
http://dom.spec.whatwg.org/#dom-node-clonenode
Closes #1240 .
2014-03-13 12:34:31 -04:00
Ms2ger
858d30b5d9
Update the WindowTimers interface to the current specification.
2014-03-12 09:46:18 +01:00
bors-servo
2238d81b53
auto merge of #1838 : brunoabinader/servo/htmlcollection-live, r=jdm
2014-03-07 15:43:24 -05:00
Bruno de Oliveira Abinader
d010861b75
Implemented {Document,Element}.getElementsByClassName
2014-03-07 11:10:56 -04:00
Bruno de Oliveira Abinader
e1499b610e
Implemented {Document,Element}.getElementsByTagNameNS
2014-03-07 11:10:56 -04:00
Bruno de Oliveira Abinader
6cf0eb1115
Bumped HTMLCollection interface to latest
...
Spec:
http://dom.spec.whatwg.org/#interface-htmlcollection
This is a sub-task for #1662 .
2014-03-07 11:10:55 -04:00
Ms2ger
971a4c58bb
Pass Option<JSVal> for optional JSVals.
2014-03-07 12:40:25 +01:00
bors-servo
134d1f6fe3
auto merge of #1846 : Ms2ger/servo/non-null-default, r=jdm
2014-03-06 16:52:31 -05:00
Ms2ger
54a59b9d38
Avoid a type error with a non-null default value for an optional nullable string argument.
2014-03-06 22:42:26 +01:00
Ms2ger
716e1ce144
Avoid a type error with a non-null default value for an optional nullable primitive argument.
2014-03-06 22:26:12 +01:00
Ms2ger
eab9fd765c
Add disabled tests for optional nullable arguments with non-null default values.
2014-03-06 22:18:49 +01:00
bors-servo
968a2e1735
auto merge of #1839 : Ms2ger/servo/optional-test, r=jdm
2014-03-06 14:52:38 -05:00
Ms2ger
9fe72eb379
Add interface codegen tests.
2014-03-06 19:05:14 +01:00
Ms2ger
48ebd2a5e3
Add tests for optional nullable arguments without default values.
2014-03-06 18:45:58 +01:00
Ms2ger
77f1224b24
Add some tests for string codegen.
2014-03-06 16:40:10 +01:00
Ms2ger
b1f2a104cc
Remove Node.hasAttributes() method that was removed from the specification.
2014-03-06 10:26:04 +01:00
Ms2ger
933f29f512
Match the spec more closely in Node.webidl.
2014-03-05 18:53:43 +01:00
bors-servo
5eb7d1cf30
auto merge of #1814 : Ms2ger/servo/more-primitive-setters, r=jdm
2014-03-05 09:55:35 -05:00
bors-servo
ee549af3ae
auto merge of #1756 : Manishearth/servo/nodelist-1744, r=Ms2ger
...
I haven't been able to test it yet (need to run a full build), but it looks like it should work.
2014-03-05 05:22:39 -05:00
Ms2ger
aa9a61a78c
Add tests for optional primitive arguments.
2014-03-04 18:34:24 +01:00
Ms2ger
d063601ba0
Implement support for returning nullable primitive types.
2014-03-04 17:30:19 +01:00
Ms2ger
595cd96f24
Extend and update primitive conversions.
2014-03-04 17:01:30 +01:00
Ms2ger
4166ff4794
Introduce a test IDL file.
2014-03-04 16:28:34 +01:00
Manish Goregaokar
8b425fb8cf
Make document.getElementsByTagname return a NodeList; consolidate element collection to collectElement; fix #1744
2014-03-04 02:19:32 +05:30
Ms2ger
59416c9431
Remove no-op implementations from Element and add some spec links.
2014-02-27 12:33:32 +01:00
Ms2ger
546a506149
Remove Gecko-specific and other commented-out code in IDL.
2014-02-25 12:41:11 +01:00
bors-servo
df993fdaf3
auto merge of #1689 : jdm/servo/unions, r=kmcallister
...
Seven hours on a train without internet will do this to you. Fixes #541 .
2014-02-24 20:01:39 -05:00
Ms2ger
e2617a6396
Remove HTMLDocument.
2014-02-24 22:23:11 +01:00
Ms2ger
7190feb5e3
Move HTMLDocument members to Document.
2014-02-24 22:17:33 +01:00
Ms2ger
2c8107e811
Remove methods from IDL that don't do anything useful.
2014-02-24 22:12:04 +01:00
Josh Matthews
d590a327bd
Implement WebIDL union support.
2014-02-24 15:56:38 -05:00
Ms2ger
b745469581
Remove commented-out parts of Document.webidl and HTMLDocument.webidl.
2014-02-22 13:24:19 +01:00
bors-servo
1662e7a02f
auto merge of #1666 : ozten/servo/issue-506-add-basic-console, r=Ms2ger
...
Here is an attempt to fix Issue#506.
I couldn't figure out how to do variadic arguments to `console.log`, but I did test calling `console.log('foo', 'bar', 'baz')` and it prints the first argument and doesn't error out, which is nice.
window.console is not a web standards. I did the popular functions, but not some of the newer ones documented [on MDN](https://developer.mozilla.org/en-US/docs/Web/API/console ).
This PR will allow more pages to load properly, where developers have left in window.console calls.
2014-02-11 13:01:50 -05:00
Austin King
b1b481f3f3
Adding most commonly used parts of window.console. Fixes Issue#506. r=Ms2ger
2014-02-11 09:55:29 -08:00
Bruno de Oliveira Abinader
4d4495b015
Implement Node.isEqualNode
...
Spec:
http://dom.spec.whatwg.org/#dom-node-isequalnode
Closes #1645 .
2014-02-10 11:01:12 -04:00
Bruno de Oliveira Abinader
99b3b144d4
Implement Node.contains
...
Spec:
http://dom.spec.whatwg.org/#dom-node-contains
Closes #1647 .
2014-02-09 10:39:07 -04:00
Bruno de Oliveira Abinader
ac8c659d2b
Implement document.createProcessingInstruction
...
Spec:
http://dom.spec.whatwg.org/#dom-document-createprocessinginstruction
This is a sub-task for #1428 .
2014-02-06 16:11:31 -04:00
Bruno de Oliveira Abinader
aa4b5bb948
Implement ProcessingInstruction DOM interface
...
Spec:
http://dom.spec.whatwg.org/#interface-processinginstruction
Closes #1619 .
2014-02-06 14:41:55 -04:00
Bruno de Oliveira Abinader
a6c897e445
Implement document.characterSet
...
Spec:
http://dom.spec.whatwg.org/#dom-document-characterset
This is a sub-task for #1428 .
2014-02-06 07:46:24 -04:00
Bruno de Oliveira Abinader
56572a2814
Implement document.compatMode
...
Spec:
http://dom.spec.whatwg.org/#dom-document-compatmode
This is a sub-task for #1428 .
2014-01-30 19:12:19 -04:00
bors-servo
572959c3e6
auto merge of #1583 : brunoabinader/servo/document-url, r=Ms2ger
...
Specs:
http://dom.spec.whatwg.org/#dom-document-url
http://dom.spec.whatwg.org/#dom-document-documenturi
This is a sub-task for #1428 .
2014-01-30 08:58:40 -08:00
Bruno de Oliveira Abinader
43416ef91f
Implement document.URL & document.documentURI
...
Specs:
http://dom.spec.whatwg.org/#dom-document-url
http://dom.spec.whatwg.org/#dom-document-documenturi
This is a sub-task for #1428 .
2014-01-30 10:41:24 -04:00
Bruno de Oliveira Abinader
0c6de1bb34
Basic skeleton for DOMException
...
Spec:
http://dom.spec.whatwg.org/#domexception
This is a subtask for #1542 .
2014-01-29 14:58:22 -04:00
Bruno de Oliveira Abinader
1067da7df8
Basic support for Document::contentType
...
Spec:
http://dom.spec.whatwg.org/#dom-document-contenttype
This is a subtask for #1428 , #1510 and #1526 .
2014-01-21 12:48:09 -04:00
Bruno de Oliveira Abinader
a58838e14b
Implement DOMImplementation::createHTMLDocument
...
Spec:
http://dom.spec.whatwg.org/#dom-domimplementation-createhtmldocument
Closes #1510 .
2014-01-20 15:20:23 -04:00
Youngmin Yoo
0523a7dfe9
Move webidl files to dom/webidl
2014-01-20 12:56:23 +09:00