Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Web Inspector: SourceCodeTextEditor close() generates removeEventList…
…ener warnings https://bugs.webkit.org/show_bug.cgi?id=154150 Patch by Joseph Pecoraro <pecoraro@apple.com> on 2016-02-11 Reviewed by Timothy Hatcher. * UserInterface/Views/SourceCodeTextEditor.js: (WebInspector.SourceCodeTextEditor.prototype.close): Remove the event listeners in the cases that we would have added them. If we have SourceMap information we should remove the key listener, and if we don't we should remove the SourceMapAdded listener. Canonical link: https://commits.webkit.org/172253@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@196464 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
with
17 additions
and 2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters