Bug 899388 - Part 1: Enable WebIDL XUL interfaces on Chrome or content XBL. r=bz

This commit is contained in:
Masatoshi Kimura 2013-08-09 23:35:53 +09:00
parent 0a89277437
commit c5eefd5afa
4 changed files with 5 additions and 2 deletions

View File

@ -5,7 +5,7 @@
interface MozTreeBoxObject;
interface MozTreeColumn;
[ChromeOnly]
[Func="IsChromeOrXBL"]
interface TreeColumns {
/**
* The tree widget for these columns.

View File

@ -6,7 +6,8 @@
interface WindowProxy;
interface XULCommandEvent : UIEvent
[Func="IsChromeOrXBL"]
interface XULCommandEvent : UIEvent
{
readonly attribute boolean ctrlKey;
readonly attribute boolean shiftKey;

View File

@ -11,6 +11,7 @@ interface XULCommandDispatcher;
interface MozBoxObject;
interface MozObserver;
[Func="IsChromeOrXBL"]
interface XULDocument : Document {
attribute Node? popupNode;

View File

@ -11,6 +11,7 @@ interface MozRDFCompositeDataSource;
interface MozRDFResource;
interface MozXULTemplateBuilder;
[Func="IsChromeOrXBL"]
interface XULElement : Element {
[SetterThrows]
attribute DOMString className;