Web Inspector: Avoid subclassing WebInspector.Object if we do not need to
authorcommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 21 Jul 2017 19:36:40 +0000 (19:36 +0000)
committercommit-queue@webkit.org <commit-queue@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 21 Jul 2017 19:36:40 +0000 (19:36 +0000)
commit36ddb707d57fa49886e75c78dac64ee9c87403e4
tree76b43038cb1cdebf257312277b327b61193180ee
parent474b6aba422e13c0fbfe1c878b407a4c89a0cdc0
Web Inspector: Avoid subclassing WebInspector.Object if we do not need to
https://bugs.webkit.org/show_bug.cgi?id=174703

Patch by Joseph Pecoraro <pecoraro@apple.com> on 2017-07-21
Reviewed by Brian Burg.

* UserInterface/Models/LogObject.js:
(WebInspector.LogObject):
(WebInspector.LogObject.prototype.get startDate): Deleted.
Remove unused startDate property as well.

* UserInterface/Base/YieldableTask.js:
* UserInterface/Debug/ProtocolTrace.js:
* UserInterface/Models/AnalyzerMessage.js:
* UserInterface/Models/ApplicationCacheFrame.js:
* UserInterface/Models/ApplicationCacheManifest.js:
* UserInterface/Models/BackForwardEntry.js:
* UserInterface/Models/Branch.js:
* UserInterface/Models/BreakpointAction.js:
* UserInterface/Models/CSSMedia.js:
* UserInterface/Models/CSSSelector.js:
* UserInterface/Models/CallFrame.js:
* UserInterface/Models/CallingContextTree.js:
* UserInterface/Models/CallingContextTreeNode.js:
* UserInterface/Models/CollectionEntry.js:
* UserInterface/Models/CollectionEntryPreview.js:
* UserInterface/Models/ConsoleMessage.js:
* UserInterface/Models/DOMSearchMatchObject.js:
* UserInterface/Models/DatabaseObject.js:
* UserInterface/Models/DatabaseTableObject.js:
* UserInterface/Models/DebuggerDashboard.js:
* UserInterface/Models/DebuggerData.js:
* UserInterface/Models/ExecutionContext.js:
* UserInterface/Models/ExecutionContextList.js:
* UserInterface/Models/GarbageCollection.js:
* UserInterface/Models/HeapSnapshotRootPath.js:
* UserInterface/Models/IndexedDatabase.js:
* UserInterface/Models/IndexedDatabaseObjectStore.js:
* UserInterface/Models/IndexedDatabaseObjectStoreIndex.js:
* UserInterface/Models/Instrument.js:
* UserInterface/Models/KeyboardShortcut.js:
* UserInterface/Models/LineWidget.js:
* UserInterface/Models/MemoryCategory.js:
* UserInterface/Models/MemoryPressureEvent.js:
* UserInterface/Models/ObjectPreview.js:
* UserInterface/Models/Probe.js:
* UserInterface/Models/ProbeSetDataFrame.js:
* UserInterface/Models/Profile.js:
* UserInterface/Models/ProfileNode.js:
* UserInterface/Models/ProfileNodeCall.js:
* UserInterface/Models/PropertyDescriptor.js:
* UserInterface/Models/PropertyPath.js:
* UserInterface/Models/PropertyPreview.js:
* UserInterface/Models/ResourceQueryMatch.js:
* UserInterface/Models/ResourceQueryResult.js:
* UserInterface/Models/ResourceTimingData.js:
* UserInterface/Models/Revision.js:
* UserInterface/Models/ScopeChainNode.js:
* UserInterface/Models/ScriptSyntaxTree.js:
* UserInterface/Models/SourceCodePosition.js:
* UserInterface/Models/SourceCodeSearchMatchObject.js:
* UserInterface/Models/SourceMap.js:
* UserInterface/Models/StackTrace.js:
* UserInterface/Models/StructureDescription.js:
* UserInterface/Models/TextMarker.js:
* UserInterface/Models/TextRange.js:
* UserInterface/Models/TimelineRange.js:
* UserInterface/Models/TypeDescription.js:
* UserInterface/Models/TypeSet.js:
* UserInterface/Protocol/ProtocolTracer.js:
* UserInterface/Proxies/FormatterWorkerProxy.js:
* UserInterface/Proxies/HeapSnapshotDiffProxy.js:
* UserInterface/Proxies/HeapSnapshotWorkerProxy.js:
* UserInterface/Test/TestSuite.js:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@219734 268f45cc-cd09-0410-ab3c-d52691b4dbfc
65 files changed:
Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Base/YieldableTask.js
Source/WebInspectorUI/UserInterface/Debug/ProtocolTrace.js
Source/WebInspectorUI/UserInterface/Models/AnalyzerMessage.js
Source/WebInspectorUI/UserInterface/Models/ApplicationCacheFrame.js
Source/WebInspectorUI/UserInterface/Models/ApplicationCacheManifest.js
Source/WebInspectorUI/UserInterface/Models/BackForwardEntry.js
Source/WebInspectorUI/UserInterface/Models/Branch.js
Source/WebInspectorUI/UserInterface/Models/BreakpointAction.js
Source/WebInspectorUI/UserInterface/Models/CSSMedia.js
Source/WebInspectorUI/UserInterface/Models/CSSSelector.js
Source/WebInspectorUI/UserInterface/Models/CallFrame.js
Source/WebInspectorUI/UserInterface/Models/CallingContextTree.js
Source/WebInspectorUI/UserInterface/Models/CallingContextTreeNode.js
Source/WebInspectorUI/UserInterface/Models/CollectionEntry.js
Source/WebInspectorUI/UserInterface/Models/CollectionEntryPreview.js
Source/WebInspectorUI/UserInterface/Models/ConsoleMessage.js
Source/WebInspectorUI/UserInterface/Models/DOMSearchMatchObject.js
Source/WebInspectorUI/UserInterface/Models/DatabaseObject.js
Source/WebInspectorUI/UserInterface/Models/DatabaseTableObject.js
Source/WebInspectorUI/UserInterface/Models/DebuggerDashboard.js
Source/WebInspectorUI/UserInterface/Models/DebuggerData.js
Source/WebInspectorUI/UserInterface/Models/ExecutionContext.js
Source/WebInspectorUI/UserInterface/Models/ExecutionContextList.js
Source/WebInspectorUI/UserInterface/Models/GarbageCollection.js
Source/WebInspectorUI/UserInterface/Models/HeapSnapshotRootPath.js
Source/WebInspectorUI/UserInterface/Models/IndexedDatabase.js
Source/WebInspectorUI/UserInterface/Models/IndexedDatabaseObjectStore.js
Source/WebInspectorUI/UserInterface/Models/IndexedDatabaseObjectStoreIndex.js
Source/WebInspectorUI/UserInterface/Models/Instrument.js
Source/WebInspectorUI/UserInterface/Models/KeyboardShortcut.js
Source/WebInspectorUI/UserInterface/Models/LineWidget.js
Source/WebInspectorUI/UserInterface/Models/LogObject.js
Source/WebInspectorUI/UserInterface/Models/MemoryCategory.js
Source/WebInspectorUI/UserInterface/Models/MemoryPressureEvent.js
Source/WebInspectorUI/UserInterface/Models/ObjectPreview.js
Source/WebInspectorUI/UserInterface/Models/Probe.js
Source/WebInspectorUI/UserInterface/Models/ProbeSetDataFrame.js
Source/WebInspectorUI/UserInterface/Models/Profile.js
Source/WebInspectorUI/UserInterface/Models/ProfileNode.js
Source/WebInspectorUI/UserInterface/Models/ProfileNodeCall.js
Source/WebInspectorUI/UserInterface/Models/PropertyDescriptor.js
Source/WebInspectorUI/UserInterface/Models/PropertyPath.js
Source/WebInspectorUI/UserInterface/Models/PropertyPreview.js
Source/WebInspectorUI/UserInterface/Models/ResourceQueryMatch.js
Source/WebInspectorUI/UserInterface/Models/ResourceQueryResult.js
Source/WebInspectorUI/UserInterface/Models/ResourceTimingData.js
Source/WebInspectorUI/UserInterface/Models/Revision.js
Source/WebInspectorUI/UserInterface/Models/ScopeChainNode.js
Source/WebInspectorUI/UserInterface/Models/ScriptSyntaxTree.js
Source/WebInspectorUI/UserInterface/Models/SourceCodePosition.js
Source/WebInspectorUI/UserInterface/Models/SourceCodeSearchMatchObject.js
Source/WebInspectorUI/UserInterface/Models/SourceMap.js
Source/WebInspectorUI/UserInterface/Models/StackTrace.js
Source/WebInspectorUI/UserInterface/Models/StructureDescription.js
Source/WebInspectorUI/UserInterface/Models/TextMarker.js
Source/WebInspectorUI/UserInterface/Models/TextRange.js
Source/WebInspectorUI/UserInterface/Models/TimelineRange.js
Source/WebInspectorUI/UserInterface/Models/TypeDescription.js
Source/WebInspectorUI/UserInterface/Models/TypeSet.js
Source/WebInspectorUI/UserInterface/Protocol/ProtocolTracer.js
Source/WebInspectorUI/UserInterface/Proxies/FormatterWorkerProxy.js
Source/WebInspectorUI/UserInterface/Proxies/HeapSnapshotDiffProxy.js
Source/WebInspectorUI/UserInterface/Proxies/HeapSnapshotWorkerProxy.js
Source/WebInspectorUI/UserInterface/Test/TestSuite.js