Bug 977072 - attributes in MutationRecord can be [Constant], r=bz

This commit is contained in:
Olli Pettay 2014-02-26 21:51:45 +02:00
Родитель 268a933374
Коммит 6a146b21de
1 изменённых файлов: 9 добавлений и 0 удалений

Просмотреть файл

@ -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;
};