From 1bf1084f2b10c3b47fd1a588d85d21ed0eb41d0c Mon Sep 17 00:00:00 2001 From: Lorry Tar Creator Date: Tue, 27 Jun 2017 06:07:23 +0000 Subject: webkitgtk-2.16.5 --- Source/WebCore/html/HTMLOptionElement.idl | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'Source/WebCore/html/HTMLOptionElement.idl') 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; }; -- cgit v1.2.1