mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Annotate many DOM attribute and methods with [Constant] and [Pure]
This commit is contained in:
parent
4dbf391e83
commit
49219baab8
18 changed files with 69 additions and 14 deletions
|
@ -8,6 +8,8 @@
|
|||
*/
|
||||
|
||||
interface NodeList {
|
||||
[Pure]
|
||||
readonly attribute unsigned long length;
|
||||
[Pure]
|
||||
getter Node? item(unsigned long index);
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue