mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 22:32:46 +00:00
Backed out changeset 48188cd36ed1 (bug 1140725) for mochitest failure
This commit is contained in:
parent
f52bd1d07c
commit
63caa61bcb
@ -1524,11 +1524,12 @@ nsContextMenu.prototype = {
|
||||
|
||||
isDisabledForEvents: function(aNode) {
|
||||
let ownerDoc = aNode.ownerDocument;
|
||||
return ownerDoc.defaultView &&
|
||||
ownerDoc.defaultView
|
||||
.QueryInterface(Components.interfaces.nsIInterfaceRequestor)
|
||||
.getInterface(Components.interfaces.nsIDOMWindowUtils)
|
||||
.isNodeDisabledForEvents(aNode);
|
||||
return
|
||||
ownerDoc.defaultView &&
|
||||
ownerDoc.defaultView
|
||||
.QueryInterface(Components.interfaces.nsIInterfaceRequestor)
|
||||
.getInterface(Components.interfaces.nsIDOMWindowUtils)
|
||||
.isNodeDisabledForEvents(aNode);
|
||||
},
|
||||
|
||||
isTargetATextBox: function(node) {
|
||||
|
Loading…
Reference in New Issue
Block a user