gecko-dev/devtools
Julian Descottes 2d8239d579 Bug 1346781 - do not attempt to hide highlighters if currentNode is falsy;r=zer0
This commit updates part of the logic changed in Bug 1333714 (e3a0d990896d)
The hide method of the auto refresh highlighters were modified to allow
hide() to be called as long as the highlighter env window was still valid.

This could lead to calling hide on highlighters where show() had not been
previously called, slowing down closing the inspector for no reason.

This changes the hide() method to also bail out in case this.currentNode
is not truthy, which means show() was not called previously.

MozReview-Commit-ID: 4EOgjD6W2QB

--HG--
extra : rebase_source : acfcb14dc2e4098b035de23b1b09212e418cf2de
2017-03-13 22:15:12 +01:00
..
client Merge mozilla-central to autoland 2017-03-14 14:27:38 +01:00
docs Bug 1336715 - Use https://hg.mozilla.org instead of http in devtools comments. r=pbro 2017-02-04 14:45:36 +01:00
server Bug 1346781 - do not attempt to hide highlighters if currentNode is falsy;r=zer0 2017-03-13 22:15:12 +01:00
shared merge mozilla-inbound to mozilla-central a=merge 2017-03-14 14:23:03 +01:00
.eslintrc.js Bug 1322085 - Make devtools/server/actors/*.js eslint-clean. r=ntim 2017-01-16 12:51:00 -05:00
.eslintrc.mochitests.js Bug 1322873 - Bug 1322873 - Add React event bubbles to the Markup View r=miker 2016-12-24 21:41:15 +00:00
.eslintrc.xpcshell.js Bug 1240165 - Expand the eslint rule 'mark-test-function-used' to cover xpcshell tests as well as gecko tests and apply to the whole tree. r=miker 2016-10-26 09:46:40 +01:00
bootstrap.js Backed out changeset 6bc38f188ef2 (bug 1330099) for devtools failures. r=backout 2017-01-11 23:21:56 +01:00
chrome.manifest Bug 1314609 - Fix support of shared devtools locale for the addon workflow. r=jryans 2016-10-27 13:28:31 -07:00
CODE_OF_CONDUCT.md Bug 1315344 - add devtools/CODE_OF_CONDUCT.md; r=jryans,pbro,sole 2016-11-07 14:26:29 -07:00
install.rdf
moz.build Bug 1330325 - add BUG_COMPONENT to devtools/* files. r=jryans 2017-01-13 08:40:35 -05:00
templates.mozbuild