diff --git a/modules/utils.js b/modules/utils.js index 1a4ee1f2..6a5e0de5 100644 --- a/modules/utils.js +++ b/modules/utils.js @@ -852,6 +852,15 @@ var TreeStyleTabUtils = { ).singleNodeValue; }, + isEventFiredOnGrippy : function TSTUtils_isEventFiredOnGrippy(aEvent) + { + return this.evaluateXPath( + 'ancestor-or-self::xul:grippy', + aEvent.originalTarget, + Ci.nsIDOMXPathResult.BOOLEAN_TYPE + ).booleanValue; + }, + getTabFromFrame : function TSTUtils_getTabFromFrame(aFrame, aTabBrowser) { var b = aTabBrowser || this.browser;