Changeset 106883 in webkit
- Timestamp:
- Feb 6, 2012 5:33:27 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 54 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r106882 r106883 1 2012-02-05 Kentaro Hara <haraken@chromium.org> 2 3 Rename [DontCheckEnums], [ReturnsNew], [DoNotCheckDomainSecurityOnGet], 4 [DoNotCheckDomainSecurityOnSet] and [ImplementationFunction] IDLs 5 https://bugs.webkit.org/show_bug.cgi?id=77852 6 7 Reviewed by Adam Barth. 8 9 This patch renames [DontCheckEnums], [ReturnsNew], [DoNotCheckDomainSecurityOnGet], 10 [DoNotCheckDomainSecurityOnSet] and [ImplementationFunction] IDLs for clarification. 11 12 [DontCheckEnums] => [DoNotCheckConstants] (This IDL inserts assertions to check if a 13 constant value is equal to the expected constant value) 14 [ReturnsNew] => [ReturnNewObject] (For clarification) 15 [DoNotCheckDomainSecurityOnGet] => [DoNotCheckDomainSecurityOnGetter] (For naming consistency 16 with other [*Getter] IDLs) 17 [DoNotCheckDomainSecurityOnSet] => [DoNotCheckDomainSecurityOnSetter] (For naming consistency 18 with other [*Setter] IDLs) 19 [ImplementationFunction=] => [ImplementedAs=] (For clarification. This IDL specifies a method 20 name in implementation) 21 22 No tests. No change in behavior. 23 24 * bindings/scripts/CodeGenerator.pm: 25 (ShouldCheckEnums): 26 (GenerateCompileTimeCheckForEnumsIfNeeded): 27 * bindings/scripts/CodeGeneratorJS.pm: 28 (GenerateHeader): 29 (GenerateImplementation): 30 (NativeToJSValue): 31 * bindings/scripts/CodeGeneratorV8.pm: 32 (GenerateSingleBatchedAttribute): 33 (GenerateFunctionCallString): 34 (NativeToJSValue): 35 36 * bindings/scripts/test/TestObj.idl: 37 * bindings/scripts/test/TestTypedArray.idl: 38 39 * bindings/scripts/test/JS/JSTestInterface.cpp: Updated run-bindings-tests results. 40 (WebCore): 41 * bindings/scripts/test/JS/JSTestObj.cpp: Ditto. 42 (WebCore): 43 * bindings/scripts/test/V8/V8TestInterface.cpp: Ditto. 44 (WebCore): 45 * bindings/scripts/test/V8/V8TestObj.cpp: Ditto. 46 (WebCore): 47 48 * bindings/scripts/test/TestObj.idl: 49 * bindings/scripts/test/TestTypedArray.idl: 50 * css/WebKitCSSFilterValue.idl: 51 * css/WebKitCSSTransformValue.idl: 52 * dom/DOMCoreException.idl: 53 * dom/Document.idl: 54 * dom/EventException.idl: 55 * dom/RangeException.idl: 56 * fileapi/FileException.idl: 57 * fileapi/OperationNotAllowedException.idl: 58 * html/HTMLFormElement.idl: 59 * html/canvas/Float32Array.idl: 60 * html/canvas/Float64Array.idl: 61 * html/canvas/Int16Array.idl: 62 * html/canvas/Int32Array.idl: 63 * html/canvas/Int8Array.idl: 64 * html/canvas/OESStandardDerivatives.idl: 65 * html/canvas/OESVertexArrayObject.idl: 66 * html/canvas/Uint16Array.idl: 67 * html/canvas/Uint32Array.idl: 68 * html/canvas/Uint8Array.idl: 69 * html/canvas/Uint8ClampedArray.idl: 70 * html/canvas/WebGLCompressedTextures.idl: 71 * html/canvas/WebGLDebugRendererInfo.idl: 72 * html/canvas/WebGLRenderingContext.idl: 73 * inspector/JavaScriptCallFrame.idl: 74 * loader/appcache/DOMApplicationCache.idl: 75 * page/Console.idl: 76 * page/DOMWindow.idl: 77 * page/Location.idl: 78 * storage/IDBCursor.idl: 79 * storage/IDBDatabaseException.idl: 80 * storage/IDBObjectStore.idl: 81 * storage/SQLException.idl: 82 * svg/SVGComponentTransferFunctionElement.idl: 83 * svg/SVGException.idl: 84 * svg/SVGFEBlendElement.idl: 85 * svg/SVGFEColorMatrixElement.idl: 86 * svg/SVGFECompositeElement.idl: 87 * svg/SVGFEConvolveMatrixElement.idl: 88 * svg/SVGFEDisplacementMapElement.idl: 89 * svg/SVGFEMorphologyElement.idl: 90 * svg/SVGFETurbulenceElement.idl: 91 * svg/SVGGradientElement.idl: 92 * xml/XMLHttpRequestException.idl: 93 1 94 2012-02-06 Stephen Chenney <schenney@chromium.org> 2 95 -
trunk/Source/WebCore/bindings/scripts/CodeGenerator.pm
r106528 r106883 590 590 { 591 591 my $dataNode = shift; 592 return not $dataNode->extendedAttributes->{"Do ntCheckEnums"};592 return not $dataNode->extendedAttributes->{"DoNotCheckConstants"}; 593 593 } 594 594 … … 628 628 } 629 629 630 push(@checks, "COMPILE_ASSERT($value == ${interfaceName}::$name, ${interfaceName}Enum${name}IsWrongUseDo ntCheckEnums);\n");630 push(@checks, "COMPILE_ASSERT($value == ${interfaceName}::$name, ${interfaceName}Enum${name}IsWrongUseDoNotCheckConstants);\n"); 631 631 632 632 if ($conditional) { -
trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm
r106798 r106883 892 892 next unless $function->signature->extendedAttributes->{"Custom"} or $function->signature->extendedAttributes->{"JSCustom"}; 893 893 next if $function->{overloads} && $function->{overloadIndex} != 1; 894 my $functionImplementationName = $function->signature->extendedAttributes->{"Implement ationFunction"} || $codeGenerator->WK_lcfirst($function->signature->name);894 my $functionImplementationName = $function->signature->extendedAttributes->{"ImplementedAs"} || $codeGenerator->WK_lcfirst($function->signature->name); 895 895 push(@headerContent, " JSC::JSValue " . $functionImplementationName . "(JSC::ExecState*);\n"); 896 896 } … … 1685 1685 if ($dataNode->extendedAttributes->{"CheckDomainSecurity"} && 1686 1686 !$attribute->signature->extendedAttributes->{"DoNotCheckDomainSecurity"} && 1687 !$attribute->signature->extendedAttributes->{"DoNotCheckDomainSecurityOnGet "}) {1687 !$attribute->signature->extendedAttributes->{"DoNotCheckDomainSecurityOnGetter"}) { 1688 1688 push(@implContent, " if (!castedThis->allowsAccessFrom(exec))\n"); 1689 1689 push(@implContent, " return jsUndefined();\n"); … … 2075 2075 } 2076 2076 2077 my $functionImplementationName = $function->signature->extendedAttributes->{"Implement ationFunction"} || $codeGenerator->WK_lcfirst($function->signature->name);2077 my $functionImplementationName = $function->signature->extendedAttributes->{"ImplementedAs"} || $codeGenerator->WK_lcfirst($function->signature->name); 2078 2078 2079 2079 push(@implContent, "EncodedJSValue JSC_HOST_CALL ${functionName}(ExecState* exec)\n"); … … 2993 2993 return $value if $codeGenerator->IsSVGAnimatedType($type); 2994 2994 2995 if ($signature->extendedAttributes->{"Return sNew"}) {2995 if ($signature->extendedAttributes->{"ReturnNewObject"}) { 2996 2996 return "toJSNewlyCreated(exec, $globalObject, WTF::getPtr($value))"; 2997 2997 } -
trunk/Source/WebCore/bindings/scripts/CodeGeneratorV8.pm
r106827 r106883 1933 1933 1934 1934 my $accessControl = "v8::DEFAULT"; 1935 if ($attrExt->{"DoNotCheckDomainSecurityOnGet "}) {1935 if ($attrExt->{"DoNotCheckDomainSecurityOnGetter"}) { 1936 1936 $accessControl = "v8::ALL_CAN_READ"; 1937 } elsif ($attrExt->{"DoNotCheckDomainSecurityOnSet "}) {1937 } elsif ($attrExt->{"DoNotCheckDomainSecurityOnSetter"}) { 1938 1938 $accessControl = "v8::ALL_CAN_WRITE"; 1939 1939 } elsif ($attrExt->{"DoNotCheckDomainSecurity"}) { … … 3185 3185 $nativeReturnType = $codeGenerator->GetSVGWrappedTypeNeedingTearOff($returnType) if $isSVGTearOffType; 3186 3186 3187 if ($function->signature->extendedAttributes->{"Implement ationFunction"}) {3188 $name = $function->signature->extendedAttributes->{"Implement ationFunction"};3187 if ($function->signature->extendedAttributes->{"ImplementedAs"}) { 3188 $name = $function->signature->extendedAttributes->{"ImplementedAs"}; 3189 3189 } 3190 3190 … … 3739 3739 # special case for non-DOM node interfaces 3740 3740 if (IsDOMNodeType($type)) { 3741 return "toV8(${value}" . ($signature->extendedAttributes->{"Return sNew"} ? ", true)" : ")");3741 return "toV8(${value}" . ($signature->extendedAttributes->{"ReturnNewObject"} ? ", true)" : ")"); 3742 3742 } 3743 3743 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestInterface.cpp
r106140 r106883 81 81 82 82 #if ENABLE(Condition11) || ENABLE(Condition12) 83 COMPILE_ASSERT(1 == TestInterface::SUPPLEMENTALCONSTANT1, TestInterfaceEnumSUPPLEMENTALCONSTANT1IsWrongUseDo ntCheckEnums);84 #endif 85 #if ENABLE(Condition11) || ENABLE(Condition12) 86 COMPILE_ASSERT(2 == TestInterface::CONST_IMPL, TestInterfaceEnumCONST_IMPLIsWrongUseDo ntCheckEnums);83 COMPILE_ASSERT(1 == TestInterface::SUPPLEMENTALCONSTANT1, TestInterfaceEnumSUPPLEMENTALCONSTANT1IsWrongUseDoNotCheckConstants); 84 #endif 85 #if ENABLE(Condition11) || ENABLE(Condition12) 86 COMPILE_ASSERT(2 == TestInterface::CONST_IMPL, TestInterfaceEnumCONST_IMPLIsWrongUseDoNotCheckConstants); 87 87 #endif 88 88 -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp
r106618 r106883 173 173 174 174 #if ENABLE(Condition1) 175 COMPILE_ASSERT(0 == TestObj::CONDITIONAL_CONST, TestObjEnumCONDITIONAL_CONSTIsWrongUseDo ntCheckEnums);176 #endif 177 COMPILE_ASSERT(0 == TestObj::CONST_VALUE_0, TestObjEnumCONST_VALUE_0IsWrongUseDo ntCheckEnums);178 COMPILE_ASSERT(1 == TestObj::CONST_VALUE_1, TestObjEnumCONST_VALUE_1IsWrongUseDo ntCheckEnums);179 COMPILE_ASSERT(2 == TestObj::CONST_VALUE_2, TestObjEnumCONST_VALUE_2IsWrongUseDo ntCheckEnums);180 COMPILE_ASSERT(4 == TestObj::CONST_VALUE_4, TestObjEnumCONST_VALUE_4IsWrongUseDo ntCheckEnums);181 COMPILE_ASSERT(8 == TestObj::CONST_VALUE_8, TestObjEnumCONST_VALUE_8IsWrongUseDo ntCheckEnums);182 COMPILE_ASSERT(-1 == TestObj::CONST_VALUE_9, TestObjEnumCONST_VALUE_9IsWrongUseDo ntCheckEnums);183 COMPILE_ASSERT("my constant string" == TestObj::CONST_VALUE_10, TestObjEnumCONST_VALUE_10IsWrongUseDo ntCheckEnums);184 COMPILE_ASSERT(0xffffffff == TestObj::CONST_VALUE_11, TestObjEnumCONST_VALUE_11IsWrongUseDo ntCheckEnums);185 COMPILE_ASSERT(0x01 == TestObj::CONST_VALUE_12, TestObjEnumCONST_VALUE_12IsWrongUseDo ntCheckEnums);186 COMPILE_ASSERT(0X20 == TestObj::CONST_VALUE_13, TestObjEnumCONST_VALUE_13IsWrongUseDo ntCheckEnums);187 COMPILE_ASSERT(0x1abc == TestObj::CONST_VALUE_14, TestObjEnumCONST_VALUE_14IsWrongUseDo ntCheckEnums);188 COMPILE_ASSERT(15 == TestObj::CONST_IMPL, TestObjEnumCONST_IMPLIsWrongUseDo ntCheckEnums);175 COMPILE_ASSERT(0 == TestObj::CONDITIONAL_CONST, TestObjEnumCONDITIONAL_CONSTIsWrongUseDoNotCheckConstants); 176 #endif 177 COMPILE_ASSERT(0 == TestObj::CONST_VALUE_0, TestObjEnumCONST_VALUE_0IsWrongUseDoNotCheckConstants); 178 COMPILE_ASSERT(1 == TestObj::CONST_VALUE_1, TestObjEnumCONST_VALUE_1IsWrongUseDoNotCheckConstants); 179 COMPILE_ASSERT(2 == TestObj::CONST_VALUE_2, TestObjEnumCONST_VALUE_2IsWrongUseDoNotCheckConstants); 180 COMPILE_ASSERT(4 == TestObj::CONST_VALUE_4, TestObjEnumCONST_VALUE_4IsWrongUseDoNotCheckConstants); 181 COMPILE_ASSERT(8 == TestObj::CONST_VALUE_8, TestObjEnumCONST_VALUE_8IsWrongUseDoNotCheckConstants); 182 COMPILE_ASSERT(-1 == TestObj::CONST_VALUE_9, TestObjEnumCONST_VALUE_9IsWrongUseDoNotCheckConstants); 183 COMPILE_ASSERT("my constant string" == TestObj::CONST_VALUE_10, TestObjEnumCONST_VALUE_10IsWrongUseDoNotCheckConstants); 184 COMPILE_ASSERT(0xffffffff == TestObj::CONST_VALUE_11, TestObjEnumCONST_VALUE_11IsWrongUseDoNotCheckConstants); 185 COMPILE_ASSERT(0x01 == TestObj::CONST_VALUE_12, TestObjEnumCONST_VALUE_12IsWrongUseDoNotCheckConstants); 186 COMPILE_ASSERT(0X20 == TestObj::CONST_VALUE_13, TestObjEnumCONST_VALUE_13IsWrongUseDoNotCheckConstants); 187 COMPILE_ASSERT(0x1abc == TestObj::CONST_VALUE_14, TestObjEnumCONST_VALUE_14IsWrongUseDoNotCheckConstants); 188 COMPILE_ASSERT(15 == TestObj::CONST_IMPL, TestObjEnumCONST_IMPLIsWrongUseDoNotCheckConstants); 189 189 190 190 ASSERT_HAS_TRIVIAL_DESTRUCTOR(JSTestObjConstructor); -
trunk/Source/WebCore/bindings/scripts/test/TestObj.idl
r106776 r106883 200 200 [Immutable] SVGPoint immutablePointFunction(); 201 201 202 [Implement ationFunction=banana] void orange();202 [ImplementedAs=banana] void orange(); 203 203 204 204 attribute [StrictTypeChecking] float strictFloat; -
trunk/Source/WebCore/bindings/scripts/test/TestTypedArray.idl
r106798 r106883 33 33 JSNoStaticTables, 34 34 JSCustomToJS, 35 Do ntCheckEnums35 DoNotCheckConstants 36 36 ] Float64Array : ArrayBufferView { 37 37 Int32Array foo(in Float32Array array); -
trunk/Source/WebCore/bindings/scripts/test/V8/V8TestInterface.cpp
r106140 r106883 158 158 159 159 #if ENABLE(Condition11) || ENABLE(Condition12) 160 COMPILE_ASSERT(1 == TestInterface::SUPPLEMENTALCONSTANT1, TestInterfaceEnumSUPPLEMENTALCONSTANT1IsWrongUseDo ntCheckEnums);161 #endif 162 #if ENABLE(Condition11) || ENABLE(Condition12) 163 COMPILE_ASSERT(2 == TestInterface::CONST_IMPL, TestInterfaceEnumCONST_IMPLIsWrongUseDo ntCheckEnums);160 COMPILE_ASSERT(1 == TestInterface::SUPPLEMENTALCONSTANT1, TestInterfaceEnumSUPPLEMENTALCONSTANT1IsWrongUseDoNotCheckConstants); 161 #endif 162 #if ENABLE(Condition11) || ENABLE(Condition12) 163 COMPILE_ASSERT(2 == TestInterface::CONST_IMPL, TestInterfaceEnumCONST_IMPLIsWrongUseDoNotCheckConstants); 164 164 #endif 165 165 -
trunk/Source/WebCore/bindings/scripts/test/V8/V8TestObj.cpp
r106666 r106883 1717 1717 1718 1718 #if ENABLE(Condition1) 1719 COMPILE_ASSERT(0 == TestObj::CONDITIONAL_CONST, TestObjEnumCONDITIONAL_CONSTIsWrongUseDo ntCheckEnums);1719 COMPILE_ASSERT(0 == TestObj::CONDITIONAL_CONST, TestObjEnumCONDITIONAL_CONSTIsWrongUseDoNotCheckConstants); 1720 1720 #endif 1721 COMPILE_ASSERT(0 == TestObj::CONST_VALUE_0, TestObjEnumCONST_VALUE_0IsWrongUseDo ntCheckEnums);1722 COMPILE_ASSERT(1 == TestObj::CONST_VALUE_1, TestObjEnumCONST_VALUE_1IsWrongUseDo ntCheckEnums);1723 COMPILE_ASSERT(2 == TestObj::CONST_VALUE_2, TestObjEnumCONST_VALUE_2IsWrongUseDo ntCheckEnums);1724 COMPILE_ASSERT(4 == TestObj::CONST_VALUE_4, TestObjEnumCONST_VALUE_4IsWrongUseDo ntCheckEnums);1725 COMPILE_ASSERT(8 == TestObj::CONST_VALUE_8, TestObjEnumCONST_VALUE_8IsWrongUseDo ntCheckEnums);1726 COMPILE_ASSERT(-1 == TestObj::CONST_VALUE_9, TestObjEnumCONST_VALUE_9IsWrongUseDo ntCheckEnums);1727 COMPILE_ASSERT("my constant string" == TestObj::CONST_VALUE_10, TestObjEnumCONST_VALUE_10IsWrongUseDo ntCheckEnums);1728 COMPILE_ASSERT(0xffffffff == TestObj::CONST_VALUE_11, TestObjEnumCONST_VALUE_11IsWrongUseDo ntCheckEnums);1729 COMPILE_ASSERT(0x01 == TestObj::CONST_VALUE_12, TestObjEnumCONST_VALUE_12IsWrongUseDo ntCheckEnums);1730 COMPILE_ASSERT(0X20 == TestObj::CONST_VALUE_13, TestObjEnumCONST_VALUE_13IsWrongUseDo ntCheckEnums);1731 COMPILE_ASSERT(0x1abc == TestObj::CONST_VALUE_14, TestObjEnumCONST_VALUE_14IsWrongUseDo ntCheckEnums);1732 COMPILE_ASSERT(15 == TestObj::CONST_IMPL, TestObjEnumCONST_IMPLIsWrongUseDo ntCheckEnums);1721 COMPILE_ASSERT(0 == TestObj::CONST_VALUE_0, TestObjEnumCONST_VALUE_0IsWrongUseDoNotCheckConstants); 1722 COMPILE_ASSERT(1 == TestObj::CONST_VALUE_1, TestObjEnumCONST_VALUE_1IsWrongUseDoNotCheckConstants); 1723 COMPILE_ASSERT(2 == TestObj::CONST_VALUE_2, TestObjEnumCONST_VALUE_2IsWrongUseDoNotCheckConstants); 1724 COMPILE_ASSERT(4 == TestObj::CONST_VALUE_4, TestObjEnumCONST_VALUE_4IsWrongUseDoNotCheckConstants); 1725 COMPILE_ASSERT(8 == TestObj::CONST_VALUE_8, TestObjEnumCONST_VALUE_8IsWrongUseDoNotCheckConstants); 1726 COMPILE_ASSERT(-1 == TestObj::CONST_VALUE_9, TestObjEnumCONST_VALUE_9IsWrongUseDoNotCheckConstants); 1727 COMPILE_ASSERT("my constant string" == TestObj::CONST_VALUE_10, TestObjEnumCONST_VALUE_10IsWrongUseDoNotCheckConstants); 1728 COMPILE_ASSERT(0xffffffff == TestObj::CONST_VALUE_11, TestObjEnumCONST_VALUE_11IsWrongUseDoNotCheckConstants); 1729 COMPILE_ASSERT(0x01 == TestObj::CONST_VALUE_12, TestObjEnumCONST_VALUE_12IsWrongUseDoNotCheckConstants); 1730 COMPILE_ASSERT(0X20 == TestObj::CONST_VALUE_13, TestObjEnumCONST_VALUE_13IsWrongUseDoNotCheckConstants); 1731 COMPILE_ASSERT(0x1abc == TestObj::CONST_VALUE_14, TestObjEnumCONST_VALUE_14IsWrongUseDoNotCheckConstants); 1732 COMPILE_ASSERT(15 == TestObj::CONST_IMPL, TestObjEnumCONST_IMPLIsWrongUseDoNotCheckConstants); 1733 1733 1734 1734 v8::Handle<v8::Value> V8TestObj::constructorCallback(const v8::Arguments& args) -
trunk/Source/WebCore/css/WebKitCSSFilterValue.idl
r106798 r106883 29 29 Conditional=CSS_FILTERS, 30 30 IndexedGetter, 31 Do ntCheckEnums31 DoNotCheckConstants 32 32 ] WebKitCSSFilterValue : CSSValueList { 33 33 -
trunk/Source/WebCore/css/WebKitCSSTransformValue.idl
r106798 r106883 31 31 interface [ 32 32 IndexedGetter, 33 Do ntCheckEnums33 DoNotCheckConstants 34 34 ] WebKitCSSTransformValue : CSSValueList { 35 35 -
trunk/Source/WebCore/dom/DOMCoreException.idl
r106737 r106883 31 31 interface [ 32 32 JSNoStaticTables, 33 Do ntCheckEnums33 DoNotCheckConstants 34 34 ] DOMCoreException { 35 35 -
trunk/Source/WebCore/dom/Document.idl
r106776 r106883 32 32 readonly attribute Element documentElement; 33 33 34 [Return sNew] Element createElement(in [TreatNullAs=NullString,Optional=CallWithDefaultValue] DOMString tagName)34 [ReturnNewObject] Element createElement(in [TreatNullAs=NullString,Optional=CallWithDefaultValue] DOMString tagName) 35 35 raises (DOMException); 36 36 DocumentFragment createDocumentFragment(); 37 [Return sNew] Text createTextNode(in [Optional=CallWithDefaultValue] DOMString data);38 [Return sNew] Comment createComment(in [Optional=CallWithDefaultValue] DOMString data);39 [Return sNew] CDATASection createCDATASection(in [Optional=CallWithDefaultValue] DOMString data)40 raises(DOMException); 41 [ObjCLegacyUnnamedParameters, Return sNew] ProcessingInstruction createProcessingInstruction(in [Optional=CallWithDefaultValue] DOMString target,37 [ReturnNewObject] Text createTextNode(in [Optional=CallWithDefaultValue] DOMString data); 38 [ReturnNewObject] Comment createComment(in [Optional=CallWithDefaultValue] DOMString data); 39 [ReturnNewObject] CDATASection createCDATASection(in [Optional=CallWithDefaultValue] DOMString data) 40 raises(DOMException); 41 [ObjCLegacyUnnamedParameters, ReturnNewObject] ProcessingInstruction createProcessingInstruction(in [Optional=CallWithDefaultValue] DOMString target, 42 42 in [Optional=CallWithDefaultValue] DOMString data) 43 43 raises (DOMException); 44 [Return sNew] Attr createAttribute(in [Optional=CallWithDefaultValue] DOMString name)45 raises (DOMException); 46 [Return sNew] EntityReference createEntityReference(in [Optional=CallWithDefaultValue] DOMString name)44 [ReturnNewObject] Attr createAttribute(in [Optional=CallWithDefaultValue] DOMString name) 45 raises (DOMException); 46 [ReturnNewObject] EntityReference createEntityReference(in [Optional=CallWithDefaultValue] DOMString name) 47 47 raises(DOMException); 48 48 NodeList getElementsByTagName(in [Optional=CallWithDefaultValue] DOMString tagname); … … 50 50 // Introduced in DOM Level 2: 51 51 52 [ObjCLegacyUnnamedParameters, Return sNew] Node importNode(in [Optional=CallWithDefaultValue] Node importedNode,52 [ObjCLegacyUnnamedParameters, ReturnNewObject] Node importNode(in [Optional=CallWithDefaultValue] Node importedNode, 53 53 in [Optional] boolean deep) 54 54 raises (DOMException); 55 <<<<<<< HEAD 55 56 [ObjCLegacyUnnamedParameters, ReturnsNew] Element createElementNS(in [TreatNullAs=NullString,Optional=CallWithDefaultValue] DOMString namespaceURI, 56 57 in [TreatNullAs=NullString,Optional=CallWithDefaultValue] DOMString qualifiedName) … … 58 59 [ObjCLegacyUnnamedParameters, ReturnsNew] Attr createAttributeNS(in [TreatNullAs=NullString,Optional=CallWithDefaultValue] DOMString namespaceURI, 59 60 in [TreatNullAs=NullString,Optional=CallWithDefaultValue] DOMString qualifiedName) 61 ======= 62 [ObjCLegacyUnnamedParameters, ReturnNewObject] Element createElementNS(in [TreatNullAs=EmptyString,Optional=CallWithDefaultValue] DOMString namespaceURI, 63 in [TreatNullAs=EmptyString,Optional=CallWithDefaultValue] DOMString qualifiedName) 64 raises (DOMException); 65 [ObjCLegacyUnnamedParameters, ReturnNewObject] Attr createAttributeNS(in [TreatNullAs=EmptyString,Optional=CallWithDefaultValue] DOMString namespaceURI, 66 in [TreatNullAs=EmptyString,Optional=CallWithDefaultValue] DOMString qualifiedName) 67 >>>>>>> temp 60 68 raises (DOMException); 61 69 [ObjCLegacyUnnamedParameters] NodeList getElementsByTagNameNS(in [TreatNullAs=NullString,Optional=CallWithDefaultValue] DOMString namespaceURI, … … 326 334 327 335 #if defined(ENABLE_TOUCH_EVENTS) && ENABLE_TOUCH_EVENTS 328 [Return sNew, V8EnabledAtRuntime] Touch createTouch(in [Optional=CallWithDefaultValue] DOMWindow window,336 [ReturnNewObject, V8EnabledAtRuntime] Touch createTouch(in [Optional=CallWithDefaultValue] DOMWindow window, 329 337 in [Optional=CallWithDefaultValue] EventTarget target, 330 338 in [Optional=CallWithDefaultValue] long identifier, … … 338 346 in [Optional=CallWithDefaultValue] float webkitForce) 339 347 raises (DOMException); 340 [Return sNew, V8EnabledAtRuntime, Custom] TouchList createTouchList()348 [ReturnNewObject, V8EnabledAtRuntime, Custom] TouchList createTouchList() 341 349 raises (DOMException); 342 350 #endif -
trunk/Source/WebCore/dom/EventException.idl
r106737 r106883 32 32 interface [ 33 33 JSNoStaticTables, 34 Do ntCheckEnums34 DoNotCheckConstants 35 35 ] EventException { 36 36 -
trunk/Source/WebCore/dom/RangeException.idl
r106645 r106883 21 21 22 22 interface [ 23 Do ntCheckEnums23 DoNotCheckConstants 24 24 ] RangeException { 25 25 -
trunk/Source/WebCore/fileapi/FileException.idl
r106737 r106883 32 32 interface [ 33 33 Conditional=BLOB|FILE_SYSTEM, 34 Do ntCheckEnums,34 DoNotCheckConstants, 35 35 JSNoStaticTables 36 36 ] FileException { -
trunk/Source/WebCore/fileapi/OperationNotAllowedException.idl
r106737 r106883 32 32 interface [ 33 33 Conditional=BLOB|FILE_SYSTEM, 34 Do ntCheckEnums,34 DoNotCheckConstants, 35 35 JSNoStaticTables 36 36 ] OperationNotAllowedException { -
trunk/Source/WebCore/html/HTMLFormElement.idl
r106798 r106883 39 39 40 40 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT 41 [Implement ationFunction=submitFromJavaScript] void submit();41 [ImplementedAs=submitFromJavaScript] void submit(); 42 42 #else 43 43 void submit(); -
trunk/Source/WebCore/html/canvas/Float32Array.idl
r106798 r106883 33 33 JSNoStaticTables, 34 34 JSCustomToJS, 35 Do ntCheckEnums35 DoNotCheckConstants 36 36 ] Float32Array : ArrayBufferView { 37 37 const unsigned int BYTES_PER_ELEMENT = 4; -
trunk/Source/WebCore/html/canvas/Float64Array.idl
r106798 r106883 33 33 JSNoStaticTables, 34 34 JSCustomToJS, 35 Do ntCheckEnums35 DoNotCheckConstants 36 36 ] Float64Array : ArrayBufferView { 37 37 const unsigned int BYTES_PER_ELEMENT = 8; -
trunk/Source/WebCore/html/canvas/Int16Array.idl
r106798 r106883 32 32 JSNoStaticTables, 33 33 JSCustomToJS, 34 Do ntCheckEnums34 DoNotCheckConstants 35 35 ] Int16Array : ArrayBufferView { 36 36 const unsigned int BYTES_PER_ELEMENT = 2; -
trunk/Source/WebCore/html/canvas/Int32Array.idl
r106798 r106883 33 33 JSNoStaticTables, 34 34 JSCustomToJS, 35 Do ntCheckEnums35 DoNotCheckConstants 36 36 ] Int32Array : ArrayBufferView { 37 37 const unsigned int BYTES_PER_ELEMENT = 4; -
trunk/Source/WebCore/html/canvas/Int8Array.idl
r106798 r106883 33 33 JSNoStaticTables, 34 34 JSCustomToJS, 35 Do ntCheckEnums35 DoNotCheckConstants 36 36 ] Int8Array : ArrayBufferView { 37 37 const unsigned int BYTES_PER_ELEMENT = 1; -
trunk/Source/WebCore/html/canvas/OESStandardDerivatives.idl
r106737 r106883 29 29 JSGenerateIsReachable=ImplContext, 30 30 OmitConstructor, 31 Do ntCheckEnums31 DoNotCheckConstants 32 32 ] OESStandardDerivatives { 33 33 const unsigned int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B; -
trunk/Source/WebCore/html/canvas/OESVertexArrayObject.idl
r106737 r106883 29 29 JSGenerateIsReachable=ImplContext, 30 30 OmitConstructor, 31 Do ntCheckEnums31 DoNotCheckConstants 32 32 ] OESVertexArrayObject { 33 33 const unsigned int VERTEX_ARRAY_BINDING_OES = 0x85B5; -
trunk/Source/WebCore/html/canvas/Uint16Array.idl
r106798 r106883 33 33 JSNoStaticTables, 34 34 JSCustomToJS, 35 Do ntCheckEnums35 DoNotCheckConstants 36 36 ] Uint16Array : ArrayBufferView { 37 37 const unsigned int BYTES_PER_ELEMENT = 2; -
trunk/Source/WebCore/html/canvas/Uint32Array.idl
r106798 r106883 33 33 JSNoStaticTables, 34 34 JSCustomToJS, 35 Do ntCheckEnums35 DoNotCheckConstants 36 36 ] Uint32Array : ArrayBufferView { 37 37 const unsigned int BYTES_PER_ELEMENT = 4; -
trunk/Source/WebCore/html/canvas/Uint8Array.idl
r106798 r106883 33 33 JSNoStaticTables, 34 34 JSCustomToJS, 35 Do ntCheckEnums35 DoNotCheckConstants 36 36 ] Uint8Array : ArrayBufferView { 37 37 const unsigned int BYTES_PER_ELEMENT = 1; -
trunk/Source/WebCore/html/canvas/Uint8ClampedArray.idl
r106798 r106883 33 33 JSNoStaticTables, 34 34 JSCustomToJS, 35 Do ntCheckEnums35 DoNotCheckConstants 36 36 ] Uint8ClampedArray : Uint8Array { 37 37 const unsigned int BYTES_PER_ELEMENT = 1; -
trunk/Source/WebCore/html/canvas/WebGLCompressedTextures.idl
r106737 r106883 29 29 JSGenerateIsReachable=ImplContext, 30 30 OmitConstructor, 31 Do ntCheckEnums31 DoNotCheckConstants 32 32 ] WebGLCompressedTextures { 33 33 /* Compressed Texture Formats */ -
trunk/Source/WebCore/html/canvas/WebGLDebugRendererInfo.idl
r106737 r106883 29 29 JSGenerateIsReachable=ImplContext, 30 30 OmitConstructor, 31 Do ntCheckEnums31 DoNotCheckConstants 32 32 ] WebGLDebugRendererInfo { 33 33 const unsigned int UNMASKED_VENDOR_WEBGL = 0x9245; -
trunk/Source/WebCore/html/canvas/WebGLRenderingContext.idl
r106737 r106883 29 29 Conditional=WEBGL, 30 30 JSCustomMarkFunction, 31 Do ntCheckEnums31 DoNotCheckConstants 32 32 ] WebGLRenderingContext : CanvasRenderingContext { 33 33 -
trunk/Source/WebCore/inspector/JavaScriptCallFrame.idl
r98750 r106883 29 29 Conditional=JAVASCRIPT_DEBUGGER, 30 30 OmitConstructor, 31 Do ntCheckEnums31 DoNotCheckConstants 32 32 ] JavaScriptCallFrame { 33 33 -
trunk/Source/WebCore/loader/appcache/DOMApplicationCache.idl
r106737 r106883 29 29 EventTarget, 30 30 OmitConstructor, 31 Do ntCheckEnums,31 DoNotCheckConstants, 32 32 JSGenerateIsReachable=ImplFrame 33 33 ] DOMApplicationCache { -
trunk/Source/WebCore/page/Console.idl
r106776 r106883 42 42 [CustomArgumentHandling] void dirxml(); 43 43 [V8Custom, CustomArgumentHandling] void trace(); 44 [V8Custom, CustomArgumentHandling, Implement ationFunction=assertCondition] void assert(in boolean condition);44 [V8Custom, CustomArgumentHandling, ImplementedAs=assertCondition] void assert(in boolean condition); 45 45 [CustomArgumentHandling] void count(); 46 46 [CustomArgumentHandling] void markTimeline(); -
trunk/Source/WebCore/page/DOMWindow.idl
r106783 r106883 44 44 // DOM Level 0 45 45 attribute [Replaceable] Screen screen; 46 attribute [Replaceable, DoNotCheckDomainSecurityOnGet , JSCustomGetter] History history;46 attribute [Replaceable, DoNotCheckDomainSecurityOnGetter, JSCustomGetter] History history; 47 47 attribute [Replaceable] BarInfo locationbar; 48 48 attribute [Replaceable] BarInfo menubar; … … 116 116 readonly attribute [DoNotCheckDomainSecurity] boolean closed; 117 117 118 attribute [Replaceable, DoNotCheckDomainSecurityOnGet ] unsigned long length;118 attribute [Replaceable, DoNotCheckDomainSecurityOnGetter] unsigned long length; 119 119 120 120 attribute DOMString name; … … 128 128 129 129 // Self referential attributes 130 attribute [Replaceable, DoNotCheckDomainSecurityOnGet ] DOMWindow self;130 attribute [Replaceable, DoNotCheckDomainSecurityOnGetter] DOMWindow self; 131 131 readonly attribute [DoNotCheckDomainSecurity, V8Unforgeable] DOMWindow window; 132 attribute [Replaceable, DoNotCheckDomainSecurityOnGet ] DOMWindow frames;133 134 attribute [Replaceable, DoNotCheckDomainSecurityOnGet , V8CustomSetter] DOMWindow opener;135 attribute [Replaceable, DoNotCheckDomainSecurityOnGet ] DOMWindow parent;136 attribute [Replaceable, DoNotCheckDomainSecurityOnGet , V8Unforgeable, V8ReadOnly] DOMWindow top;132 attribute [Replaceable, DoNotCheckDomainSecurityOnGetter] DOMWindow frames; 133 134 attribute [Replaceable, DoNotCheckDomainSecurityOnGetter, V8CustomSetter] DOMWindow opener; 135 attribute [Replaceable, DoNotCheckDomainSecurityOnGetter] DOMWindow parent; 136 attribute [Replaceable, DoNotCheckDomainSecurityOnGetter, V8Unforgeable, V8ReadOnly] DOMWindow top; 137 137 138 138 // DOM Level 2 AbstractView Interface -
trunk/Source/WebCore/page/Location.idl
r106783 r106883 44 44 ] Location { 45 45 #if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP 46 attribute [DoNotCheckDomainSecurityOnSet , CustomSetter, V8Unforgeable] DOMString href;46 attribute [DoNotCheckDomainSecurityOnSetter, CustomSetter, V8Unforgeable] DOMString href; 47 47 #endif 48 48 … … 65 65 66 66 #if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT 67 [NotEnumerable, Custom, V8OnInstance, V8ReadOnly, Implement ationFunction=toStringFunction] DOMString toString();67 [NotEnumerable, Custom, V8OnInstance, V8ReadOnly, ImplementedAs=toStringFunction] DOMString toString(); 68 68 #endif 69 69 #if defined(V8_BINDING) && V8_BINDING -
trunk/Source/WebCore/storage/IDBCursor.idl
r89375 r106883 41 41 [CallWith=ScriptExecutionContext] IDBRequest update(in SerializedScriptValue value) 42 42 raises (IDBDatabaseException); 43 [Implement ationFunction=continueFunction] void continue(in [Optional] IDBKey key)43 [ImplementedAs=continueFunction] void continue(in [Optional] IDBKey key) 44 44 raises (IDBDatabaseException); 45 [CallWith=ScriptExecutionContext, Implement ationFunction=deleteFunction] IDBRequest delete()45 [CallWith=ScriptExecutionContext, ImplementedAs=deleteFunction] IDBRequest delete() 46 46 raises (IDBDatabaseException); 47 47 }; -
trunk/Source/WebCore/storage/IDBDatabaseException.idl
r106645 r106883 28 28 interface [ 29 29 Conditional=INDEXED_DATABASE, 30 Do ntCheckEnums30 DoNotCheckConstants 31 31 ] IDBDatabaseException { 32 32 -
trunk/Source/WebCore/storage/IDBObjectStore.idl
r103100 r106883 38 38 [CallWith=ScriptExecutionContext] IDBRequest add(in SerializedScriptValue value, in [Optional] IDBKey key) 39 39 raises (IDBDatabaseException); 40 [CallWith=ScriptExecutionContext, Implement ationFunction=deleteFunction] IDBRequest delete(in IDBKey key)40 [CallWith=ScriptExecutionContext, ImplementedAs=deleteFunction] IDBRequest delete(in IDBKey key) 41 41 raises (IDBDatabaseException); 42 42 [CallWith=ScriptExecutionContext] IDBRequest clear() -
trunk/Source/WebCore/storage/SQLException.idl
r106737 r106883 34 34 Conditional=SQL_DATABASE, 35 35 JSNoStaticTables, 36 Do ntCheckEnums36 DoNotCheckConstants 37 37 ] SQLException { 38 38 readonly attribute unsigned long code; -
trunk/Source/WebCore/svg/SVGComponentTransferFunctionElement.idl
r89269 r106883 28 28 interface [ 29 29 Conditional=SVG&FILTERS, 30 Do ntCheckEnums30 DoNotCheckConstants 31 31 ] SVGComponentTransferFunctionElement : SVGElement { 32 32 // Component Transfer Types -
trunk/Source/WebCore/svg/SVGException.idl
r106645 r106883 23 23 interface [ 24 24 Conditional=SVG, 25 Do ntCheckEnums25 DoNotCheckConstants 26 26 ] SVGException { 27 27 -
trunk/Source/WebCore/svg/SVGFEBlendElement.idl
r89269 r106883 28 28 interface [ 29 29 Conditional=SVG&FILTERS, 30 Do ntCheckEnums30 DoNotCheckConstants 31 31 ] SVGFEBlendElement : SVGElement, 32 32 SVGFilterPrimitiveStandardAttributes { -
trunk/Source/WebCore/svg/SVGFEColorMatrixElement.idl
r89269 r106883 28 28 interface [ 29 29 Conditional=SVG&FILTERS, 30 Do ntCheckEnums30 DoNotCheckConstants 31 31 ] SVGFEColorMatrixElement : SVGElement, 32 32 SVGFilterPrimitiveStandardAttributes { -
trunk/Source/WebCore/svg/SVGFECompositeElement.idl
r89269 r106883 28 28 interface [ 29 29 Conditional=SVG&FILTERS, 30 Do ntCheckEnums30 DoNotCheckConstants 31 31 ] SVGFECompositeElement : SVGElement, 32 32 SVGFilterPrimitiveStandardAttributes { -
trunk/Source/WebCore/svg/SVGFEConvolveMatrixElement.idl
r106532 r106883 28 28 interface [ 29 29 Conditional=SVG&FILTERS, 30 Do ntCheckEnums30 DoNotCheckConstants 31 31 ] SVGFEConvolveMatrixElement : SVGElement, 32 32 SVGFilterPrimitiveStandardAttributes { -
trunk/Source/WebCore/svg/SVGFEDisplacementMapElement.idl
r89269 r106883 28 28 interface [ 29 29 Conditional=SVG&FILTERS, 30 Do ntCheckEnums30 DoNotCheckConstants 31 31 ] SVGFEDisplacementMapElement : SVGElement, 32 32 SVGFilterPrimitiveStandardAttributes { -
trunk/Source/WebCore/svg/SVGFEMorphologyElement.idl
r92237 r106883 28 28 interface [ 29 29 Conditional=SVG&FILTERS, 30 Do ntCheckEnums30 DoNotCheckConstants 31 31 ] SVGFEMorphologyElement : SVGElement, 32 32 SVGFilterPrimitiveStandardAttributes { -
trunk/Source/WebCore/svg/SVGFETurbulenceElement.idl
r89269 r106883 28 28 interface [ 29 29 Conditional=SVG&FILTERS, 30 Do ntCheckEnums30 DoNotCheckConstants 31 31 ] SVGFETurbulenceElement : SVGElement, 32 32 SVGFilterPrimitiveStandardAttributes { -
trunk/Source/WebCore/svg/SVGGradientElement.idl
r89269 r106883 28 28 interface [ 29 29 Conditional=SVG, 30 Do ntCheckEnums30 DoNotCheckConstants 31 31 ] SVGGradientElement : SVGElement, 32 32 SVGURIReference, -
trunk/Source/WebCore/xml/XMLHttpRequestException.idl
r106737 r106883 31 31 interface [ 32 32 JSNoStaticTables, 33 Do ntCheckEnums33 DoNotCheckConstants 34 34 ] XMLHttpRequestException { 35 35 -
trunk/Source/WebCore/xml/XPathException.idl
r106645 r106883 30 30 31 31 interface [ 32 Do ntCheckEnums32 DoNotCheckConstants 33 33 ] XPathException { 34 34
Note: See TracChangeset
for help on using the changeset viewer.