Use [Func] on HTMLIFrameElement.mozbrowser

This commit is contained in:
Anthony Ramine 2016-05-24 00:56:48 +02:00
parent 34dfc28e98
commit 694deabcd5
3 changed files with 24 additions and 24 deletions

View file

@ -32,8 +32,8 @@ partial interface HTMLIFrameElement {
};
partial interface HTMLIFrameElement {
[ChromeOnly,SetterThrows,Pref="dom.mozbrowser.enabled"]
attribute boolean mozbrowser;
[Func="Window::global_is_mozbrowser"]
attribute boolean mozbrowser;
};
HTMLIFrameElement implements BrowserElement;