Changeset 285975 in webkit


Ignore:
Timestamp:
Nov 17, 2021, 7:46:53 PM (4 years ago)
Author:
Devin Rousso
Message:

Web Inspector: assertion failures in WI.GridOverlayConfigurationDiagnosticEventRecorder
https://bugs.webkit.org/show_bug.cgi?id=233298

Reviewed by Patrick Angle.

  • UserInterface/Controllers/GridOverlayConfigurationDiagnosticEventRecorder.js:

(WI.GridOverlayConfigurationDiagnosticEventRecorder.prototype.teardown):

Location:
trunk/Source/WebInspectorUI
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebInspectorUI/ChangeLog

    r285974 r285975  
     12021-11-17  Devin Rousso  <drousso@apple.com>
     2
     3        Web Inspector: assertion failures in `WI.GridOverlayConfigurationDiagnosticEventRecorder`
     4        https://bugs.webkit.org/show_bug.cgi?id=233298
     5
     6        Reviewed by Patrick Angle.
     7
     8        * UserInterface/Controllers/GridOverlayConfigurationDiagnosticEventRecorder.js:
     9        (WI.GridOverlayConfigurationDiagnosticEventRecorder.prototype.teardown):
     10
    1112021-11-17  Devin Rousso  <drousso@apple.com>
    212
  • trunk/Source/WebInspectorUI/UserInterface/Controllers/GridOverlayConfigurationDiagnosticEventRecorder.js

    r276714 r285975  
    6565        window.removeEventListener("keydown", this, options);
    6666        window.removeEventListener("mousedown", this, options);
    67         WI.overlayManager.addEventListener(WI.OverlayManager.Event.GridOverlayShown, this._handleGridOverlayShown, this);
    68         WI.overlayManager.addEventListener(WI.OverlayManager.Event.GridOverlayHidden, this._handleGridOverlayHidden, this);
     67        WI.overlayManager.removeEventListener(WI.OverlayManager.Event.GridOverlayShown, this._handleGridOverlayShown, this);
     68        WI.overlayManager.removeEventListener(WI.OverlayManager.Event.GridOverlayHidden, this._handleGridOverlayHidden, this);
    6969
    7070        this._stopEventSamplingTimerIfNeeded();
Note: See TracChangeset for help on using the changeset viewer.