Title: [219734] trunk/Source/WebInspectorUI
Revision
219734
Author
[email protected]
Date
2017-07-21 12:36:40 -0700 (Fri, 21 Jul 2017)

Log Message

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 <[email protected]> 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:

Modified Paths

Diff

Modified: trunk/Source/WebInspectorUI/ChangeLog (219733 => 219734)


--- trunk/Source/WebInspectorUI/ChangeLog	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/ChangeLog	2017-07-21 19:36:40 UTC (rev 219734)
@@ -1,3 +1,79 @@
+2017-07-21  Joseph Pecoraro  <[email protected]>
+
+        Web Inspector: Avoid subclassing WebInspector.Object if we do not need to
+        https://bugs.webkit.org/show_bug.cgi?id=174703
+
+        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:
+
 2017-07-19  Chris Dumez  <[email protected]>
 
         Drop SQLException type

Modified: trunk/Source/WebInspectorUI/UserInterface/Base/YieldableTask.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Base/YieldableTask.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Base/YieldableTask.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.YieldableTask = class YieldableTask extends WebInspector.Object
+WebInspector.YieldableTask = class YieldableTask
 {
     constructor(delegate, items, options={})
     {
-        super();
-
         let {workInterval, idleInterval} = options;
         console.assert(!workInterval || workInterval > 0, workInterval);
         console.assert(!idleInterval || idleInterval > 0, idleInterval);

Modified: trunk/Source/WebInspectorUI/UserInterface/Debug/ProtocolTrace.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Debug/ProtocolTrace.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Debug/ProtocolTrace.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,22 +23,22 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.ProtocolTrace = class ProtocolTrace extends WebInspector.Object
+WebInspector.ProtocolTrace = class ProtocolTrace
 {
     constructor()
     {
-        super();
-
         this._entries = [];
     }
 
     // Public
 
-    addEntry(entry) {
+    addEntry(entry)
+    {
         this._entries.push(entry);
     }
 
-    get saveData() {
+    get saveData()
+    {
         let now = new Date();
         let YYYY = now.getFullYear();
         let MM = now.getMonth() + 1;

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/AnalyzerMessage.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/AnalyzerMessage.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/AnalyzerMessage.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.AnalyzerMessage = class AnalyzerMessage extends WebInspector.Object
+WebInspector.AnalyzerMessage = class AnalyzerMessage
 {
     constructor(sourceCodeLocation, text, ruleIdentifier)
     {
-        super();
-
         console.assert(sourceCodeLocation instanceof WebInspector.SourceCodeLocation);
         console.assert(typeof text === "string");
 

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/ApplicationCacheFrame.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/ApplicationCacheFrame.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/ApplicationCacheFrame.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.ApplicationCacheFrame = class ApplicationCacheFrame extends WebInspector.Object
+WebInspector.ApplicationCacheFrame = class ApplicationCacheFrame
 {
     constructor(frame, manifest, status)
     {
-        super();
-
         console.assert(frame instanceof WebInspector.Frame);
         console.assert(manifest instanceof WebInspector.ApplicationCacheManifest);
 

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/ApplicationCacheManifest.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/ApplicationCacheManifest.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/ApplicationCacheManifest.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.ApplicationCacheManifest = class ApplicationCacheManifest extends WebInspector.Object
+WebInspector.ApplicationCacheManifest = class ApplicationCacheManifest
 {
     constructor(manifestURL)
     {
-        super();
-
         this._manifestURL = manifestURL;
     }
 

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/BackForwardEntry.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/BackForwardEntry.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/BackForwardEntry.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -24,12 +24,10 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.BackForwardEntry = class BackForwardEntry extends WebInspector.Object
+WebInspector.BackForwardEntry = class BackForwardEntry
 {
     constructor(contentView, cookie)
     {
-        super();
-
         this._contentView = contentView;
 
         // ContentViews may be shared across multiple ContentViewContainers.

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/Branch.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/Branch.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/Branch.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.Branch = class Branch extends WebInspector.Object
+WebInspector.Branch = class Branch
 {
     constructor(displayName, revisions, locked)
     {
-        super();
-
         console.assert(displayName);
 
         this._displayName = displayName;

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/BreakpointAction.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/BreakpointAction.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/BreakpointAction.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.BreakpointAction = class BreakpointAction extends WebInspector.Object
+WebInspector.BreakpointAction = class BreakpointAction
 {
     constructor(breakpoint, typeOrInfo, data)
     {
-        super();
-
         console.assert(breakpoint);
         console.assert(typeOrInfo);
 

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/CSSMedia.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/CSSMedia.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/CSSMedia.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.CSSMedia = class CSSMedia extends WebInspector.Object
+WebInspector.CSSMedia = class CSSMedia
 {
     constructor(type, text, sourceCodeLocation)
     {
-        super();
-
         console.assert(!sourceCodeLocation || sourceCodeLocation instanceof WebInspector.SourceCodeLocation);
 
         this._type = type || null;

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/CSSSelector.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/CSSSelector.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/CSSSelector.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.CSSSelector = class CSSSelector extends WebInspector.Object
+WebInspector.CSSSelector = class CSSSelector
 {
     constructor(text, specificity, dynamic)
     {
-        super();
-
         console.assert(text);
 
         this._text = text;

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/CallFrame.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/CallFrame.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/CallFrame.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.CallFrame = class CallFrame extends WebInspector.Object
+WebInspector.CallFrame = class CallFrame
 {
     constructor(target, id, sourceCodeLocation, functionName, thisObject, scopeChain, nativeCode, programCode, isTailDeleted)
     {
-        super();
-
         console.assert(target instanceof WebInspector.Target);
         console.assert(!sourceCodeLocation || sourceCodeLocation instanceof WebInspector.SourceCodeLocation);
         console.assert(!thisObject || thisObject instanceof WebInspector.RemoteObject);

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/CallingContextTree.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/CallingContextTree.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/CallingContextTree.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.CallingContextTree = class CallingContextTree extends WebInspector.Object
+WebInspector.CallingContextTree = class CallingContextTree
 {
     constructor(type)
     {
-        super();
-
         this._type = type || WebInspector.CallingContextTree.Type.TopDown;
 
         this.reset();

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/CallingContextTreeNode.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/CallingContextTreeNode.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/CallingContextTreeNode.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.CallingContextTreeNode = class CallingContextTreeNode extends WebInspector.Object
+WebInspector.CallingContextTreeNode = class CallingContextTreeNode
 {
     constructor(sourceID, line, column, name, url, hash)
     {
-        super();
-
         this._children = {};
         this._sourceID = sourceID;
         this._line = line;

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/CollectionEntry.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/CollectionEntry.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/CollectionEntry.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.CollectionEntry = class CollectionEntry extends WebInspector.Object
+WebInspector.CollectionEntry = class CollectionEntry
 {
     constructor(key, value)
     {
-        super();
-
         console.assert(value instanceof WebInspector.RemoteObject);
         console.assert(!key || key instanceof WebInspector.RemoteObject);
 

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/CollectionEntryPreview.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/CollectionEntryPreview.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/CollectionEntryPreview.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.CollectionEntryPreview = class CollectionEntryPreview extends WebInspector.Object
+WebInspector.CollectionEntryPreview = class CollectionEntryPreview
 {
     constructor(keyPreview, valuePreview)
     {
-        super();
-
         console.assert(valuePreview instanceof WebInspector.ObjectPreview);
         console.assert(!keyPreview || keyPreview instanceof WebInspector.ObjectPreview);
 

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/ConsoleMessage.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/ConsoleMessage.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/ConsoleMessage.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.ConsoleMessage = class ConsoleMessage extends WebInspector.Object
+WebInspector.ConsoleMessage = class ConsoleMessage
 {
     constructor(target, source, level, message, type, url, line, column, repeatCount, parameters, callFrames, request)
     {
-        super();
-
         console.assert(typeof source === "string");
         console.assert(typeof level === "string");
         console.assert(typeof message === "string");

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/DOMSearchMatchObject.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/DOMSearchMatchObject.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/DOMSearchMatchObject.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.DOMSearchMatchObject = class DOMSearchMatchObject extends WebInspector.Object
+WebInspector.DOMSearchMatchObject = class DOMSearchMatchObject
 {
     constructor(resource, domNode, title, searchTerm, textRange)
     {
-        super();
-
         console.assert(resource instanceof WebInspector.Resource);
         console.assert(domNode instanceof WebInspector.DOMNode);
 

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/DatabaseObject.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/DatabaseObject.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/DatabaseObject.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.DatabaseObject = class DatabaseObject extends WebInspector.Object
+WebInspector.DatabaseObject = class DatabaseObject
 {
     constructor(id, host, name, version)
     {
-        super();
-
         this._id = id;
         this._host = host ? host : WebInspector.UIString("Local File");
         this._name = name;

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/DatabaseTableObject.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/DatabaseTableObject.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/DatabaseTableObject.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.DatabaseTableObject = class DatabaseTableObject extends WebInspector.Object
+WebInspector.DatabaseTableObject = class DatabaseTableObject
 {
     constructor(name, database)
     {
-        super();
-
         console.assert(database instanceof WebInspector.DatabaseObject);
 
         this._name = name;

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/DebuggerDashboard.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/DebuggerDashboard.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/DebuggerDashboard.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,6 +23,6 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.DebuggerDashboard = class DebuggerDashboard extends WebInspector.Object
+WebInspector.DebuggerDashboard = class DebuggerDashboard
 {
 };

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/DebuggerData.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/DebuggerData.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/DebuggerData.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.DebuggerData = class DebuggerData extends WebInspector.Object
+WebInspector.DebuggerData = class DebuggerData
 {
     constructor(target)
     {
-        super();
-
         console.assert(target instanceof WebInspector.Target);
 
         this._target = target;

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/ExecutionContext.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/ExecutionContext.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/ExecutionContext.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.ExecutionContext = class ExecutionContext extends WebInspector.Object
+WebInspector.ExecutionContext = class ExecutionContext
 {
     constructor(target, id, name, isPageContext, frame)
     {
-        super();
-
         console.assert(target instanceof WebInspector.Target);
         console.assert(typeof id === "number" || id === WebInspector.RuntimeManager.TopLevelExecutionContextIdentifier);
         console.assert(typeof name === "string");

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/ExecutionContextList.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/ExecutionContextList.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/ExecutionContextList.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.ExecutionContextList = class ExecutionContextList extends WebInspector.Object
+WebInspector.ExecutionContextList = class ExecutionContextList
 {
     constructor()
     {
-        super();
-
         this._contexts = [];
         this._pageExecutionContext = null;
     }

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/GarbageCollection.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/GarbageCollection.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/GarbageCollection.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.GarbageCollection = class GarbageCollection extends WebInspector.Object
+WebInspector.GarbageCollection = class GarbageCollection
 {
     constructor(type, startTime, endTime)
     {
-        super();
-
         console.assert(endTime >= startTime);
 
         this._type = type;

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/HeapSnapshotRootPath.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/HeapSnapshotRootPath.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/HeapSnapshotRootPath.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.HeapSnapshotRootPath = class HeapSnapshotRootPath extends WebInspector.Object
+WebInspector.HeapSnapshotRootPath = class HeapSnapshotRootPath
 {
     constructor(node, pathComponent, parent, isGlobalScope)
     {
-        super();
-
         console.assert(!node || node instanceof WebInspector.HeapSnapshotNodeProxy);
         console.assert(!pathComponent || typeof pathComponent === "string");
         console.assert(!parent || parent instanceof WebInspector.HeapSnapshotRootPath);

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/IndexedDatabase.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/IndexedDatabase.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/IndexedDatabase.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.IndexedDatabase = class IndexedDatabase extends WebInspector.Object
+WebInspector.IndexedDatabase = class IndexedDatabase
 {
     constructor(name, securityOrigin, version, objectStores)
     {
-        super();
-
         this._name = name;
         this._securityOrigin = securityOrigin;
         this._host = parseSecurityOrigin(securityOrigin).host;

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/IndexedDatabaseObjectStore.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/IndexedDatabaseObjectStore.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/IndexedDatabaseObjectStore.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.IndexedDatabaseObjectStore = class IndexedDatabaseObjectStore extends WebInspector.Object
+WebInspector.IndexedDatabaseObjectStore = class IndexedDatabaseObjectStore
 {
     constructor(name, keyPath, autoIncrement, indexes)
     {
-        super();
-
         this._name = name;
         this._keyPath = keyPath;
         this._autoIncrement = autoIncrement || false;

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/IndexedDatabaseObjectStoreIndex.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/IndexedDatabaseObjectStoreIndex.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/IndexedDatabaseObjectStoreIndex.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.IndexedDatabaseObjectStoreIndex = class IndexedDatabaseObjectStoreIndex extends WebInspector.Object
+WebInspector.IndexedDatabaseObjectStoreIndex = class IndexedDatabaseObjectStoreIndex
 {
     constructor(name, keyPath, unique, multiEntry)
     {
-        super();
-
         this._name = name;
         this._keyPath = keyPath;
         this._unique = unique || false;

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/Instrument.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/Instrument.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/Instrument.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,7 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.Instrument = class Instrument extends WebInspector.Object
+WebInspector.Instrument = class Instrument
 {
     // Static
 

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/KeyboardShortcut.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/KeyboardShortcut.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/KeyboardShortcut.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.KeyboardShortcut = class KeyboardShortcut extends WebInspector.Object
+WebInspector.KeyboardShortcut = class KeyboardShortcut
 {
     constructor(modifiers, key, callback, targetElement)
     {
-        super();
-
         console.assert(key);
         console.assert(!callback || typeof callback === "function");
         console.assert(!targetElement || targetElement instanceof Element);

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/LineWidget.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/LineWidget.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/LineWidget.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.LineWidget = class LineWidget extends WebInspector.Object
+WebInspector.LineWidget = class LineWidget
 {
     constructor(codeMirrorLineWidget, widgetElement)
     {
-        super();
-
         console.assert(widgetElement instanceof Element);
 
         this._codeMirrorLineWidget = codeMirrorLineWidget;

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/LogObject.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/LogObject.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/LogObject.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,19 +23,6 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.LogObject = class LogObject extends WebInspector.Object
+WebInspector.LogObject = class LogObject
 {
-    constructor()
-    {
-        super();
-
-        this._startDate = new Date;
-    }
-
-    // Public
-
-    get startDate()
-    {
-        return this._startDate;
-    }
 };

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/MemoryCategory.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/MemoryCategory.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/MemoryCategory.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.MemoryCategory = class MemoryCategory extends WebInspector.Object
+WebInspector.MemoryCategory = class MemoryCategory
 {
     constructor(type, size)
     {
-        super();
-
         console.assert(typeof type === "string");
         console.assert(typeof size === "number");
         console.assert(size >= 0);

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/MemoryPressureEvent.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/MemoryPressureEvent.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/MemoryPressureEvent.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.MemoryPressureEvent = class MemoryPressureEvent extends WebInspector.Object
+WebInspector.MemoryPressureEvent = class MemoryPressureEvent
 {
     constructor(timestamp, severity)
     {
-        super();
-
         this._timestamp = timestamp;
         this._severity = severity;
     }

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/ObjectPreview.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/ObjectPreview.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/ObjectPreview.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.ObjectPreview = class ObjectPreview extends WebInspector.Object
+WebInspector.ObjectPreview = class ObjectPreview
 {
     constructor(type, subtype, description, lossless, overflow, properties, entries, size)
     {
-        super();
-
         console.assert(type);
         console.assert(typeof lossless === "boolean");
         console.assert(!properties || !properties.length || properties[0] instanceof WebInspector.PropertyPreview);

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/Probe.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/Probe.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/Probe.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -24,12 +24,10 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.ProbeSample = class ProbeSample extends WebInspector.Object
+WebInspector.ProbeSample = class ProbeSample
 {
     constructor(sampleId, batchId, elapsedTime, object)
     {
-        super();
-
         console.assert(object instanceof WebInspector.RemoteObject);
 
         this.sampleId = sampleId;

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/ProbeSetDataFrame.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/ProbeSetDataFrame.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/ProbeSetDataFrame.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -24,12 +24,10 @@
  * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.ProbeSetDataFrame = class ProbeSetDataFrame extends WebInspector.Object
+WebInspector.ProbeSetDataFrame = class ProbeSetDataFrame
 {
     constructor(index)
     {
-        super();
-
         this._count = 0;
         this._index = index;
         this._separator = false;

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/Profile.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/Profile.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/Profile.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.Profile = "" Profile extends WebInspector.Object
+WebInspector.Profile = "" Profile
 {
     constructor(topDownRootNodes)
     {
-        super();
-
         topDownRootNodes = topDownRootNodes || [];
 
         console.assert(topDownRootNodes instanceof Array);

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/ProfileNode.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/ProfileNode.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/ProfileNode.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.ProfileNode = class ProfileNode extends WebInspector.Object
+WebInspector.ProfileNode = class ProfileNode
 {
     constructor(id, type, functionName, sourceCodeLocation, callInfo, calls, childNodes)
     {
-        super();
-
         childNodes = childNodes || [];
 
         console.assert(id);

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/ProfileNodeCall.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/ProfileNodeCall.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/ProfileNodeCall.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.ProfileNodeCall = class ProfileNodeCall extends WebInspector.Object
+WebInspector.ProfileNodeCall = class ProfileNodeCall
 {
     constructor(startTime, totalTime)
     {
-        super();
-
         console.assert(startTime);
 
         this._startTime = startTime;

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/PropertyDescriptor.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/PropertyDescriptor.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/PropertyDescriptor.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.PropertyDescriptor = class PropertyDescriptor extends WebInspector.Object
+WebInspector.PropertyDescriptor = class PropertyDescriptor
 {
     constructor(descriptor, symbol, isOwnProperty, wasThrown, nativeGetter, isInternalProperty)
     {
-        super();
-
         console.assert(descriptor);
         console.assert(descriptor.name);
         console.assert(!descriptor.value || descriptor.value instanceof WebInspector.RemoteObject);

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/PropertyPath.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/PropertyPath.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/PropertyPath.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.PropertyPath = class PropertyPath extends WebInspector.Object
+WebInspector.PropertyPath = class PropertyPath
 {
     constructor(object, pathComponent, parent, isPrototype)
     {
-        super();
-
         console.assert(object instanceof WebInspector.RemoteObject || object === null);
         console.assert(!pathComponent || typeof pathComponent === "string");
         console.assert(!parent || parent instanceof WebInspector.PropertyPath);

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/PropertyPreview.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/PropertyPreview.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/PropertyPreview.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.PropertyPreview = class PropertyPreview extends WebInspector.Object
+WebInspector.PropertyPreview = class PropertyPreview
 {
     constructor(name, type, subtype, value, valuePreview, isInternalProperty)
     {
-        super();
-
         console.assert(typeof name === "string");
         console.assert(type);
         console.assert(!value || typeof value === "string");

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/ResourceQueryMatch.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/ResourceQueryMatch.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/ResourceQueryMatch.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.ResourceQueryMatch = class QueryMatch extends WebInspector.Object
+WebInspector.ResourceQueryMatch = class QueryMatch
 {
     constructor(type, index, queryIndex)
     {
-        super();
-
         this._type = type;
         this._index = index;
         this._queryIndex = queryIndex;

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/ResourceQueryResult.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/ResourceQueryResult.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/ResourceQueryResult.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,14 +23,12 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.ResourceQueryResult = class QueryResult extends WebInspector.Object
+WebInspector.ResourceQueryResult = class ResourceQueryResult
 {
     constructor(resource, matches, cookie)
     {
         console.assert(matches.length, "Query matches list can't be empty.");
 
-        super();
-
         this._resource = resource;
         this._matches = matches;
         this._cookie = cookie || null;

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/ResourceTimingData.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/ResourceTimingData.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/ResourceTimingData.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.ResourceTimingData = class ResourceTimingData extends WebInspector.Object
+WebInspector.ResourceTimingData = class ResourceTimingData
 {
     constructor(resource, data)
     {
-        super();
-
         data = "" || {};
 
         console.assert(isNaN(data.domainLookupStart) === isNaN(data.domainLookupEnd));

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/Revision.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/Revision.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/Revision.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,7 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.Revision = class Revision extends WebInspector.Object
+WebInspector.Revision = class Revision
 {
     // Public
 

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/ScopeChainNode.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/ScopeChainNode.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/ScopeChainNode.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.ScopeChainNode = class ScopeChainNode extends WebInspector.Object
+WebInspector.ScopeChainNode = class ScopeChainNode
 {
     constructor(type, objects, name, location, empty)
     {
-        super();
-
         console.assert(typeof type === "string");
         console.assert(objects.every((x) => x instanceof WebInspector.RemoteObject));
 

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/ScriptSyntaxTree.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/ScriptSyntaxTree.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/ScriptSyntaxTree.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.ScriptSyntaxTree = class ScriptSyntaxTree extends WebInspector.Object
+WebInspector.ScriptSyntaxTree = class ScriptSyntaxTree
 {
     constructor(sourceText, script)
     {
-        super();
-
         console.assert(script && script instanceof WebInspector.Script, script);
 
         this._script = script;

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/SourceCodePosition.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/SourceCodePosition.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/SourceCodePosition.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.SourceCodePosition = class SourceCodePosition extends WebInspector.Object
+WebInspector.SourceCodePosition = class SourceCodePosition
 {
     constructor(lineNumber, columNumber)
     {
-        super();
-
         this._lineNumber = lineNumber || 0;
         this._columnNumber = columNumber || 0;
     }

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/SourceCodeSearchMatchObject.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/SourceCodeSearchMatchObject.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/SourceCodeSearchMatchObject.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.SourceCodeSearchMatchObject = class SourceCodeSearchMatchObject extends WebInspector.Object
+WebInspector.SourceCodeSearchMatchObject = class SourceCodeSearchMatchObject
 {
     constructor(sourceCode, lineText, searchTerm, textRange)
     {
-        super();
-
         console.assert(sourceCode instanceof WebInspector.SourceCode);
 
         this._sourceCode = sourceCode;

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/SourceMap.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/SourceMap.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/SourceMap.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.SourceMap = class SourceMap extends WebInspector.Object
+WebInspector.SourceMap = class SourceMap
 {
     constructor(sourceMappingURL, payload, originalSourceCode)
     {
-        super();
-
         if (!WebInspector.SourceMap._base64Map) {
             var base64Digits = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";
             WebInspector.SourceMap._base64Map = {};

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/StackTrace.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/StackTrace.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/StackTrace.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.StackTrace = class StackTrace extends WebInspector.Object
+WebInspector.StackTrace = class StackTrace
 {
     constructor(callFrames, topCallFrameIsBoundary, truncated, parentStackTrace)
     {
-        super();
-
         console.assert(callFrames && callFrames.every((callFrame) => callFrame instanceof WebInspector.CallFrame));
 
         this._callFrames = callFrames;

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/StructureDescription.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/StructureDescription.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/StructureDescription.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.StructureDescription = class StructureDescription extends WebInspector.Object
+WebInspector.StructureDescription = class StructureDescription
 {
     constructor(fields, optionalFields, constructorName, prototypeStructure, imprecise)
     {
-        super();
-
         console.assert(!fields || fields.every((x) => typeof x === "string"));
         console.assert(!optionalFields || optionalFields.every((x) => typeof x === "string"));
         console.assert(!constructorName || typeof constructorName === "string");

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/TextMarker.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/TextMarker.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/TextMarker.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.TextMarker = class TextMarker extends WebInspector.Object
+WebInspector.TextMarker = class TextMarker
 {
     constructor(codeMirrorTextMarker, type)
     {
-        super();
-
         this._codeMirrorTextMarker = codeMirrorTextMarker;
         codeMirrorTextMarker.__webInspectorTextMarker = this;
 

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/TextRange.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/TextRange.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/TextRange.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.TextRange = class TextRange extends WebInspector.Object
+WebInspector.TextRange = class TextRange
 {
     constructor(startLineOrStartOffset, startColumnOrEndOffset, endLine, endColumn)
     {
-        super();
-
         if (arguments.length === 4) {
             console.assert(startLineOrStartOffset <= endLine);
             console.assert(startLineOrStartOffset !== endLine || startColumnOrEndOffset <= endColumn);

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/TimelineRange.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/TimelineRange.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/TimelineRange.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.TimelineRange = class TimelineRange extends WebInspector.Object
+WebInspector.TimelineRange = class TimelineRange
 {
     constructor(startValue, endValue)
     {
-        super();
-
         this._startValue = startValue;
         this._endValue = endValue;
     }

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/TypeDescription.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/TypeDescription.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/TypeDescription.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.TypeDescription = class TypeDescription extends WebInspector.Object
+WebInspector.TypeDescription = class TypeDescription
 {
     constructor(leastCommonAncestor, typeSet, structures, valid, truncated)
     {
-        super();
-
         console.assert(!leastCommonAncestor || typeof leastCommonAncestor === "string");
         console.assert(!typeSet || typeSet instanceof WebInspector.TypeSet);
         console.assert(!structures || structures.every((x) => x instanceof WebInspector.StructureDescription));

Modified: trunk/Source/WebInspectorUI/UserInterface/Models/TypeSet.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Models/TypeSet.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Models/TypeSet.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -24,12 +24,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.TypeSet = class TypeSet extends WebInspector.Object
+WebInspector.TypeSet = class TypeSet
 {
     constructor(typeSet)
     {
-        super();
-
         console.assert(typeSet);
 
         var bitString = 0x0;

Modified: trunk/Source/WebInspectorUI/UserInterface/Protocol/ProtocolTracer.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Protocol/ProtocolTracer.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Protocol/ProtocolTracer.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,7 +23,7 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.ProtocolTracer = class ProtocolTracer extends WebInspector.Object
+WebInspector.ProtocolTracer = class ProtocolTracer
 {
     // Public
 

Modified: trunk/Source/WebInspectorUI/UserInterface/Proxies/FormatterWorkerProxy.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Proxies/FormatterWorkerProxy.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Proxies/FormatterWorkerProxy.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.FormatterWorkerProxy = class FormatterWorkerProxy extends WebInspector.Object
+WebInspector.FormatterWorkerProxy = class FormatterWorkerProxy
 {
     constructor()
     {
-        super();
-
         this._formatterWorker = new Worker("Workers/Formatter/FormatterWorker.js");
         this._formatterWorker.addEventListener("message", this._handleMessage.bind(this));
 

Modified: trunk/Source/WebInspectorUI/UserInterface/Proxies/HeapSnapshotDiffProxy.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Proxies/HeapSnapshotDiffProxy.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Proxies/HeapSnapshotDiffProxy.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,12 +23,10 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-WebInspector.HeapSnapshotDiffProxy = class HeapSnapshotDiffProxy extends WebInspector.Object
+WebInspector.HeapSnapshotDiffProxy = class HeapSnapshotDiffProxy
 {
     constructor(snapshotDiffObjectId, snapshot1, snapshot2, totalSize, totalObjectCount, categories)
     {
-        super();
-
         this._proxyObjectId = snapshotDiffObjectId;
 
         console.assert(snapshot1 instanceof WebInspector.HeapSnapshotProxy);

Modified: trunk/Source/WebInspectorUI/UserInterface/Proxies/HeapSnapshotWorkerProxy.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Proxies/HeapSnapshotWorkerProxy.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Proxies/HeapSnapshotWorkerProxy.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,6 +23,8 @@
  * THE POSSIBILITY OF SUCH DAMAGE.
  */
 
+// Events dispatched on this class: "HeapSnapshot.CollectionEvent"
+
 WebInspector.HeapSnapshotWorkerProxy = class HeapSnapshotWorkerProxy extends WebInspector.Object
 {
     constructor()

Modified: trunk/Source/WebInspectorUI/UserInterface/Test/TestSuite.js (219733 => 219734)


--- trunk/Source/WebInspectorUI/UserInterface/Test/TestSuite.js	2017-07-21 18:48:17 UTC (rev 219733)
+++ trunk/Source/WebInspectorUI/UserInterface/Test/TestSuite.js	2017-07-21 19:36:40 UTC (rev 219734)
@@ -23,7 +23,7 @@
  * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  */
 
-TestSuite = class TestSuite extends WebInspector.Object
+TestSuite = class TestSuite
 {
     constructor(harness, name) {
         if (!(harness instanceof TestHarness))
@@ -32,8 +32,6 @@
         if (typeof name !== "string" || !name.trim().length)
             throw new Error("Tried to create TestSuite without string suite name.");
 
-        super();
-
         this.name = name;
         this._harness = harness;
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to