mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +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
|
@ -11,9 +11,9 @@
|
|||
*/
|
||||
|
||||
interface CharacterData : Node {
|
||||
[TreatNullAs=EmptyString] attribute DOMString data;
|
||||
readonly attribute unsigned long length;
|
||||
[Throws]
|
||||
[Pure, TreatNullAs=EmptyString] attribute DOMString data;
|
||||
[Pure] readonly attribute unsigned long length;
|
||||
[Pure, Throws]
|
||||
DOMString substringData(unsigned long offset, unsigned long count);
|
||||
void appendData(DOMString data);
|
||||
[Throws]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue