mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +01:00
Return a boolean from DOMTokenList::replace to match the spec
Fixes #25129
This commit is contained in:
parent
cfa50b8222
commit
0bdab6bb50
3 changed files with 5 additions and 333 deletions
|
@ -19,7 +19,7 @@ interface DOMTokenList {
|
|||
[CEReactions, Throws]
|
||||
boolean toggle(DOMString token, optional boolean force);
|
||||
[CEReactions, Throws]
|
||||
void replace(DOMString token, DOMString newToken);
|
||||
boolean replace(DOMString token, DOMString newToken);
|
||||
|
||||
[CEReactions, Pure]
|
||||
stringifier attribute DOMString value;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue