Commit 16f249f7 authored by haraken@chromium.org's avatar haraken@chromium.org

Rename [DontEnum] IDL to [NotEnumerable] IDL

https://bugs.webkit.org/show_bug.cgi?id=77710

Reviewed by Adam Barth.

[DontEnum] is a negation of [[Enumerable]] in the ECMAScript spec
(8.6.1 of http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf).
This patch renames [DontEnum] to [NotEnumerable].

No tests. No change in behavior.

* bindings/scripts/CodeGeneratorJS.pm:
(GenerateAttributesHashTable):
(GenerateImplementation):
* bindings/scripts/CodeGeneratorV8.pm:
(GenerateSingleBatchedAttribute):
(GenerateImplementation):

* css/WebKitCSSMatrix.idl:
* dom/DOMCoreException.idl:
* dom/Document.idl:
* dom/Element.idl:
* dom/EventException.idl:
* dom/RangeException.idl:
* fileapi/FileException.idl:
* fileapi/OperationNotAllowedException.idl:
* html/DOMTokenList.idl:
* html/HTMLAnchorElement.idl:
* html/HTMLBodyElement.idl:
* html/HTMLFrameSetElement.idl:
* html/HTMLInputElement.idl:
* page/DOMSelection.idl:
* page/DOMWindow.idl:
* page/Location.idl:
* storage/IDBDatabaseException.idl:
* storage/Storage.idl:
* svg/SVGElementInstance.idl:
* svg/SVGException.idl:
* workers/WorkerLocation.idl:
* xml/XMLHttpRequestException.idl:
* xml/XPathException.idl:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@106645 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 849d0ffc
2012-02-03 Kentaro Hara <haraken@chromium.org>
Rename [DontEnum] IDL to [NotEnumerable] IDL
https://bugs.webkit.org/show_bug.cgi?id=77710
Reviewed by Adam Barth.
[DontEnum] is a negation of [[Enumerable]] in the ECMAScript spec
(8.6.1 of http://www.ecma-international.org/publications/files/ECMA-ST/Ecma-262.pdf).
This patch renames [DontEnum] to [NotEnumerable].
No tests. No change in behavior.
* bindings/scripts/CodeGeneratorJS.pm:
(GenerateAttributesHashTable):
(GenerateImplementation):
* bindings/scripts/CodeGeneratorV8.pm:
(GenerateSingleBatchedAttribute):
(GenerateImplementation):
* css/WebKitCSSMatrix.idl:
* dom/DOMCoreException.idl:
* dom/Document.idl:
* dom/Element.idl:
* dom/EventException.idl:
* dom/RangeException.idl:
* fileapi/FileException.idl:
* fileapi/OperationNotAllowedException.idl:
* html/DOMTokenList.idl:
* html/HTMLAnchorElement.idl:
* html/HTMLBodyElement.idl:
* html/HTMLFrameSetElement.idl:
* html/HTMLInputElement.idl:
* page/DOMSelection.idl:
* page/DOMWindow.idl:
* page/Location.idl:
* storage/IDBDatabaseException.idl:
* storage/Storage.idl:
* svg/SVGElementInstance.idl:
* svg/SVGException.idl:
* workers/WorkerLocation.idl:
* xml/XMLHttpRequestException.idl:
* xml/XPathException.idl:
2012-02-03 Kentaro Hara <haraken@chromium.org>
Rename [InitializedByConstructor] IDL to [InitializedByEventConstructor] IDL
......@@ -1169,7 +1169,7 @@ sub GenerateAttributesHashTable($$)
my @specials = ();
push(@specials, "DontDelete") unless $attribute->signature->extendedAttributes->{"Deletable"};
push(@specials, "DontEnum") if $attribute->signature->extendedAttributes->{"DontEnum"};
push(@specials, "DontEnum") if $attribute->signature->extendedAttributes->{"NotEnumerable"};
push(@specials, "ReadOnly") if $attribute->type =~ /readonly/;
my $special = (@specials > 0) ? join(" | ", @specials) : "0";
push(@hashSpecials, $special);
......@@ -1396,7 +1396,7 @@ sub GenerateImplementation
my @specials = ();
push(@specials, "DontDelete") unless $function->signature->extendedAttributes->{"Deletable"};
push(@specials, "DontEnum") if $function->signature->extendedAttributes->{"DontEnum"};
push(@specials, "DontEnum") if $function->signature->extendedAttributes->{"NotEnumerable"};
push(@specials, "JSC::Function");
my $special = (@specials > 0) ? join(" | ", @specials) : "0";
push(@hashSpecials, $special);
......@@ -1460,7 +1460,7 @@ sub GenerateImplementation
my @specials = ();
push(@specials, "DontDelete") unless $function->signature->extendedAttributes->{"Deletable"};
push(@specials, "DontEnum") if $function->signature->extendedAttributes->{"DontEnum"};
push(@specials, "DontEnum") if $function->signature->extendedAttributes->{"NotEnumerable"};
push(@specials, "JSC::Function");
my $special = (@specials > 0) ? join(" | ", @specials) : "0";
push(@hashSpecials, $special);
......
......@@ -1959,7 +1959,7 @@ sub GenerateSingleBatchedAttribute
my $hasCustomSetter = 0;
# Check attributes.
if ($attrExt->{"DontEnum"}) {
if ($attrExt->{"NotEnumerable"}) {
$propAttr .= " | v8::DontEnum";
}
if ($attrExt->{"V8Unforgeable"}) {
......@@ -2393,7 +2393,7 @@ sub GenerateImplementation
($dataNode->extendedAttributes->{"CheckDomainSecurity"} || $interfaceName eq "DOMWindow")) {
next;
}
if ($attrExt->{"DontEnum"} || $attrExt->{"V8ReadOnly"}) {
if ($attrExt->{"NotEnumerable"} || $attrExt->{"V8ReadOnly"}) {
next;
}
if (!$has_callbacks) {
......@@ -2589,7 +2589,7 @@ END
my $name = $function->signature->name;
my $property_attributes = "v8::DontDelete";
if ($attrExt->{"DontEnum"}) {
if ($attrExt->{"NotEnumerable"}) {
$property_attributes .= " | v8::DontEnum";
}
if ($attrExt->{"V8ReadOnly"}) {
......
......@@ -101,7 +101,7 @@ module css {
// Passing a NaN will use a value of 0.
[Immutable] WebKitCSSMatrix skewY(in [Optional=CallWithDefaultValue] double angle);
[DontEnum] DOMString toString();
[NotEnumerable] DOMString toString();
};
}
......@@ -39,7 +39,7 @@ module core {
#if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
// Override in a Mozilla compatible format
[DontEnum] DOMString toString();
[NotEnumerable] DOMString toString();
#endif
// ExceptionCode
......
......@@ -251,77 +251,77 @@ module core {
#if !defined(LANGUAGE_OBJECTIVE_C) || !LANGUAGE_OBJECTIVE_C
// Event handler DOM attributes
attribute [DontEnum] EventListener onabort;
attribute [DontEnum] EventListener onblur;
attribute [DontEnum] EventListener onchange;
attribute [DontEnum] EventListener onclick;
attribute [DontEnum] EventListener oncontextmenu;
attribute [DontEnum] EventListener ondblclick;
attribute [DontEnum] EventListener ondrag;
attribute [DontEnum] EventListener ondragend;
attribute [DontEnum] EventListener ondragenter;
attribute [DontEnum] EventListener ondragleave;
attribute [DontEnum] EventListener ondragover;
attribute [DontEnum] EventListener ondragstart;
attribute [DontEnum] EventListener ondrop;
attribute [DontEnum] EventListener onerror;
attribute [DontEnum] EventListener onfocus;
attribute [DontEnum] EventListener oninput;
attribute [DontEnum] EventListener oninvalid;
attribute [DontEnum] EventListener onkeydown;
attribute [DontEnum] EventListener onkeypress;
attribute [DontEnum] EventListener onkeyup;
attribute [DontEnum] EventListener onload;
attribute [DontEnum] EventListener onmousedown;
attribute [DontEnum] EventListener onmousemove;
attribute [DontEnum] EventListener onmouseout;
attribute [DontEnum] EventListener onmouseover;
attribute [DontEnum] EventListener onmouseup;
attribute [DontEnum] EventListener onmousewheel;
attribute [DontEnum] EventListener onreadystatechange;
attribute [DontEnum] EventListener onscroll;
attribute [DontEnum] EventListener onselect;
attribute [DontEnum] EventListener onsubmit;
// attribute [DontEnum] EventListener oncanplay;
// attribute [DontEnum] EventListener oncanplaythrough;
// attribute [DontEnum] EventListener ondurationchange;
// attribute [DontEnum] EventListener onemptied;
// attribute [DontEnum] EventListener onended;
// attribute [DontEnum] EventListener onloadeddata;
// attribute [DontEnum] EventListener onloadedmetadata;
// attribute [DontEnum] EventListener onloadstart;
// attribute [DontEnum] EventListener onpause;
// attribute [DontEnum] EventListener onplay;
// attribute [DontEnum] EventListener onplaying;
// attribute [DontEnum] EventListener onprogress;
// attribute [DontEnum] EventListener onratechange;
// attribute [DontEnum] EventListener onseeked;
// attribute [DontEnum] EventListener onseeking;
// attribute [DontEnum] EventListener onshow;
// attribute [DontEnum] EventListener onstalled;
// attribute [DontEnum] EventListener onsuspend;
// attribute [DontEnum] EventListener ontimeupdate;
// attribute [DontEnum] EventListener onvolumechange;
// attribute [DontEnum] EventListener onwaiting;
attribute [NotEnumerable] EventListener onabort;
attribute [NotEnumerable] EventListener onblur;
attribute [NotEnumerable] EventListener onchange;
attribute [NotEnumerable] EventListener onclick;
attribute [NotEnumerable] EventListener oncontextmenu;
attribute [NotEnumerable] EventListener ondblclick;
attribute [NotEnumerable] EventListener ondrag;
attribute [NotEnumerable] EventListener ondragend;
attribute [NotEnumerable] EventListener ondragenter;
attribute [NotEnumerable] EventListener ondragleave;
attribute [NotEnumerable] EventListener ondragover;
attribute [NotEnumerable] EventListener ondragstart;
attribute [NotEnumerable] EventListener ondrop;
attribute [NotEnumerable] EventListener onerror;
attribute [NotEnumerable] EventListener onfocus;
attribute [NotEnumerable] EventListener oninput;
attribute [NotEnumerable] EventListener oninvalid;
attribute [NotEnumerable] EventListener onkeydown;
attribute [NotEnumerable] EventListener onkeypress;
attribute [NotEnumerable] EventListener onkeyup;
attribute [NotEnumerable] EventListener onload;
attribute [NotEnumerable] EventListener onmousedown;
attribute [NotEnumerable] EventListener onmousemove;
attribute [NotEnumerable] EventListener onmouseout;
attribute [NotEnumerable] EventListener onmouseover;
attribute [NotEnumerable] EventListener onmouseup;
attribute [NotEnumerable] EventListener onmousewheel;
attribute [NotEnumerable] EventListener onreadystatechange;
attribute [NotEnumerable] EventListener onscroll;
attribute [NotEnumerable] EventListener onselect;
attribute [NotEnumerable] EventListener onsubmit;
// attribute [NotEnumerable] EventListener oncanplay;
// attribute [NotEnumerable] EventListener oncanplaythrough;
// attribute [NotEnumerable] EventListener ondurationchange;
// attribute [NotEnumerable] EventListener onemptied;
// attribute [NotEnumerable] EventListener onended;
// attribute [NotEnumerable] EventListener onloadeddata;
// attribute [NotEnumerable] EventListener onloadedmetadata;
// attribute [NotEnumerable] EventListener onloadstart;
// attribute [NotEnumerable] EventListener onpause;
// attribute [NotEnumerable] EventListener onplay;
// attribute [NotEnumerable] EventListener onplaying;
// attribute [NotEnumerable] EventListener onprogress;
// attribute [NotEnumerable] EventListener onratechange;
// attribute [NotEnumerable] EventListener onseeked;
// attribute [NotEnumerable] EventListener onseeking;
// attribute [NotEnumerable] EventListener onshow;
// attribute [NotEnumerable] EventListener onstalled;
// attribute [NotEnumerable] EventListener onsuspend;
// attribute [NotEnumerable] EventListener ontimeupdate;
// attribute [NotEnumerable] EventListener onvolumechange;
// attribute [NotEnumerable] EventListener onwaiting;
// WebKit extensions
attribute [DontEnum] EventListener onbeforecut;
attribute [DontEnum] EventListener oncut;
attribute [DontEnum] EventListener onbeforecopy;
attribute [DontEnum] EventListener oncopy;
attribute [DontEnum] EventListener onbeforepaste;
attribute [DontEnum] EventListener onpaste;
attribute [DontEnum] EventListener onreset;
attribute [DontEnum] EventListener onsearch;
attribute [DontEnum] EventListener onselectstart;
attribute [DontEnum] EventListener onselectionchange;
attribute [DontEnum,Conditional=TOUCH_EVENTS,EnabledAtRuntime] EventListener ontouchstart;
attribute [DontEnum,Conditional=TOUCH_EVENTS,EnabledAtRuntime] EventListener ontouchmove;
attribute [DontEnum,Conditional=TOUCH_EVENTS,EnabledAtRuntime] EventListener ontouchend;
attribute [DontEnum,Conditional=TOUCH_EVENTS,EnabledAtRuntime] EventListener ontouchcancel;
attribute [DontEnum, Conditional=FULLSCREEN_API] EventListener onwebkitfullscreenchange;
attribute [DontEnum, Conditional=FULLSCREEN_API] EventListener onwebkitfullscreenerror;
attribute [NotEnumerable] EventListener onbeforecut;
attribute [NotEnumerable] EventListener oncut;
attribute [NotEnumerable] EventListener onbeforecopy;
attribute [NotEnumerable] EventListener oncopy;
attribute [NotEnumerable] EventListener onbeforepaste;
attribute [NotEnumerable] EventListener onpaste;
attribute [NotEnumerable] EventListener onreset;
attribute [NotEnumerable] EventListener onsearch;
attribute [NotEnumerable] EventListener onselectstart;
attribute [NotEnumerable] EventListener onselectionchange;
attribute [NotEnumerable,Conditional=TOUCH_EVENTS,EnabledAtRuntime] EventListener ontouchstart;
attribute [NotEnumerable,Conditional=TOUCH_EVENTS,EnabledAtRuntime] EventListener ontouchmove;
attribute [NotEnumerable,Conditional=TOUCH_EVENTS,EnabledAtRuntime] EventListener ontouchend;
attribute [NotEnumerable,Conditional=TOUCH_EVENTS,EnabledAtRuntime] EventListener ontouchcancel;
attribute [NotEnumerable, Conditional=FULLSCREEN_API] EventListener onwebkitfullscreenchange;
attribute [NotEnumerable, Conditional=FULLSCREEN_API] EventListener onwebkitfullscreenerror;
#endif
#if defined(ENABLE_TOUCH_EVENTS) && ENABLE_TOUCH_EVENTS
......
......@@ -135,76 +135,76 @@ module core {
#if !defined(LANGUAGE_OBJECTIVE_C) || !LANGUAGE_OBJECTIVE_C
// Event handler DOM attributes
attribute [DontEnum] EventListener onabort;
attribute [DontEnum] EventListener onblur;
attribute [DontEnum] EventListener onchange;
attribute [DontEnum] EventListener onclick;
attribute [DontEnum] EventListener oncontextmenu;
attribute [DontEnum] EventListener ondblclick;
attribute [DontEnum] EventListener ondrag;
attribute [DontEnum] EventListener ondragend;
attribute [DontEnum] EventListener ondragenter;
attribute [DontEnum] EventListener ondragleave;
attribute [DontEnum] EventListener ondragover;
attribute [DontEnum] EventListener ondragstart;
attribute [DontEnum] EventListener ondrop;
attribute [DontEnum] EventListener onerror;
attribute [DontEnum] EventListener onfocus;
attribute [DontEnum] EventListener oninput;
attribute [DontEnum] EventListener oninvalid;
attribute [DontEnum] EventListener onkeydown;
attribute [DontEnum] EventListener onkeypress;
attribute [DontEnum] EventListener onkeyup;
attribute [DontEnum] EventListener onload;
attribute [DontEnum] EventListener onmousedown;
attribute [DontEnum] EventListener onmousemove;
attribute [DontEnum] EventListener onmouseout;
attribute [DontEnum] EventListener onmouseover;
attribute [DontEnum] EventListener onmouseup;
attribute [DontEnum] EventListener onmousewheel;
attribute [DontEnum] EventListener onscroll;
attribute [DontEnum] EventListener onselect;
attribute [DontEnum] EventListener onsubmit;
// attribute [DontEnum] EventListener oncanplay;
// attribute [DontEnum] EventListener oncanplaythrough;
// attribute [DontEnum] EventListener ondurationchange;
// attribute [DontEnum] EventListener onemptied;
// attribute [DontEnum] EventListener onended;
// attribute [DontEnum] EventListener onloadeddata;
// attribute [DontEnum] EventListener onloadedmetadata;
// attribute [DontEnum] EventListener onloadstart;
// attribute [DontEnum] EventListener onpause;
// attribute [DontEnum] EventListener onplay;
// attribute [DontEnum] EventListener onplaying;
// attribute [DontEnum] EventListener onprogress;
// attribute [DontEnum] EventListener onratechange;
// attribute [DontEnum] EventListener onreadystatechange;
// attribute [DontEnum] EventListener onseeked;
// attribute [DontEnum] EventListener onseeking;
// attribute [DontEnum] EventListener onshow;
// attribute [DontEnum] EventListener onstalled;
// attribute [DontEnum] EventListener onsuspend;
// attribute [DontEnum] EventListener ontimeupdate;
// attribute [DontEnum] EventListener onvolumechange;
// attribute [DontEnum] EventListener onwaiting;
attribute [NotEnumerable] EventListener onabort;
attribute [NotEnumerable] EventListener onblur;
attribute [NotEnumerable] EventListener onchange;
attribute [NotEnumerable] EventListener onclick;
attribute [NotEnumerable] EventListener oncontextmenu;
attribute [NotEnumerable] EventListener ondblclick;
attribute [NotEnumerable] EventListener ondrag;
attribute [NotEnumerable] EventListener ondragend;
attribute [NotEnumerable] EventListener ondragenter;
attribute [NotEnumerable] EventListener ondragleave;
attribute [NotEnumerable] EventListener ondragover;
attribute [NotEnumerable] EventListener ondragstart;
attribute [NotEnumerable] EventListener ondrop;
attribute [NotEnumerable] EventListener onerror;
attribute [NotEnumerable] EventListener onfocus;
attribute [NotEnumerable] EventListener oninput;
attribute [NotEnumerable] EventListener oninvalid;
attribute [NotEnumerable] EventListener onkeydown;
attribute [NotEnumerable] EventListener onkeypress;
attribute [NotEnumerable] EventListener onkeyup;
attribute [NotEnumerable] EventListener onload;
attribute [NotEnumerable] EventListener onmousedown;
attribute [NotEnumerable] EventListener onmousemove;
attribute [NotEnumerable] EventListener onmouseout;
attribute [NotEnumerable] EventListener onmouseover;
attribute [NotEnumerable] EventListener onmouseup;
attribute [NotEnumerable] EventListener onmousewheel;
attribute [NotEnumerable] EventListener onscroll;
attribute [NotEnumerable] EventListener onselect;
attribute [NotEnumerable] EventListener onsubmit;
// attribute [NotEnumerable] EventListener oncanplay;
// attribute [NotEnumerable] EventListener oncanplaythrough;
// attribute [NotEnumerable] EventListener ondurationchange;
// attribute [NotEnumerable] EventListener onemptied;
// attribute [NotEnumerable] EventListener onended;
// attribute [NotEnumerable] EventListener onloadeddata;
// attribute [NotEnumerable] EventListener onloadedmetadata;
// attribute [NotEnumerable] EventListener onloadstart;
// attribute [NotEnumerable] EventListener onpause;
// attribute [NotEnumerable] EventListener onplay;
// attribute [NotEnumerable] EventListener onplaying;
// attribute [NotEnumerable] EventListener onprogress;
// attribute [NotEnumerable] EventListener onratechange;
// attribute [NotEnumerable] EventListener onreadystatechange;
// attribute [NotEnumerable] EventListener onseeked;
// attribute [NotEnumerable] EventListener onseeking;
// attribute [NotEnumerable] EventListener onshow;
// attribute [NotEnumerable] EventListener onstalled;
// attribute [NotEnumerable] EventListener onsuspend;
// attribute [NotEnumerable] EventListener ontimeupdate;
// attribute [NotEnumerable] EventListener onvolumechange;
// attribute [NotEnumerable] EventListener onwaiting;
// WebKit extensions
attribute [DontEnum] EventListener onbeforecut;
attribute [DontEnum] EventListener oncut;
attribute [DontEnum] EventListener onbeforecopy;
attribute [DontEnum] EventListener oncopy;
attribute [DontEnum] EventListener onbeforepaste;
attribute [DontEnum] EventListener onpaste;
attribute [DontEnum] EventListener onreset;
attribute [DontEnum] EventListener onsearch;
attribute [DontEnum] EventListener onselectstart;
attribute [DontEnum,Conditional=TOUCH_EVENTS,EnabledAtRuntime] EventListener ontouchstart;
attribute [DontEnum,Conditional=TOUCH_EVENTS,EnabledAtRuntime] EventListener ontouchmove;
attribute [DontEnum,Conditional=TOUCH_EVENTS,EnabledAtRuntime] EventListener ontouchend;
attribute [DontEnum,Conditional=TOUCH_EVENTS,EnabledAtRuntime] EventListener ontouchcancel;
attribute [DontEnum, Conditional=FULLSCREEN_API] EventListener onwebkitfullscreenchange;
attribute [DontEnum, Conditional=FULLSCREEN_API] EventListener onwebkitfullscreenerror;
attribute [NotEnumerable] EventListener onbeforecut;
attribute [NotEnumerable] EventListener oncut;
attribute [NotEnumerable] EventListener onbeforecopy;
attribute [NotEnumerable] EventListener oncopy;
attribute [NotEnumerable] EventListener onbeforepaste;
attribute [NotEnumerable] EventListener onpaste;
attribute [NotEnumerable] EventListener onreset;
attribute [NotEnumerable] EventListener onsearch;
attribute [NotEnumerable] EventListener onselectstart;
attribute [NotEnumerable,Conditional=TOUCH_EVENTS,EnabledAtRuntime] EventListener ontouchstart;
attribute [NotEnumerable,Conditional=TOUCH_EVENTS,EnabledAtRuntime] EventListener ontouchmove;
attribute [NotEnumerable,Conditional=TOUCH_EVENTS,EnabledAtRuntime] EventListener ontouchend;
attribute [NotEnumerable,Conditional=TOUCH_EVENTS,EnabledAtRuntime] EventListener ontouchcancel;
attribute [NotEnumerable, Conditional=FULLSCREEN_API] EventListener onwebkitfullscreenchange;
attribute [NotEnumerable, Conditional=FULLSCREEN_API] EventListener onwebkitfullscreenerror;
#endif
};
......
......@@ -40,7 +40,7 @@ module events {
#if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
// Override in a Mozilla compatible format
[DontEnum] DOMString toString();
[NotEnumerable] DOMString toString();
#endif
// EventExceptionCode
......
......@@ -28,7 +28,7 @@ module ranges {
readonly attribute DOMString message;
#if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
[DontEnum] DOMString toString();
[NotEnumerable] DOMString toString();
#endif
// DOM Level 2
......
......@@ -41,7 +41,7 @@ module html {
#if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
// Override in a Mozilla compatible format
[DontEnum] DOMString toString();
[NotEnumerable] DOMString toString();
#endif
// FileExceptionCode
......
......@@ -40,7 +40,7 @@ module html {
#if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
// Override in a Mozilla compatible format
[DontEnum] DOMString toString();
[NotEnumerable] DOMString toString();
#endif
const unsigned short NOT_ALLOWED_ERR = 1;
......
......@@ -36,7 +36,7 @@ module core {
boolean toggle(in DOMString token) raises(DOMException);
#if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
[DontEnum] DOMString toString();
[NotEnumerable] DOMString toString();
#endif
};
......
......@@ -57,7 +57,7 @@ module html {
readonly attribute DOMString text;
#if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
[DontEnum] DOMString toString();
[NotEnumerable] DOMString toString();
#endif
#if defined(LANGUAGE_OBJECTIVE_C) && LANGUAGE_OBJECTIVE_C
......
......@@ -30,29 +30,29 @@ module html {
#if !defined(LANGUAGE_OBJECTIVE_C) || !LANGUAGE_OBJECTIVE_C
// Event handler attributes
attribute [DontEnum, WindowEventListener] EventListener onbeforeunload;
attribute [DontEnum, WindowEventListener] EventListener onhashchange;
attribute [DontEnum, WindowEventListener] EventListener onmessage;
attribute [DontEnum, WindowEventListener] EventListener onoffline;
attribute [DontEnum, WindowEventListener] EventListener ononline;
attribute [DontEnum, WindowEventListener] EventListener onpopstate;
attribute [DontEnum, WindowEventListener] EventListener onresize;
attribute [DontEnum, WindowEventListener] EventListener onstorage;
attribute [DontEnum, WindowEventListener] EventListener onunload;
attribute [NotEnumerable, WindowEventListener] EventListener onbeforeunload;
attribute [NotEnumerable, WindowEventListener] EventListener onhashchange;
attribute [NotEnumerable, WindowEventListener] EventListener onmessage;
attribute [NotEnumerable, WindowEventListener] EventListener onoffline;
attribute [NotEnumerable, WindowEventListener] EventListener ononline;
attribute [NotEnumerable, WindowEventListener] EventListener onpopstate;
attribute [NotEnumerable, WindowEventListener] EventListener onresize;
attribute [NotEnumerable, WindowEventListener] EventListener onstorage;
attribute [NotEnumerable, WindowEventListener] EventListener onunload;
attribute [Conditional=ORIENTATION_EVENTS, DontEnum, WindowEventListener] EventListener onorientationchange;
attribute [Conditional=ORIENTATION_EVENTS, NotEnumerable, WindowEventListener] EventListener onorientationchange;
// Overrides of Element attributes (with different implementation in bindings).
attribute [DontEnum, WindowEventListener] EventListener onblur;
attribute [DontEnum, WindowEventListener] EventListener onerror;
attribute [DontEnum, WindowEventListener] EventListener onfocus;
attribute [DontEnum, WindowEventListener] EventListener onload;
attribute [NotEnumerable, WindowEventListener] EventListener onblur;
attribute [NotEnumerable, WindowEventListener] EventListener onerror;
attribute [NotEnumerable, WindowEventListener] EventListener onfocus;
attribute [NotEnumerable, WindowEventListener] EventListener onload;
// Not implemented yet.
// attribute [DontEnum, WindowEventListener] EventListener onafterprint;
// attribute [DontEnum, WindowEventListener] EventListener onbeforeprint;
// attribute [DontEnum, WindowEventListener] EventListener onredo;
// attribute [DontEnum, WindowEventListener] EventListener onundo;
// attribute [NotEnumerable, WindowEventListener] EventListener onafterprint;
// attribute [NotEnumerable, WindowEventListener] EventListener onbeforeprint;
// attribute [NotEnumerable, WindowEventListener] EventListener onredo;
// attribute [NotEnumerable, WindowEventListener] EventListener onundo;
#endif
};
......
......@@ -28,29 +28,29 @@ module html {
#if !defined(LANGUAGE_OBJECTIVE_C) || !LANGUAGE_OBJECTIVE_C
// Event handler attributes
attribute [DontEnum, WindowEventListener] EventListener onbeforeunload;
attribute [DontEnum, WindowEventListener] EventListener onhashchange;
attribute [DontEnum, WindowEventListener] EventListener onmessage;
attribute [DontEnum, WindowEventListener] EventListener onoffline;
attribute [DontEnum, WindowEventListener] EventListener ononline;
attribute [DontEnum, WindowEventListener] EventListener onpopstate;
attribute [DontEnum, WindowEventListener] EventListener onresize;
attribute [DontEnum, WindowEventListener] EventListener onstorage;
attribute [DontEnum, WindowEventListener] EventListener onunload;
attribute [NotEnumerable, WindowEventListener] EventListener onbeforeunload;
attribute [NotEnumerable, WindowEventListener] EventListener onhashchange;
attribute [NotEnumerable, WindowEventListener] EventListener onmessage;
attribute [NotEnumerable, WindowEventListener] EventListener onoffline;
attribute [NotEnumerable, WindowEventListener] EventListener ononline;
attribute [NotEnumerable, WindowEventListener] EventListener onpopstate;
attribute [NotEnumerable, WindowEventListener] EventListener onresize;
attribute [NotEnumerable, WindowEventListener] EventListener onstorage;
attribute [NotEnumerable, WindowEventListener] EventListener onunload;
attribute [Conditional=ORIENTATION_EVENTS, DontEnum] EventListener onorientationchange;
attribute [Conditional=ORIENTATION_EVENTS, NotEnumerable] EventListener onorientationchange;
// Overrides of Element attributes (with different implementation in bindings).
attribute [DontEnum, WindowEventListener] EventListener onblur;
attribute [DontEnum, WindowEventListener] EventListener onerror;
attribute [DontEnum, WindowEventListener] EventListener onfocus;
attribute [DontEnum, WindowEventListener] EventListener onload;
attribute [NotEnumerable, WindowEventListener] EventListener onblur;
attribute [NotEnumerable, WindowEventListener] EventListener onerror;
attribute [NotEnumerable, WindowEventListener] EventListener onfocus;
attribute [NotEnumerable, WindowEventListener] EventListener onload;
// Not implemented yet.
// attribute [DontEnum, WindowEventListener] EventListener onafterprint;
// attribute [DontEnum, WindowEventListener] EventListener onbeforeprint;
// attribute [DontEnum, WindowEventListener] EventListener onredo;