Title: [216202] trunk/Source/WebCore
Revision
216202
Author
cdu...@apple.com
Date
2017-05-04 13:02:42 -0700 (Thu, 04 May 2017)

Log Message

Clean up MutationRecord.idl
https://bugs.webkit.org/show_bug.cgi?id=171685

Reviewed by Sam Weinig.

Clean up MutationRecord.idl to match the specification:
- https://dom.spec.whatwg.org/#mutationrecord

There is no Web-facing behavior change.

* dom/MutationRecord.idl:

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (216201 => 216202)


--- trunk/Source/WebCore/ChangeLog	2017-05-04 20:00:36 UTC (rev 216201)
+++ trunk/Source/WebCore/ChangeLog	2017-05-04 20:02:42 UTC (rev 216202)
@@ -1,5 +1,19 @@
 2017-05-04  Chris Dumez  <cdu...@apple.com>
 
+        Clean up MutationRecord.idl
+        https://bugs.webkit.org/show_bug.cgi?id=171685
+
+        Reviewed by Sam Weinig.
+
+        Clean up MutationRecord.idl to match the specification:
+        - https://dom.spec.whatwg.org/#mutationrecord
+
+        There is no Web-facing behavior change.
+
+        * dom/MutationRecord.idl:
+
+2017-05-04  Chris Dumez  <cdu...@apple.com>
+
         Reformat / clean up Event.idl
         https://bugs.webkit.org/show_bug.cgi?id=171675
 

Modified: trunk/Source/WebCore/dom/MutationRecord.idl (216201 => 216202)


--- trunk/Source/WebCore/dom/MutationRecord.idl	2017-05-04 20:00:36 UTC (rev 216201)
+++ trunk/Source/WebCore/dom/MutationRecord.idl	2017-05-04 20:02:42 UTC (rev 216202)
@@ -32,13 +32,15 @@
     SkipVTableValidation
 ] interface MutationRecord {
     readonly attribute DOMString type;
+
+    // FIXME: The following attributes should be [SameObject] once we support it.
     readonly attribute Node target;
-
     readonly attribute NodeList addedNodes;
     readonly attribute NodeList removedNodes;
-    readonly attribute Node previousSibling;
-    readonly attribute Node nextSibling;
 
+    readonly attribute Node? previousSibling;
+    readonly attribute Node? nextSibling;
+
     readonly attribute DOMString? attributeName;
     readonly attribute DOMString? attributeNamespace;
 
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to