Bug 1443937 - Make the autoscroll popup explicitly consume outside clicks.
MozReview-Commit-ID: 2CPDMTK7wjV
--- a/toolkit/content/widgets/browser.xml
+++ b/toolkit/content/widgets/browser.xml
@@ -1295,16 +1295,17 @@
<body>
<![CDATA[
const XUL_NS = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul";
var popup = document.createElementNS(XUL_NS, "panel");
popup.className = "autoscroller";
// We set this attribute on the element so that mousemove
// events can be handled by browser-content.js.
popup.setAttribute("mousethrough", "always");
+ popup.setAttribute("consumeoutsideclicks", "true");
popup.setAttribute("rolluponmousewheel", "true");
popup.setAttribute("hidden", "true");
return popup;
]]>
</body>
</method>
<method name="startScroll">