Bug 849855 - Expose BaseEventFlags::mMultipleActionsPrevented to chrome JS. r=smaug.

This commit is contained in:
Jonathan Watt 2013-03-12 11:28:17 +00:00
parent 01a5ffd9b3
commit 9af4294ef6
2 changed files with 6 additions and 0 deletions

View File

@ -176,6 +176,11 @@ public:
return d;
}
bool MultipleActionsPrevented()
{
return mEvent->mFlags.mMultipleActionsPrevented;
}
bool IsTrusted()
{
bool i;

View File

@ -78,6 +78,7 @@ partial interface Event {
readonly attribute EventTarget? originalTarget;
readonly attribute EventTarget? explicitOriginalTarget;
[ChromeOnly] readonly attribute boolean multipleActionsPrevented;
void preventBubble();
void preventCapture();