Title: [193065] branches/safari-601-branch/Source/WebInspectorUI
- Revision
- 193065
- Author
- [email protected]
- Date
- 2015-12-03 10:42:24 -0800 (Thu, 03 Dec 2015)
Log Message
Merge r187986. rdar://problem/23221163
Modified Paths
Diff
Modified: branches/safari-601-branch/Source/WebInspectorUI/ChangeLog (193064 => 193065)
--- branches/safari-601-branch/Source/WebInspectorUI/ChangeLog 2015-12-03 18:42:19 UTC (rev 193064)
+++ branches/safari-601-branch/Source/WebInspectorUI/ChangeLog 2015-12-03 18:42:24 UTC (rev 193065)
@@ -1,5 +1,21 @@
2015-12-02 Timothy Hatcher <[email protected]>
+ Merge r187986. rdar://problem/23221163
+
+ 2015-08-05 Brian Burg <[email protected]>
+
+ Web Inspector: remove unused Object.deprecatedAddConstructorFunctions
+ https://bugs.webkit.org/show_bug.cgi?id=147690
+
+ Reviewed by Timothy Hatcher.
+
+ This is no longer used following the conversion to ES6 classes.
+
+ * UserInterface/Base/Object.js:
+ (WebInspector.Object.deprecatedAddConstructorFunctions): Deleted.
+
+2015-12-02 Timothy Hatcher <[email protected]>
+
Merge r187968. rdar://problem/23221163
2015-08-05 Brian Burg <[email protected]>
Modified: branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Base/Object.js (193064 => 193065)
--- branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Base/Object.js 2015-12-03 18:42:19 UTC (rev 193064)
+++ branches/safari-601-branch/Source/WebInspectorUI/UserInterface/Base/Object.js 2015-12-03 18:42:24 UTC (rev 193065)
@@ -148,21 +148,6 @@
}
};
-// FIXME: Uses arguments.callee, so it cannot be in the class.
-WebInspector.Object.deprecatedAddConstructorFunctions = function(subclassConstructor)
-{
- // Copies the relevant functions to the subclass constructor.
- var list = ["addEventListener", "removeEventListener", "removeAllListeners", "hasEventListeners"];
- for (var property of list) {
- var value = WebInspector.Object[property];
- if (typeof value !== "function")
- continue;
- if (value === arguments.callee)
- continue;
- subclassConstructor[property] = value;
- }
-};
-
WebInspector.Event = class Event
{
constructor(target, type, data)
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes