зеркало из https://github.com/mozilla/gecko-dev.git
Bug 977072 - attributes in MutationRecord can be [Constant], r=bz
This commit is contained in:
Родитель
268a933374
Коммит
6a146b21de
|
@ -8,16 +8,25 @@
|
|||
*/
|
||||
|
||||
interface MutationRecord {
|
||||
[Constant]
|
||||
readonly attribute DOMString type;
|
||||
// .target is not nullable per the spec, but in order to prevent crashes,
|
||||
// if there are GC/CC bugs in Gecko, we let the property to be null.
|
||||
[Constant]
|
||||
readonly attribute Node? target;
|
||||
[Constant]
|
||||
readonly attribute NodeList addedNodes;
|
||||
[Constant]
|
||||
readonly attribute NodeList removedNodes;
|
||||
[Constant]
|
||||
readonly attribute Node? previousSibling;
|
||||
[Constant]
|
||||
readonly attribute Node? nextSibling;
|
||||
[Constant]
|
||||
readonly attribute DOMString? attributeName;
|
||||
[Constant]
|
||||
readonly attribute DOMString? attributeNamespace;
|
||||
[Constant]
|
||||
readonly attribute DOMString? oldValue;
|
||||
};
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче