Title: [193021] branches/safari-601-branch/Source/WebInspectorUI
- Revision
- 193021
- Author
- [email protected]
- Date
- 2015-12-03 10:32:16 -0800 (Thu, 03 Dec 2015)
Log Message
Merge r187350. rdar://problem/23221163
Modified Paths
Diff
Modified: branches/safari-601-branch/Source/WebInspectorUI/ChangeLog (193020 => 193021)
--- branches/safari-601-branch/Source/WebInspectorUI/ChangeLog 2015-12-03 18:32:11 UTC (rev 193020)
+++ branches/safari-601-branch/Source/WebInspectorUI/ChangeLog 2015-12-03 18:32:16 UTC (rev 193021)
@@ -1,5 +1,18 @@
2015-12-01 Timothy Hatcher <[email protected]>
+ Merge r187350. rdar://problem/23221163
+
+ 2015-07-24 Joseph Pecoraro <[email protected]>
+
+ Web Inspector: Add custom parameter lists for new DOM append/prepend/before/after/replaceWith methods
+ https://bugs.webkit.org/show_bug.cgi?id=147257
+
+ Reviewed by Timothy Hatcher.
+
+ * UserInterface/Models/NativeFunctionParameters.js:
+
+2015-12-01 Timothy Hatcher <[email protected]>
+
Merge r187280. rdar://problem/23221163
2015-07-23 Matt Baker <[email protected]>
Modified: branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Models/NativeFunctionParameters.js (193020 => 193021)
--- branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Models/NativeFunctionParameters.js 2015-12-03 18:32:11 UTC (rev 193020)
+++ branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Models/NativeFunctionParameters.js 2015-12-03 18:32:16 UTC (rev 193021)
@@ -2114,7 +2114,22 @@
querySelector: "selectors",
querySelectorAll: "selectors",
};
-
Object.assign(WebInspector.NativePrototypeFunctionParameters.Element, ElementQueries);
Object.assign(WebInspector.NativePrototypeFunctionParameters.Document, ElementQueries);
+
+ var ChildNode = {
+ after: "[node|string]...",
+ before: "[node|string]...",
+ replaceWith: "[node|string]...",
+ };
+ Object.assign(WebInspector.NativePrototypeFunctionParameters.Element, ChildNode)
+ Object.assign(WebInspector.NativePrototypeFunctionParameters.CharacterData, ChildNode);
+
+ var ParentNode = {
+ append: "[node|string]...",
+ prepend: "[node|string]...",
+ };
+ Object.assign(WebInspector.NativePrototypeFunctionParameters.Element, ParentNode);
+ Object.assign(WebInspector.NativePrototypeFunctionParameters.Document, ParentNode);
+ Object.assign(WebInspector.NativePrototypeFunctionParameters.DocumentFragment, ParentNode);
})();
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes