Web Inspector: DOMTreeManager dispatches DocumentUpdated twice when the document...
authormattbaker@apple.com <mattbaker@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 9 Mar 2017 17:40:06 +0000 (17:40 +0000)
committermattbaker@apple.com <mattbaker@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 9 Mar 2017 17:40:06 +0000 (17:40 +0000)
commit48dc424048d2a4dd83d69d6ed36a10cce5743710
treefd88cc11f2a1209f6c8a00861a9ad5f821ea836b
parent30bbbdc8581fc81b7b48e94dafab4a6b7508a7e2
Web Inspector: DOMTreeManager dispatches DocumentUpdated twice when the document is cleared
https://bugs.webkit.org/show_bug.cgi?id=168984

Reviewed by Timothy Hatcher.

* UserInterface/Controllers/DOMTreeManager.js:
(WebInspector.DOMTreeManager.prototype._setDocument):
Compare old and new document values before dispatching message.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@213644 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebInspectorUI/ChangeLog
Source/WebInspectorUI/UserInterface/Controllers/DOMTreeManager.js