Loading
Bug 1732906 - [devtools] Refactor eyedropper show/hide methods. r=ochameau.
With EFT, tests using the eyedropper were failing because of the isXul check done when the eyedropper gets hidden: the document.documentElement property was null at this point and the isXul method was throwing. This patch replace the isXul check with a check on the presence of an abortController property, which we do now set in the `show` method. Differential Revision: https://phabricator.services.mozilla.com/D126808