http://trac.webkit.org/changeset/106883
https://bugs.webkit.org/show_bug.cgi?id=77852
build failure around Chromium V8 bindings
* bindings/scripts/CodeGenerator.pm:
(ShouldCheckEnums):
(GenerateCompileTimeCheckForEnumsIfNeeded):
* bindings/scripts/CodeGeneratorJS.pm:
(GenerateHeader):
(GenerateImplementation):
(NativeToJSValue):
* bindings/scripts/CodeGeneratorV8.pm:
(GenerateSingleBatchedAttribute):
(GenerateFunctionCallString):
(NativeToJSValue):
* bindings/scripts/test/JS/JSTestInterface.cpp:
(WebCore):
* bindings/scripts/test/JS/JSTestObj.cpp:
(WebCore):
* bindings/scripts/test/TestObj.idl:
* bindings/scripts/test/TestTypedArray.idl:
* bindings/scripts/test/V8/V8TestInterface.cpp:
(WebCore):
* bindings/scripts/test/V8/V8TestObj.cpp:
(WebCore):
* css/WebKitCSSFilterValue.idl:
* css/WebKitCSSTransformValue.idl:
* dom/DOMCoreException.idl:
* dom/Document.idl:
* dom/EventException.idl:
* dom/RangeException.idl:
* fileapi/FileException.idl:
* fileapi/OperationNotAllowedException.idl:
* html/HTMLFormElement.idl:
* html/canvas/Float32Array.idl:
* html/canvas/Float64Array.idl:
* html/canvas/Int16Array.idl:
* html/canvas/Int32Array.idl:
* html/canvas/Int8Array.idl:
* html/canvas/OESStandardDerivatives.idl:
* html/canvas/OESVertexArrayObject.idl:
* html/canvas/Uint16Array.idl:
* html/canvas/Uint32Array.idl:
* html/canvas/Uint8Array.idl:
* html/canvas/Uint8ClampedArray.idl:
* html/canvas/WebGLCompressedTextures.idl:
* html/canvas/WebGLDebugRendererInfo.idl:
* html/canvas/WebGLRenderingContext.idl:
* inspector/JavaScriptCallFrame.idl:
* loader/appcache/DOMApplicationCache.idl:
* page/Console.idl:
* page/DOMWindow.idl:
* page/Location.idl:
* storage/IDBCursor.idl:
* storage/IDBDatabaseException.idl:
* storage/IDBObjectStore.idl:
* storage/SQLException.idl:
* svg/SVGComponentTransferFunctionElement.idl:
* svg/SVGException.idl:
* svg/SVGFEBlendElement.idl:
* svg/SVGFEColorMatrixElement.idl:
* svg/SVGFECompositeElement.idl:
* svg/SVGFEConvolveMatrixElement.idl:
* svg/SVGFEDisplacementMapElement.idl:
* svg/SVGFEMorphologyElement.idl:
* svg/SVGFETurbulenceElement.idl:
* svg/SVGGradientElement.idl:
* xml/XMLHttpRequestException.idl:
* xml/XPathException.idl:
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@106889
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2012-02-06 Kentaro Hara <haraken@chromium.org>
+
+ Unreviewed, rolling out r106883.
+ http://trac.webkit.org/changeset/106883
+ https://bugs.webkit.org/show_bug.cgi?id=77852
+
+ build failure around Chromium V8 bindings
+
+ * bindings/scripts/CodeGenerator.pm:
+ (ShouldCheckEnums):
+ (GenerateCompileTimeCheckForEnumsIfNeeded):
+ * bindings/scripts/CodeGeneratorJS.pm:
+ (GenerateHeader):
+ (GenerateImplementation):
+ (NativeToJSValue):
+ * bindings/scripts/CodeGeneratorV8.pm:
+ (GenerateSingleBatchedAttribute):
+ (GenerateFunctionCallString):
+ (NativeToJSValue):
+ * bindings/scripts/test/JS/JSTestInterface.cpp:
+ (WebCore):
+ * bindings/scripts/test/JS/JSTestObj.cpp:
+ (WebCore):
+ * bindings/scripts/test/TestObj.idl:
+ * bindings/scripts/test/TestTypedArray.idl:
+ * bindings/scripts/test/V8/V8TestInterface.cpp:
+ (WebCore):
+ * bindings/scripts/test/V8/V8TestObj.cpp:
+ (WebCore):
+ * css/WebKitCSSFilterValue.idl:
+ * css/WebKitCSSTransformValue.idl:
+ * dom/DOMCoreException.idl:
+ * dom/Document.idl:
+ * dom/EventException.idl:
+ * dom/RangeException.idl:
+ * fileapi/FileException.idl:
+ * fileapi/OperationNotAllowedException.idl:
+ * html/HTMLFormElement.idl:
+ * html/canvas/Float32Array.idl:
+ * html/canvas/Float64Array.idl:
+ * html/canvas/Int16Array.idl:
+ * html/canvas/Int32Array.idl:
+ * html/canvas/Int8Array.idl:
+ * html/canvas/OESStandardDerivatives.idl:
+ * html/canvas/OESVertexArrayObject.idl:
+ * html/canvas/Uint16Array.idl:
+ * html/canvas/Uint32Array.idl:
+ * html/canvas/Uint8Array.idl:
+ * html/canvas/Uint8ClampedArray.idl:
+ * html/canvas/WebGLCompressedTextures.idl:
+ * html/canvas/WebGLDebugRendererInfo.idl:
+ * html/canvas/WebGLRenderingContext.idl:
+ * inspector/JavaScriptCallFrame.idl:
+ * loader/appcache/DOMApplicationCache.idl:
+ * page/Console.idl:
+ * page/DOMWindow.idl:
+ * page/Location.idl:
+ * storage/IDBCursor.idl:
+ * storage/IDBDatabaseException.idl:
+ * storage/IDBObjectStore.idl:
+ * storage/SQLException.idl:
+ * svg/SVGComponentTransferFunctionElement.idl:
+ * svg/SVGException.idl:
+ * svg/SVGFEBlendElement.idl:
+ * svg/SVGFEColorMatrixElement.idl:
+ * svg/SVGFECompositeElement.idl:
+ * svg/SVGFEConvolveMatrixElement.idl:
+ * svg/SVGFEDisplacementMapElement.idl:
+ * svg/SVGFEMorphologyElement.idl:
+ * svg/SVGFETurbulenceElement.idl:
+ * svg/SVGGradientElement.idl:
+ * xml/XMLHttpRequestException.idl:
+ * xml/XPathException.idl:
+
2012-02-06 Yongsheng Zhu <yongsheng.zhu@intel.com>
WebGL must allocate smaller drawing buffer when the allocation fails.
sub ShouldCheckEnums
{
my $dataNode = shift;
- return not $dataNode->extendedAttributes->{"DoNotCheckConstants"};
+ return not $dataNode->extendedAttributes->{"DontCheckEnums"};
}
sub GenerateConditionalStringFromAttributeValue
push(@checks, "#if ${conditionalString}\n");
}
- push(@checks, "COMPILE_ASSERT($value == ${interfaceName}::$name, ${interfaceName}Enum${name}IsWrongUseDoNotCheckConstants);\n");
+ push(@checks, "COMPILE_ASSERT($value == ${interfaceName}::$name, ${interfaceName}Enum${name}IsWrongUseDontCheckEnums);\n");
if ($conditional) {
push(@checks, "#endif\n");
foreach my $function (@{$dataNode->functions}) {
next unless $function->signature->extendedAttributes->{"Custom"} or $function->signature->extendedAttributes->{"JSCustom"};
next if $function->{overloads} && $function->{overloadIndex} != 1;
- my $functionImplementationName = $function->signature->extendedAttributes->{"ImplementedAs"} || $codeGenerator->WK_lcfirst($function->signature->name);
+ my $functionImplementationName = $function->signature->extendedAttributes->{"ImplementationFunction"} || $codeGenerator->WK_lcfirst($function->signature->name);
push(@headerContent, " JSC::JSValue " . $functionImplementationName . "(JSC::ExecState*);\n");
}
}
if ($dataNode->extendedAttributes->{"CheckDomainSecurity"} &&
!$attribute->signature->extendedAttributes->{"DoNotCheckDomainSecurity"} &&
- !$attribute->signature->extendedAttributes->{"DoNotCheckDomainSecurityOnGetter"}) {
+ !$attribute->signature->extendedAttributes->{"DoNotCheckDomainSecurityOnGet"}) {
push(@implContent, " if (!castedThis->allowsAccessFrom(exec))\n");
push(@implContent, " return jsUndefined();\n");
}
push(@implContent, "static ");
}
- my $functionImplementationName = $function->signature->extendedAttributes->{"ImplementedAs"} || $codeGenerator->WK_lcfirst($function->signature->name);
+ my $functionImplementationName = $function->signature->extendedAttributes->{"ImplementationFunction"} || $codeGenerator->WK_lcfirst($function->signature->name);
push(@implContent, "EncodedJSValue JSC_HOST_CALL ${functionName}(ExecState* exec)\n");
push(@implContent, "{\n");
return $value if $codeGenerator->IsSVGAnimatedType($type);
- if ($signature->extendedAttributes->{"ReturnNewObject"}) {
+ if ($signature->extendedAttributes->{"ReturnsNew"}) {
return "toJSNewlyCreated(exec, $globalObject, WTF::getPtr($value))";
}
my $attrExt = $attribute->signature->extendedAttributes;
my $accessControl = "v8::DEFAULT";
- if ($attrExt->{"DoNotCheckDomainSecurityOnGetter"}) {
+ if ($attrExt->{"DoNotCheckDomainSecurityOnGet"}) {
$accessControl = "v8::ALL_CAN_READ";
- } elsif ($attrExt->{"DoNotCheckDomainSecurityOnSetter"}) {
+ } elsif ($attrExt->{"DoNotCheckDomainSecurityOnSet"}) {
$accessControl = "v8::ALL_CAN_WRITE";
} elsif ($attrExt->{"DoNotCheckDomainSecurity"}) {
$accessControl = "v8::ALL_CAN_READ";
my $isSVGTearOffType = ($codeGenerator->IsSVGTypeNeedingTearOff($returnType) and not $implClassName =~ /List$/);
$nativeReturnType = $codeGenerator->GetSVGWrappedTypeNeedingTearOff($returnType) if $isSVGTearOffType;
- if ($function->signature->extendedAttributes->{"ImplementedAs"}) {
- $name = $function->signature->extendedAttributes->{"ImplementedAs"};
+ if ($function->signature->extendedAttributes->{"ImplementationFunction"}) {
+ $name = $function->signature->extendedAttributes->{"ImplementationFunction"};
}
my $index = 0;
# special case for non-DOM node interfaces
if (IsDOMNodeType($type)) {
- return "toV8(${value}" . ($signature->extendedAttributes->{"ReturnNewObject"} ? ", true)" : ")");
+ return "toV8(${value}" . ($signature->extendedAttributes->{"ReturnsNew"} ? ", true)" : ")");
}
if ($type eq "EventTarget") {
static const HashTable JSTestInterfaceConstructorTable = { 4, 3, JSTestInterfaceConstructorTableValues, 0 };
#if ENABLE(Condition11) || ENABLE(Condition12)
-COMPILE_ASSERT(1 == TestInterface::SUPPLEMENTALCONSTANT1, TestInterfaceEnumSUPPLEMENTALCONSTANT1IsWrongUseDoNotCheckConstants);
+COMPILE_ASSERT(1 == TestInterface::SUPPLEMENTALCONSTANT1, TestInterfaceEnumSUPPLEMENTALCONSTANT1IsWrongUseDontCheckEnums);
#endif
#if ENABLE(Condition11) || ENABLE(Condition12)
-COMPILE_ASSERT(2 == TestInterface::CONST_IMPL, TestInterfaceEnumCONST_IMPLIsWrongUseDoNotCheckConstants);
+COMPILE_ASSERT(2 == TestInterface::CONST_IMPL, TestInterfaceEnumCONST_IMPLIsWrongUseDontCheckEnums);
#endif
ASSERT_HAS_TRIVIAL_DESTRUCTOR(JSTestInterfaceConstructor);
static const HashTable JSTestObjConstructorTable = { 36, 31, JSTestObjConstructorTableValues, 0 };
#if ENABLE(Condition1)
-COMPILE_ASSERT(0 == TestObj::CONDITIONAL_CONST, TestObjEnumCONDITIONAL_CONSTIsWrongUseDoNotCheckConstants);
+COMPILE_ASSERT(0 == TestObj::CONDITIONAL_CONST, TestObjEnumCONDITIONAL_CONSTIsWrongUseDontCheckEnums);
#endif
-COMPILE_ASSERT(0 == TestObj::CONST_VALUE_0, TestObjEnumCONST_VALUE_0IsWrongUseDoNotCheckConstants);
-COMPILE_ASSERT(1 == TestObj::CONST_VALUE_1, TestObjEnumCONST_VALUE_1IsWrongUseDoNotCheckConstants);
-COMPILE_ASSERT(2 == TestObj::CONST_VALUE_2, TestObjEnumCONST_VALUE_2IsWrongUseDoNotCheckConstants);
-COMPILE_ASSERT(4 == TestObj::CONST_VALUE_4, TestObjEnumCONST_VALUE_4IsWrongUseDoNotCheckConstants);
-COMPILE_ASSERT(8 == TestObj::CONST_VALUE_8, TestObjEnumCONST_VALUE_8IsWrongUseDoNotCheckConstants);
-COMPILE_ASSERT(-1 == TestObj::CONST_VALUE_9, TestObjEnumCONST_VALUE_9IsWrongUseDoNotCheckConstants);
-COMPILE_ASSERT("my constant string" == TestObj::CONST_VALUE_10, TestObjEnumCONST_VALUE_10IsWrongUseDoNotCheckConstants);
-COMPILE_ASSERT(0xffffffff == TestObj::CONST_VALUE_11, TestObjEnumCONST_VALUE_11IsWrongUseDoNotCheckConstants);
-COMPILE_ASSERT(0x01 == TestObj::CONST_VALUE_12, TestObjEnumCONST_VALUE_12IsWrongUseDoNotCheckConstants);
-COMPILE_ASSERT(0X20 == TestObj::CONST_VALUE_13, TestObjEnumCONST_VALUE_13IsWrongUseDoNotCheckConstants);
-COMPILE_ASSERT(0x1abc == TestObj::CONST_VALUE_14, TestObjEnumCONST_VALUE_14IsWrongUseDoNotCheckConstants);
-COMPILE_ASSERT(15 == TestObj::CONST_IMPL, TestObjEnumCONST_IMPLIsWrongUseDoNotCheckConstants);
+COMPILE_ASSERT(0 == TestObj::CONST_VALUE_0, TestObjEnumCONST_VALUE_0IsWrongUseDontCheckEnums);
+COMPILE_ASSERT(1 == TestObj::CONST_VALUE_1, TestObjEnumCONST_VALUE_1IsWrongUseDontCheckEnums);
+COMPILE_ASSERT(2 == TestObj::CONST_VALUE_2, TestObjEnumCONST_VALUE_2IsWrongUseDontCheckEnums);
+COMPILE_ASSERT(4 == TestObj::CONST_VALUE_4, TestObjEnumCONST_VALUE_4IsWrongUseDontCheckEnums);
+COMPILE_ASSERT(8 == TestObj::CONST_VALUE_8, TestObjEnumCONST_VALUE_8IsWrongUseDontCheckEnums);
+COMPILE_ASSERT(-1 == TestObj::CONST_VALUE_9, TestObjEnumCONST_VALUE_9IsWrongUseDontCheckEnums);
+COMPILE_ASSERT("my constant string" == TestObj::CONST_VALUE_10, TestObjEnumCONST_VALUE_10IsWrongUseDontCheckEnums);
+COMPILE_ASSERT(0xffffffff == TestObj::CONST_VALUE_11, TestObjEnumCONST_VALUE_11IsWrongUseDontCheckEnums);
+COMPILE_ASSERT(0x01 == TestObj::CONST_VALUE_12, TestObjEnumCONST_VALUE_12IsWrongUseDontCheckEnums);
+COMPILE_ASSERT(0X20 == TestObj::CONST_VALUE_13, TestObjEnumCONST_VALUE_13IsWrongUseDontCheckEnums);
+COMPILE_ASSERT(0x1abc == TestObj::CONST_VALUE_14, TestObjEnumCONST_VALUE_14IsWrongUseDontCheckEnums);
+COMPILE_ASSERT(15 == TestObj::CONST_IMPL, TestObjEnumCONST_IMPLIsWrongUseDontCheckEnums);
ASSERT_HAS_TRIVIAL_DESTRUCTOR(JSTestObjConstructor);
SVGPoint mutablePointFunction();
[Immutable] SVGPoint immutablePointFunction();
- [ImplementedAs=banana] void orange();
+ [ImplementationFunction=banana] void orange();
attribute [StrictTypeChecking] float strictFloat;
[StrictTypeChecking] bool strictFunction(in DOMString str, in float a, in int b)
GenerateNativeConverter,
JSNoStaticTables,
JSCustomToJS,
- DoNotCheckConstants
+ DontCheckEnums
] Float64Array : ArrayBufferView {
Int32Array foo(in Float32Array array);
};
#if ENABLE(Condition11) || ENABLE(Condition12)
-COMPILE_ASSERT(1 == TestInterface::SUPPLEMENTALCONSTANT1, TestInterfaceEnumSUPPLEMENTALCONSTANT1IsWrongUseDoNotCheckConstants);
+COMPILE_ASSERT(1 == TestInterface::SUPPLEMENTALCONSTANT1, TestInterfaceEnumSUPPLEMENTALCONSTANT1IsWrongUseDontCheckEnums);
#endif
#if ENABLE(Condition11) || ENABLE(Condition12)
-COMPILE_ASSERT(2 == TestInterface::CONST_IMPL, TestInterfaceEnumCONST_IMPLIsWrongUseDoNotCheckConstants);
+COMPILE_ASSERT(2 == TestInterface::CONST_IMPL, TestInterfaceEnumCONST_IMPLIsWrongUseDontCheckEnums);
#endif
v8::Handle<v8::Value> V8TestInterface::constructorCallback(const v8::Arguments& args)
#if ENABLE(Condition1)
-COMPILE_ASSERT(0 == TestObj::CONDITIONAL_CONST, TestObjEnumCONDITIONAL_CONSTIsWrongUseDoNotCheckConstants);
+COMPILE_ASSERT(0 == TestObj::CONDITIONAL_CONST, TestObjEnumCONDITIONAL_CONSTIsWrongUseDontCheckEnums);
#endif
-COMPILE_ASSERT(0 == TestObj::CONST_VALUE_0, TestObjEnumCONST_VALUE_0IsWrongUseDoNotCheckConstants);
-COMPILE_ASSERT(1 == TestObj::CONST_VALUE_1, TestObjEnumCONST_VALUE_1IsWrongUseDoNotCheckConstants);
-COMPILE_ASSERT(2 == TestObj::CONST_VALUE_2, TestObjEnumCONST_VALUE_2IsWrongUseDoNotCheckConstants);
-COMPILE_ASSERT(4 == TestObj::CONST_VALUE_4, TestObjEnumCONST_VALUE_4IsWrongUseDoNotCheckConstants);
-COMPILE_ASSERT(8 == TestObj::CONST_VALUE_8, TestObjEnumCONST_VALUE_8IsWrongUseDoNotCheckConstants);
-COMPILE_ASSERT(-1 == TestObj::CONST_VALUE_9, TestObjEnumCONST_VALUE_9IsWrongUseDoNotCheckConstants);
-COMPILE_ASSERT("my constant string" == TestObj::CONST_VALUE_10, TestObjEnumCONST_VALUE_10IsWrongUseDoNotCheckConstants);
-COMPILE_ASSERT(0xffffffff == TestObj::CONST_VALUE_11, TestObjEnumCONST_VALUE_11IsWrongUseDoNotCheckConstants);
-COMPILE_ASSERT(0x01 == TestObj::CONST_VALUE_12, TestObjEnumCONST_VALUE_12IsWrongUseDoNotCheckConstants);
-COMPILE_ASSERT(0X20 == TestObj::CONST_VALUE_13, TestObjEnumCONST_VALUE_13IsWrongUseDoNotCheckConstants);
-COMPILE_ASSERT(0x1abc == TestObj::CONST_VALUE_14, TestObjEnumCONST_VALUE_14IsWrongUseDoNotCheckConstants);
-COMPILE_ASSERT(15 == TestObj::CONST_IMPL, TestObjEnumCONST_IMPLIsWrongUseDoNotCheckConstants);
+COMPILE_ASSERT(0 == TestObj::CONST_VALUE_0, TestObjEnumCONST_VALUE_0IsWrongUseDontCheckEnums);
+COMPILE_ASSERT(1 == TestObj::CONST_VALUE_1, TestObjEnumCONST_VALUE_1IsWrongUseDontCheckEnums);
+COMPILE_ASSERT(2 == TestObj::CONST_VALUE_2, TestObjEnumCONST_VALUE_2IsWrongUseDontCheckEnums);
+COMPILE_ASSERT(4 == TestObj::CONST_VALUE_4, TestObjEnumCONST_VALUE_4IsWrongUseDontCheckEnums);
+COMPILE_ASSERT(8 == TestObj::CONST_VALUE_8, TestObjEnumCONST_VALUE_8IsWrongUseDontCheckEnums);
+COMPILE_ASSERT(-1 == TestObj::CONST_VALUE_9, TestObjEnumCONST_VALUE_9IsWrongUseDontCheckEnums);
+COMPILE_ASSERT("my constant string" == TestObj::CONST_VALUE_10, TestObjEnumCONST_VALUE_10IsWrongUseDontCheckEnums);
+COMPILE_ASSERT(0xffffffff == TestObj::CONST_VALUE_11, TestObjEnumCONST_VALUE_11IsWrongUseDontCheckEnums);
+COMPILE_ASSERT(0x01 == TestObj::CONST_VALUE_12, TestObjEnumCONST_VALUE_12IsWrongUseDontCheckEnums);
+COMPILE_ASSERT(0X20 == TestObj::CONST_VALUE_13, TestObjEnumCONST_VALUE_13IsWrongUseDontCheckEnums);
+COMPILE_ASSERT(0x1abc == TestObj::CONST_VALUE_14, TestObjEnumCONST_VALUE_14IsWrongUseDontCheckEnums);
+COMPILE_ASSERT(15 == TestObj::CONST_IMPL, TestObjEnumCONST_IMPLIsWrongUseDontCheckEnums);
v8::Handle<v8::Value> V8TestObj::constructorCallback(const v8::Arguments& args)
{
interface [
Conditional=CSS_FILTERS,
IndexedGetter,
- DoNotCheckConstants
+ DontCheckEnums
] WebKitCSSFilterValue : CSSValueList {
// OperationTypes
interface [
IndexedGetter,
- DoNotCheckConstants
+ DontCheckEnums
] WebKitCSSTransformValue : CSSValueList {
// OperationTypes
interface [
JSNoStaticTables,
- DoNotCheckConstants
+ DontCheckEnums
] DOMCoreException {
readonly attribute unsigned short code;
readonly attribute DOMImplementation implementation;
readonly attribute Element documentElement;
- [ReturnNewObject] Element createElement(in [TreatNullAs=NullString,Optional=CallWithDefaultValue] DOMString tagName)
+ [ReturnsNew] Element createElement(in [TreatNullAs=NullString,Optional=CallWithDefaultValue] DOMString tagName)
raises (DOMException);
DocumentFragment createDocumentFragment();
- [ReturnNewObject] Text createTextNode(in [Optional=CallWithDefaultValue] DOMString data);
- [ReturnNewObject] Comment createComment(in [Optional=CallWithDefaultValue] DOMString data);
- [ReturnNewObject] CDATASection createCDATASection(in [Optional=CallWithDefaultValue] DOMString data)
+ [ReturnsNew] Text createTextNode(in [Optional=CallWithDefaultValue] DOMString data);
+ [ReturnsNew] Comment createComment(in [Optional=CallWithDefaultValue] DOMString data);
+ [ReturnsNew] CDATASection createCDATASection(in [Optional=CallWithDefaultValue] DOMString data)
raises(DOMException);
- [ObjCLegacyUnnamedParameters, ReturnNewObject] ProcessingInstruction createProcessingInstruction(in [Optional=CallWithDefaultValue] DOMString target,
+ [ObjCLegacyUnnamedParameters, ReturnsNew] ProcessingInstruction createProcessingInstruction(in [Optional=CallWithDefaultValue] DOMString target,
in [Optional=CallWithDefaultValue] DOMString data)
raises (DOMException);
- [ReturnNewObject] Attr createAttribute(in [Optional=CallWithDefaultValue] DOMString name)
+ [ReturnsNew] Attr createAttribute(in [Optional=CallWithDefaultValue] DOMString name)
raises (DOMException);
- [ReturnNewObject] EntityReference createEntityReference(in [Optional=CallWithDefaultValue] DOMString name)
+ [ReturnsNew] EntityReference createEntityReference(in [Optional=CallWithDefaultValue] DOMString name)
raises(DOMException);
NodeList getElementsByTagName(in [Optional=CallWithDefaultValue] DOMString tagname);
// Introduced in DOM Level 2:
- [ObjCLegacyUnnamedParameters, ReturnNewObject] Node importNode(in [Optional=CallWithDefaultValue] Node importedNode,
+ [ObjCLegacyUnnamedParameters, ReturnsNew] Node importNode(in [Optional=CallWithDefaultValue] Node importedNode,
in [Optional] boolean deep)
raises (DOMException);
-<<<<<<< HEAD
[ObjCLegacyUnnamedParameters, ReturnsNew] Element createElementNS(in [TreatNullAs=NullString,Optional=CallWithDefaultValue] DOMString namespaceURI,
in [TreatNullAs=NullString,Optional=CallWithDefaultValue] DOMString qualifiedName)
raises (DOMException);
[ObjCLegacyUnnamedParameters, ReturnsNew] Attr createAttributeNS(in [TreatNullAs=NullString,Optional=CallWithDefaultValue] DOMString namespaceURI,
in [TreatNullAs=NullString,Optional=CallWithDefaultValue] DOMString qualifiedName)
-=======
- [ObjCLegacyUnnamedParameters, ReturnNewObject] Element createElementNS(in [TreatNullAs=EmptyString,Optional=CallWithDefaultValue] DOMString namespaceURI,
- in [TreatNullAs=EmptyString,Optional=CallWithDefaultValue] DOMString qualifiedName)
- raises (DOMException);
- [ObjCLegacyUnnamedParameters, ReturnNewObject] Attr createAttributeNS(in [TreatNullAs=EmptyString,Optional=CallWithDefaultValue] DOMString namespaceURI,
- in [TreatNullAs=EmptyString,Optional=CallWithDefaultValue] DOMString qualifiedName)
->>>>>>> temp
raises (DOMException);
[ObjCLegacyUnnamedParameters] NodeList getElementsByTagNameNS(in [TreatNullAs=NullString,Optional=CallWithDefaultValue] DOMString namespaceURI,
in [Optional=CallWithDefaultValue] DOMString localName);
#endif
#if defined(ENABLE_TOUCH_EVENTS) && ENABLE_TOUCH_EVENTS
- [ReturnNewObject, V8EnabledAtRuntime] Touch createTouch(in [Optional=CallWithDefaultValue] DOMWindow window,
+ [ReturnsNew, V8EnabledAtRuntime] Touch createTouch(in [Optional=CallWithDefaultValue] DOMWindow window,
in [Optional=CallWithDefaultValue] EventTarget target,
in [Optional=CallWithDefaultValue] long identifier,
in [Optional=CallWithDefaultValue] long pageX,
in [Optional=CallWithDefaultValue] float webkitRotationAngle,
in [Optional=CallWithDefaultValue] float webkitForce)
raises (DOMException);
- [ReturnNewObject, V8EnabledAtRuntime, Custom] TouchList createTouchList()
+ [ReturnsNew, V8EnabledAtRuntime, Custom] TouchList createTouchList()
raises (DOMException);
#endif
// Introduced in DOM Level 2:
interface [
JSNoStaticTables,
- DoNotCheckConstants
+ DontCheckEnums
] EventException {
readonly attribute unsigned short code;
module ranges {
interface [
- DoNotCheckConstants
+ DontCheckEnums
] RangeException {
readonly attribute unsigned short code;
module html {
interface [
Conditional=BLOB|FILE_SYSTEM,
- DoNotCheckConstants,
+ DontCheckEnums,
JSNoStaticTables
] FileException {
module html {
interface [
Conditional=BLOB|FILE_SYSTEM,
- DoNotCheckConstants,
+ DontCheckEnums,
JSNoStaticTables
] OperationNotAllowedException {
readonly attribute unsigned short code;
attribute [Reflect] DOMString autocomplete;
#if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
- [ImplementedAs=submitFromJavaScript] void submit();
+ [ImplementationFunction=submitFromJavaScript] void submit();
#else
void submit();
#endif
GenerateNativeConverter,
JSNoStaticTables,
JSCustomToJS,
- DoNotCheckConstants
+ DontCheckEnums
] Float32Array : ArrayBufferView {
const unsigned int BYTES_PER_ELEMENT = 4;
GenerateNativeConverter,
JSNoStaticTables,
JSCustomToJS,
- DoNotCheckConstants
+ DontCheckEnums
] Float64Array : ArrayBufferView {
const unsigned int BYTES_PER_ELEMENT = 8;
GenerateNativeConverter,
JSNoStaticTables,
JSCustomToJS,
- DoNotCheckConstants
+ DontCheckEnums
] Int16Array : ArrayBufferView {
const unsigned int BYTES_PER_ELEMENT = 2;
GenerateNativeConverter,
JSNoStaticTables,
JSCustomToJS,
- DoNotCheckConstants
+ DontCheckEnums
] Int32Array : ArrayBufferView {
const unsigned int BYTES_PER_ELEMENT = 4;
GenerateNativeConverter,
JSNoStaticTables,
JSCustomToJS,
- DoNotCheckConstants
+ DontCheckEnums
] Int8Array : ArrayBufferView {
const unsigned int BYTES_PER_ELEMENT = 1;
Conditional=WEBGL,
JSGenerateIsReachable=ImplContext,
OmitConstructor,
- DoNotCheckConstants
+ DontCheckEnums
] OESStandardDerivatives {
const unsigned int FRAGMENT_SHADER_DERIVATIVE_HINT_OES = 0x8B8B;
};
Conditional=WEBGL,
JSGenerateIsReachable=ImplContext,
OmitConstructor,
- DoNotCheckConstants
+ DontCheckEnums
] OESVertexArrayObject {
const unsigned int VERTEX_ARRAY_BINDING_OES = 0x85B5;
GenerateNativeConverter,
JSNoStaticTables,
JSCustomToJS,
- DoNotCheckConstants
+ DontCheckEnums
] Uint16Array : ArrayBufferView {
const unsigned int BYTES_PER_ELEMENT = 2;
GenerateNativeConverter,
JSNoStaticTables,
JSCustomToJS,
- DoNotCheckConstants
+ DontCheckEnums
] Uint32Array : ArrayBufferView {
const unsigned int BYTES_PER_ELEMENT = 4;
GenerateNativeConverter,
JSNoStaticTables,
JSCustomToJS,
- DoNotCheckConstants
+ DontCheckEnums
] Uint8Array : ArrayBufferView {
const unsigned int BYTES_PER_ELEMENT = 1;
GenerateNativeConverter,
JSNoStaticTables,
JSCustomToJS,
- DoNotCheckConstants
+ DontCheckEnums
] Uint8ClampedArray : Uint8Array {
const unsigned int BYTES_PER_ELEMENT = 1;
Conditional=WEBGL,
JSGenerateIsReachable=ImplContext,
OmitConstructor,
- DoNotCheckConstants
+ DontCheckEnums
] WebGLCompressedTextures {
/* Compressed Texture Formats */
const unsigned int COMPRESSED_RGB_S3TC_DXT1_EXT = 0x83F0;
Conditional=WEBGL,
JSGenerateIsReachable=ImplContext,
OmitConstructor,
- DoNotCheckConstants
+ DontCheckEnums
] WebGLDebugRendererInfo {
const unsigned int UNMASKED_VENDOR_WEBGL = 0x9245;
const unsigned int UNMASKED_RENDERER_WEBGL = 0x9246;
interface [
Conditional=WEBGL,
JSCustomMarkFunction,
- DoNotCheckConstants
+ DontCheckEnums
] WebGLRenderingContext : CanvasRenderingContext {
/* ClearBufferMask */
interface [
Conditional=JAVASCRIPT_DEBUGGER,
OmitConstructor,
- DoNotCheckConstants
+ DontCheckEnums
] JavaScriptCallFrame {
// Scope type
interface [
EventTarget,
OmitConstructor,
- DoNotCheckConstants,
+ DontCheckEnums,
JSGenerateIsReachable=ImplFrame
] DOMApplicationCache {
// update status
[CustomArgumentHandling] void dir();
[CustomArgumentHandling] void dirxml();
[V8Custom, CustomArgumentHandling] void trace();
- [V8Custom, CustomArgumentHandling, ImplementedAs=assertCondition] void assert(in boolean condition);
+ [V8Custom, CustomArgumentHandling, ImplementationFunction=assertCondition] void assert(in boolean condition);
[CustomArgumentHandling] void count();
[CustomArgumentHandling] void markTimeline();
] DOMWindow {
// DOM Level 0
attribute [Replaceable] Screen screen;
- attribute [Replaceable, DoNotCheckDomainSecurityOnGetter, JSCustomGetter] History history;
+ attribute [Replaceable, DoNotCheckDomainSecurityOnGet, JSCustomGetter] History history;
attribute [Replaceable] BarInfo locationbar;
attribute [Replaceable] BarInfo menubar;
attribute [Replaceable] BarInfo personalbar;
readonly attribute [DoNotCheckDomainSecurity] boolean closed;
- attribute [Replaceable, DoNotCheckDomainSecurityOnGetter] unsigned long length;
+ attribute [Replaceable, DoNotCheckDomainSecurityOnGet] unsigned long length;
attribute DOMString name;
#endif
// Self referential attributes
- attribute [Replaceable, DoNotCheckDomainSecurityOnGetter] DOMWindow self;
+ attribute [Replaceable, DoNotCheckDomainSecurityOnGet] DOMWindow self;
readonly attribute [DoNotCheckDomainSecurity, V8Unforgeable] DOMWindow window;
- attribute [Replaceable, DoNotCheckDomainSecurityOnGetter] DOMWindow frames;
+ attribute [Replaceable, DoNotCheckDomainSecurityOnGet] DOMWindow frames;
- attribute [Replaceable, DoNotCheckDomainSecurityOnGetter, V8CustomSetter] DOMWindow opener;
- attribute [Replaceable, DoNotCheckDomainSecurityOnGetter] DOMWindow parent;
- attribute [Replaceable, DoNotCheckDomainSecurityOnGetter, V8Unforgeable, V8ReadOnly] DOMWindow top;
+ attribute [Replaceable, DoNotCheckDomainSecurityOnGet, V8CustomSetter] DOMWindow opener;
+ attribute [Replaceable, DoNotCheckDomainSecurityOnGet] DOMWindow parent;
+ attribute [Replaceable, DoNotCheckDomainSecurityOnGet, V8Unforgeable, V8ReadOnly] DOMWindow top;
// DOM Level 2 AbstractView Interface
readonly attribute Document document;
OmitConstructor
] Location {
#if !defined(LANGUAGE_CPP) || !LANGUAGE_CPP
- attribute [DoNotCheckDomainSecurityOnSetter, CustomSetter, V8Unforgeable] DOMString href;
+ attribute [DoNotCheckDomainSecurityOnSet, CustomSetter, V8Unforgeable] DOMString href;
#endif
[Custom, V8OnInstance] void assign(in [Optional=CallWithDefaultValue] DOMString url);
#endif
#if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
- [NotEnumerable, Custom, V8OnInstance, V8ReadOnly, ImplementedAs=toStringFunction] DOMString toString();
+ [NotEnumerable, Custom, V8OnInstance, V8ReadOnly, ImplementationFunction=toStringFunction] DOMString toString();
#endif
#if defined(V8_BINDING) && V8_BINDING
[NotEnumerable, Custom, V8OnInstance, V8ReadOnly] DOMObject valueOf();
[CallWith=ScriptExecutionContext] IDBRequest update(in SerializedScriptValue value)
raises (IDBDatabaseException);
- [ImplementedAs=continueFunction] void continue(in [Optional] IDBKey key)
+ [ImplementationFunction=continueFunction] void continue(in [Optional] IDBKey key)
raises (IDBDatabaseException);
- [CallWith=ScriptExecutionContext, ImplementedAs=deleteFunction] IDBRequest delete()
+ [CallWith=ScriptExecutionContext, ImplementationFunction=deleteFunction] IDBRequest delete()
raises (IDBDatabaseException);
};
}
interface [
Conditional=INDEXED_DATABASE,
- DoNotCheckConstants
+ DontCheckEnums
] IDBDatabaseException {
readonly attribute unsigned short code;
raises (IDBDatabaseException);
[CallWith=ScriptExecutionContext] IDBRequest add(in SerializedScriptValue value, in [Optional] IDBKey key)
raises (IDBDatabaseException);
- [CallWith=ScriptExecutionContext, ImplementedAs=deleteFunction] IDBRequest delete(in IDBKey key)
+ [CallWith=ScriptExecutionContext, ImplementationFunction=deleteFunction] IDBRequest delete(in IDBKey key)
raises (IDBDatabaseException);
[CallWith=ScriptExecutionContext] IDBRequest clear()
raises (IDBDatabaseException);
interface [
Conditional=SQL_DATABASE,
JSNoStaticTables,
- DoNotCheckConstants
+ DontCheckEnums
] SQLException {
readonly attribute unsigned long code;
readonly attribute DOMString message;
interface [
Conditional=SVG&FILTERS,
- DoNotCheckConstants
+ DontCheckEnums
] SVGComponentTransferFunctionElement : SVGElement {
// Component Transfer Types
const unsigned short SVG_FECOMPONENTTRANSFER_TYPE_UNKNOWN = 0;
interface [
Conditional=SVG,
- DoNotCheckConstants
+ DontCheckEnums
] SVGException {
readonly attribute unsigned short code;
interface [
Conditional=SVG&FILTERS,
- DoNotCheckConstants
+ DontCheckEnums
] SVGFEBlendElement : SVGElement,
SVGFilterPrimitiveStandardAttributes {
// Blend Mode Types
interface [
Conditional=SVG&FILTERS,
- DoNotCheckConstants
+ DontCheckEnums
] SVGFEColorMatrixElement : SVGElement,
SVGFilterPrimitiveStandardAttributes {
// Color Matrix Types
interface [
Conditional=SVG&FILTERS,
- DoNotCheckConstants
+ DontCheckEnums
] SVGFECompositeElement : SVGElement,
SVGFilterPrimitiveStandardAttributes {
// Composite Operators
interface [
Conditional=SVG&FILTERS,
- DoNotCheckConstants
+ DontCheckEnums
] SVGFEConvolveMatrixElement : SVGElement,
SVGFilterPrimitiveStandardAttributes {
// Edge Mode Values
interface [
Conditional=SVG&FILTERS,
- DoNotCheckConstants
+ DontCheckEnums
] SVGFEDisplacementMapElement : SVGElement,
SVGFilterPrimitiveStandardAttributes {
// Channel Selectors
interface [
Conditional=SVG&FILTERS,
- DoNotCheckConstants
+ DontCheckEnums
] SVGFEMorphologyElement : SVGElement,
SVGFilterPrimitiveStandardAttributes {
// Morphology Operators
interface [
Conditional=SVG&FILTERS,
- DoNotCheckConstants
+ DontCheckEnums
] SVGFETurbulenceElement : SVGElement,
SVGFilterPrimitiveStandardAttributes {
// Turbulence Types
interface [
Conditional=SVG,
- DoNotCheckConstants
+ DontCheckEnums
] SVGGradientElement : SVGElement,
SVGURIReference,
SVGExternalResourcesRequired,
interface [
JSNoStaticTables,
- DoNotCheckConstants
+ DontCheckEnums
] XMLHttpRequestException {
readonly attribute unsigned short code;
module xpath {
interface [
- DoNotCheckConstants
+ DontCheckEnums
] XPathException {
readonly attribute unsigned short code;