diff options
author | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
---|---|---|
committer | Lorry Tar Creator <lorry-tar-importer@lorry> | 2017-06-27 06:07:23 +0000 |
commit | 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c (patch) | |
tree | 46dcd36c86e7fbc6e5df36deb463b33e9967a6f7 /Source/WebCore/html/HTMLOptionElement.idl | |
parent | 32761a6cee1d0dee366b885b7b9c777e67885688 (diff) | |
download | WebKitGtk-tarball-master.tar.gz |
webkitgtk-2.16.5HEADwebkitgtk-2.16.5master
Diffstat (limited to 'Source/WebCore/html/HTMLOptionElement.idl')
-rw-r--r-- | Source/WebCore/html/HTMLOptionElement.idl | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/Source/WebCore/html/HTMLOptionElement.idl b/Source/WebCore/html/HTMLOptionElement.idl index eeafa422d..6b71bd485 100644 --- a/Source/WebCore/html/HTMLOptionElement.idl +++ b/Source/WebCore/html/HTMLOptionElement.idl @@ -19,9 +19,9 @@ */ [ + ConstructorMayThrowException, JSGenerateToNativeObject, - NamedConstructor=Option([Default=NullString] optional DOMString data, [Default=NullString] optional DOMString value, [Default=Undefined] optional boolean defaultSelected, [Default=Undefined] optional boolean selected), - ConstructorRaisesException + NamedConstructor=Option(optional DOMString data, optional DOMString value, optional boolean defaultSelected = false, optional boolean selected = false), ] interface HTMLOptionElement : HTMLElement { [Reflect] attribute boolean disabled; readonly attribute HTMLFormElement form; @@ -30,10 +30,6 @@ attribute boolean selected; attribute DOMString value; -#if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT - [SetterRaisesException] attribute DOMString text; -#else - readonly attribute DOMString text; -#endif + [CEReactions] attribute DOMString text; readonly attribute long index; }; |