mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 04:45:45 +00:00
2d8239d579
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 |
||
---|---|---|
.. | ||
client | ||
docs | ||
server | ||
shared | ||
.eslintrc.js | ||
.eslintrc.mochitests.js | ||
.eslintrc.xpcshell.js | ||
bootstrap.js | ||
chrome.manifest | ||
CODE_OF_CONDUCT.md | ||
install.rdf | ||
moz.build | ||
templates.mozbuild |