[SCM] WebKit Debian packaging branch, webkit-1.1, updated. upstream/1.1.17-1283-gcf603cf
zimmermann at webkit.org
zimmermann at webkit.org
Tue Jan 5 23:59:35 UTC 2010
The following commit has been merged in the webkit-1.1 branch:
commit d0c582e21d4d1aa2cd19ec67017c0140b7c081b2
Author: zimmermann at webkit.org <zimmermann at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Thu Dec 24 00:55:01 2009 +0000
2009-12-23 Nikolas Zimmermann <nzimmermann at rim.com>
Reviewed by Eric Seidel.
Reverse JS GenerateConstructor logic
https://bugs.webkit.org/show_bug.cgi?id=32910
Make 'GenerateConstructor' the default setting for all classes, defined in IDL files. The flag is now obsolete and
can be removed from all IDL files in a follow-up patch. Add new 'OmitConstructor' flag, that allows to restore the
old default behaviour: do not generate JSFoobarConstructor class.
No change in functionality, despite the fact that we're generating a lot more constructors now, as they have to
be exposed through DOMWindow.idl -- this can be done per affected class in follow-up patches. Especially the SVG
classes have to be exposed, most of them are missing JS constructors so far.
As side effect HTMLOptionsCollection is now correctly exposing its constructor, thus fixing a test in fast/dom/wrapper-classes.html
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@52534 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index 38bb53c..eff7be8 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,14 @@
+2009-12-23 Nikolas Zimmermann <nzimmermann at rim.com>
+
+ Reviewed by Eric Seidel.
+
+ Reverse JS GenerateConstructor logic
+ https://bugs.webkit.org/show_bug.cgi?id=32910
+
+ HTMLOptionsCollection correctly exposes its JS constructor now, thus fixing its test in fast/dom/wrapper-classes.html
+
+ * fast/dom/wrapper-classes-expected.txt:
+
2009-12-23 Brian Weinstein <bweinstein at apple.com>
Rubber-stamped by Eric Seidel.
diff --git a/LayoutTests/fast/dom/wrapper-classes-expected.txt b/LayoutTests/fast/dom/wrapper-classes-expected.txt
index f3f0080..ea744dd 100644
--- a/LayoutTests/fast/dom/wrapper-classes-expected.txt
+++ b/LayoutTests/fast/dom/wrapper-classes-expected.txt
@@ -142,7 +142,7 @@ PASS jsWrapperClass(document.__proto__) is 'HTMLDocumentPrototype'
PASS jsWrapperClass(document.constructor) is 'HTMLDocumentConstructor'
PASS jsWrapperClass(document.createElement('select').options) is 'HTMLOptionsCollection'
FAIL jsWrapperClass(document.createElement('select').options.__proto__) should be HTMLOptionsCollectionPrototype. Was HTMLCollectionPrototype.
-FAIL jsWrapperClass(document.createElement('select').options.constructor) should be HTMLOptionsCollectionConstructor. Was Function.
+PASS jsWrapperClass(document.createElement('select').options.constructor) is 'HTMLOptionsCollectionConstructor'
HTML Elements
diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index 3655295..4184034 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,3 +1,83 @@
+2009-12-23 Nikolas Zimmermann <nzimmermann at rim.com>
+
+ Reviewed by Eric Seidel.
+
+ Reverse JS GenerateConstructor logic
+ https://bugs.webkit.org/show_bug.cgi?id=32910
+
+ Make 'GenerateConstructor' the default setting for all classes, defined in IDL files. The flag is now obsolete and
+ can be removed from all IDL files in a follow-up patch. Add new 'OmitConstructor' flag, that allows to restore the
+ old default behaviour: do not generate JSFoobarConstructor class.
+
+ No change in functionality, despite the fact that we're generating a lot more constructors now, as they have to
+ be exposed through DOMWindow.idl -- this can be done per affected class in follow-up patches. Especially the SVG
+ classes have to be exposed, most of them are missing JS constructors so far.
+
+ As side effect HTMLOptionsCollection is now correctly exposing its constructor, thus fixing a test in fast/dom/wrapper-classes.html
+
+ * bindings/scripts/CodeGeneratorJS.pm:
+ * css/CSSUnknownRule.idl:
+ * css/WebKitCSSMatrix.idl:
+ * dom/EventListener.idl:
+ * dom/EventTarget.idl:
+ * dom/MessageChannel.idl:
+ * html/TimeRanges.idl:
+ * html/ValidityState.idl:
+ * html/VoidCallback.idl:
+ * html/canvas/CanvasGradient.idl:
+ * html/canvas/CanvasPattern.idl:
+ * html/canvas/CanvasPixelArray.idl:
+ * html/canvas/WebGLActiveInfo.idl:
+ * html/canvas/WebGLArray.idl:
+ * html/canvas/WebGLArrayBuffer.idl:
+ * html/canvas/WebGLBuffer.idl:
+ * html/canvas/WebGLByteArray.idl:
+ * html/canvas/WebGLFloatArray.idl:
+ * html/canvas/WebGLFramebuffer.idl:
+ * html/canvas/WebGLIntArray.idl:
+ * html/canvas/WebGLProgram.idl:
+ * html/canvas/WebGLRenderbuffer.idl:
+ * html/canvas/WebGLShader.idl:
+ * html/canvas/WebGLShortArray.idl:
+ * html/canvas/WebGLTexture.idl:
+ * html/canvas/WebGLUniformLocation.idl:
+ * html/canvas/WebGLUnsignedByteArray.idl:
+ * html/canvas/WebGLUnsignedIntArray.idl:
+ * html/canvas/WebGLUnsignedShortArray.idl:
+ * inspector/JavaScriptCallFrame.idl:
+ * loader/appcache/DOMApplicationCache.idl:
+ * notifications/Notification.idl:
+ * notifications/NotificationCenter.idl:
+ * page/AbstractView.idl:
+ * page/BarInfo.idl:
+ * page/Console.idl:
+ * page/Coordinates.idl:
+ * page/DOMSelection.idl:
+ * page/DOMWindow.idl:
+ * page/EventSource.idl:
+ * page/Geolocation.idl:
+ * page/Geoposition.idl:
+ * page/History.idl:
+ * page/Location.idl:
+ * page/Navigator.idl:
+ * page/Screen.idl:
+ * page/WebKitPoint.idl:
+ * page/WorkerNavigator.idl:
+ * storage/Database.idl:
+ * storage/SQLError.idl:
+ * storage/SQLResultSet.idl:
+ * storage/SQLResultSetRowList.idl:
+ * storage/SQLTransaction.idl:
+ * websockets/WebSocket.idl:
+ * workers/DedicatedWorkerContext.idl:
+ * workers/SharedWorker.idl:
+ * workers/SharedWorkerContext.idl:
+ * workers/Worker.idl:
+ * workers/WorkerContext.idl:
+ * xml/XMLHttpRequest.idl:
+ * xml/XPathNSResolver.idl:
+ * xml/XSLTProcessor.idl:
+
2009-12-23 Adam Barth <abarth at webkit.org>
Reviewed by Eric Seidel.
diff --git a/WebCore/bindings/scripts/CodeGeneratorJS.pm b/WebCore/bindings/scripts/CodeGeneratorJS.pm
index a5e6bb6..001c858 100644
--- a/WebCore/bindings/scripts/CodeGeneratorJS.pm
+++ b/WebCore/bindings/scripts/CodeGeneratorJS.pm
@@ -576,7 +576,7 @@ sub GenerateHeader
$implIncludes{"${className}Custom.h"} = 1 if $dataNode->extendedAttributes->{"CustomHeader"} || $dataNode->extendedAttributes->{"CustomPutFunction"} || $dataNode->extendedAttributes->{"DelegatingPutFunction"};
my $hasGetter = $numAttributes > 0
- || $dataNode->extendedAttributes->{"GenerateConstructor"}
+ || !$dataNode->extendedAttributes->{"OmitConstructor"}
|| $dataNode->extendedAttributes->{"HasIndexGetter"}
|| $dataNode->extendedAttributes->{"HasCustomIndexGetter"}
|| $dataNode->extendedAttributes->{"HasNumericIndexGetter"}
@@ -679,7 +679,7 @@ sub GenerateHeader
}
# Constructor object getter
- push(@headerContent, " static JSC::JSValue getConstructor(JSC::ExecState*, JSC::JSGlobalObject*);\n") if $dataNode->extendedAttributes->{"GenerateConstructor"};
+ push(@headerContent, " static JSC::JSValue getConstructor(JSC::ExecState*, JSC::JSGlobalObject*);\n") if !$dataNode->extendedAttributes->{"OmitConstructor"};
my $numCustomFunctions = 0;
my $numCustomAttributes = 0;
@@ -862,7 +862,7 @@ sub GenerateHeader
}
}
- if ($numAttributes > 0 || $dataNode->extendedAttributes->{"GenerateConstructor"}) {
+ if ($numAttributes > 0 || !$dataNode->extendedAttributes->{"OmitConstructor"}) {
push(@headerContent,"// Attributes\n\n");
foreach my $attribute (@{$dataNode->attributes}) {
my $getter = "js" . $interfaceName . $codeGenerator->WK_ucfirst($attribute->signature->name) . ($attribute->signature->type =~ /Constructor$/ ? "Constructor" : "");
@@ -873,7 +873,7 @@ sub GenerateHeader
}
}
- if ($dataNode->extendedAttributes->{"GenerateConstructor"}) {
+ if (!$dataNode->extendedAttributes->{"OmitConstructor"}) {
my $getter = "js" . $interfaceName . "Constructor";
push(@headerContent, "JSC::JSValue ${getter}(JSC::ExecState*, const JSC::Identifier&, const JSC::PropertySlot&);\n");
}
@@ -942,7 +942,7 @@ sub GenerateImplementation
# - Add all attributes in a hashtable definition
my $numAttributes = @{$dataNode->attributes};
- $numAttributes++ if $dataNode->extendedAttributes->{"GenerateConstructor"};
+ $numAttributes++ if !$dataNode->extendedAttributes->{"OmitConstructor"};
if ($numAttributes > 0) {
my $hashSize = $numAttributes;
@@ -983,7 +983,7 @@ sub GenerateImplementation
}
}
- if ($dataNode->extendedAttributes->{"GenerateConstructor"}) {
+ if (!$dataNode->extendedAttributes->{"OmitConstructor"}) {
push(@hashKeys, "constructor");
my $getter = "js" . $interfaceName . "Constructor";
push(@hashValue1, $getter);
@@ -1001,7 +1001,7 @@ sub GenerateImplementation
my $numFunctions = @{$dataNode->functions};
# - Add all constants
- if ($dataNode->extendedAttributes->{"GenerateConstructor"}) {
+ if (!$dataNode->extendedAttributes->{"OmitConstructor"}) {
$hashSize = $numConstants;
$hashName = $className . "ConstructorTable";
@@ -1239,7 +1239,7 @@ sub GenerateImplementation
}
my $hasGetter = $numAttributes > 0
- || $dataNode->extendedAttributes->{"GenerateConstructor"}
+ || !$dataNode->extendedAttributes->{"OmitConstructor"}
|| $dataNode->extendedAttributes->{"HasIndexGetter"}
|| $dataNode->extendedAttributes->{"HasCustomIndexGetter"}
|| $dataNode->extendedAttributes->{"HasNumericIndexGetter"}
@@ -1390,7 +1390,7 @@ sub GenerateImplementation
push(@implContent, "\n");
}
- if ($dataNode->extendedAttributes->{"GenerateConstructor"}) {
+ if (!$dataNode->extendedAttributes->{"OmitConstructor"}) {
my $constructorFunctionName = "js" . $interfaceName . "Constructor";
push(@implContent, "JSValue ${constructorFunctionName}(ExecState* exec, const Identifier&, const PropertySlot& slot)\n");
@@ -1548,7 +1548,7 @@ sub GenerateImplementation
push(@implContent, "}\n\n");
}
- if ($dataNode->extendedAttributes->{"GenerateConstructor"}) {
+ if (!$dataNode->extendedAttributes->{"OmitConstructor"}) {
push(@implContent, "JSValue ${className}::getConstructor(ExecState* exec, JSGlobalObject* globalObject)\n{\n");
push(@implContent, " return getDOMConstructor<${className}Constructor>(exec, static_cast<JSDOMGlobalObject*>(globalObject));\n");
push(@implContent, "}\n\n");
diff --git a/WebCore/css/CSSUnknownRule.idl b/WebCore/css/CSSUnknownRule.idl
index 2365cd2..059135a 100644
--- a/WebCore/css/CSSUnknownRule.idl
+++ b/WebCore/css/CSSUnknownRule.idl
@@ -23,7 +23,8 @@ module css {
// Introduced in DOM Level 2:
interface [
InterfaceUUID=35670098-b732-419c-b7cd-dc0d5e26d5e3,
- ImplementationUUID=4b755f87-2509-4b98-a953-8ecb88fe4b21
+ ImplementationUUID=4b755f87-2509-4b98-a953-8ecb88fe4b21,
+ OmitConstructor
] CSSUnknownRule : CSSRule {
};
diff --git a/WebCore/css/WebKitCSSMatrix.idl b/WebCore/css/WebKitCSSMatrix.idl
index 6b22da1..73a8658 100644
--- a/WebCore/css/WebKitCSSMatrix.idl
+++ b/WebCore/css/WebKitCSSMatrix.idl
@@ -26,7 +26,7 @@
module css {
// Introduced in DOM Level ?:
- interface WebKitCSSMatrix {
+ interface [OmitConstructor] WebKitCSSMatrix {
// These attributes are simple aliases for certain elements of the 4x4 matrix
attribute double a; // alias for m11
diff --git a/WebCore/dom/EventListener.idl b/WebCore/dom/EventListener.idl
index 1edf52f..eadd9cd 100644
--- a/WebCore/dom/EventListener.idl
+++ b/WebCore/dom/EventListener.idl
@@ -25,6 +25,7 @@ module events {
NoStaticTables,
ObjCProtocol,
PureInterface,
+ OmitConstructor,
InterfaceUUID=B04F2AE3-71E2-4ebe-ABFE-EF4938354082,
] EventListener {
void handleEvent(in Event evt);
diff --git a/WebCore/dom/EventTarget.idl b/WebCore/dom/EventTarget.idl
index 844dc32..b6efc37 100644
--- a/WebCore/dom/EventTarget.idl
+++ b/WebCore/dom/EventTarget.idl
@@ -24,6 +24,7 @@ module events {
interface [
ObjCProtocol,
PureInterface,
+ OmitConstructor
InterfaceUUID=1D71C7EC-0BA0-4044-BDFD-56B3E8F5F9D4
] EventTarget {
[OldStyleObjC] void addEventListener(in DOMString type,
diff --git a/WebCore/dom/MessageChannel.idl b/WebCore/dom/MessageChannel.idl
index 4e0892b..3adb354 100644
--- a/WebCore/dom/MessageChannel.idl
+++ b/WebCore/dom/MessageChannel.idl
@@ -26,7 +26,7 @@
module events {
- interface [CustomMarkFunction, NoStaticTables] MessageChannel {
+ interface [CustomMarkFunction, NoStaticTables, OmitConstructor] MessageChannel {
readonly attribute MessagePort port1;
readonly attribute MessagePort port2;
diff --git a/WebCore/html/TimeRanges.idl b/WebCore/html/TimeRanges.idl
index d8686be..992b12a 100644
--- a/WebCore/html/TimeRanges.idl
+++ b/WebCore/html/TimeRanges.idl
@@ -25,7 +25,7 @@
module html {
-interface [Conditional=VIDEO] TimeRanges {
+interface [Conditional=VIDEO, OmitConstructor] TimeRanges {
readonly attribute unsigned long length;
float start(in unsigned long index)
raises (DOMException);
diff --git a/WebCore/html/ValidityState.idl b/WebCore/html/ValidityState.idl
index b926852..576fab4 100644
--- a/WebCore/html/ValidityState.idl
+++ b/WebCore/html/ValidityState.idl
@@ -22,7 +22,7 @@
module html {
- interface ValidityState {
+ interface [OmitConstructor] ValidityState {
readonly attribute boolean valueMissing;
readonly attribute boolean typeMismatch;
readonly attribute boolean patternMismatch;
diff --git a/WebCore/html/VoidCallback.idl b/WebCore/html/VoidCallback.idl
index 3682cf7..8a7cf19 100644
--- a/WebCore/html/VoidCallback.idl
+++ b/WebCore/html/VoidCallback.idl
@@ -24,7 +24,7 @@
*/
module html {
- interface [CustomNativeConverter] VoidCallback {
+ interface [CustomNativeConverter, OmitConstructor] VoidCallback {
void handleEvent();
};
}
diff --git a/WebCore/html/canvas/CanvasGradient.idl b/WebCore/html/canvas/CanvasGradient.idl
index a925a26..32813bc 100644
--- a/WebCore/html/canvas/CanvasGradient.idl
+++ b/WebCore/html/canvas/CanvasGradient.idl
@@ -27,7 +27,8 @@ module html {
interface [
InterfaceUUID=bb1108ea-6b8c-4a08-894a-218628630cdb,
- ImplementationUUID=a2942ae6-2731-4286-98cc-9d5e79e20de1
+ ImplementationUUID=a2942ae6-2731-4286-98cc-9d5e79e20de1,
+ OmitConstructor
] CanvasGradient {
void addColorStop(in float offset, in DOMString color)
diff --git a/WebCore/html/canvas/CanvasPattern.idl b/WebCore/html/canvas/CanvasPattern.idl
index 1cac8f8..492c93f 100644
--- a/WebCore/html/canvas/CanvasPattern.idl
+++ b/WebCore/html/canvas/CanvasPattern.idl
@@ -27,7 +27,8 @@ module html {
interface [
InterfaceUUID=c2131348-6d8c-47b5-86cc-d41aff34ce15,
- ImplementationUUID=82f5d713-3d17-44dd-aa4a-7766fe345940
+ ImplementationUUID=82f5d713-3d17-44dd-aa4a-7766fe345940,
+ OmitConstructor
] CanvasPattern {
};
diff --git a/WebCore/html/canvas/CanvasPixelArray.idl b/WebCore/html/canvas/CanvasPixelArray.idl
index 2295af6..60726cd 100644
--- a/WebCore/html/canvas/CanvasPixelArray.idl
+++ b/WebCore/html/canvas/CanvasPixelArray.idl
@@ -29,6 +29,7 @@
module html {
#if !defined(LANGUAGE_JAVASCRIPT) || !LANGUAGE_JAVASCRIPT || defined(V8_BINDING) && V8_BINDING
interface [
+ OmitConstructor,
CustomHeader,
HasNumericIndexGetter,
HasCustomIndexSetter
diff --git a/WebCore/html/canvas/WebGLActiveInfo.idl b/WebCore/html/canvas/WebGLActiveInfo.idl
index a3f79b8..17bb4d6 100644
--- a/WebCore/html/canvas/WebGLActiveInfo.idl
+++ b/WebCore/html/canvas/WebGLActiveInfo.idl
@@ -27,6 +27,7 @@ module html {
interface [
Conditional=3D_CANVAS,
+ OmitConstructor
] WebGLActiveInfo {
readonly attribute int size;
readonly attribute unsigned int type;
diff --git a/WebCore/html/canvas/WebGLArray.idl b/WebCore/html/canvas/WebGLArray.idl
index 156ca5b..02e1f51 100644
--- a/WebCore/html/canvas/WebGLArray.idl
+++ b/WebCore/html/canvas/WebGLArray.idl
@@ -24,7 +24,7 @@
*/
module html {
- interface [Conditional=3D_CANVAS, CustomToJS] WebGLArray {
+ interface [Conditional=3D_CANVAS, CustomToJS, OmitConstructor] WebGLArray {
readonly attribute WebGLArrayBuffer buffer;
readonly attribute unsigned long byteOffset;
readonly attribute unsigned long byteLength;
diff --git a/WebCore/html/canvas/WebGLArrayBuffer.idl b/WebCore/html/canvas/WebGLArrayBuffer.idl
index ec4a67a..193c36e 100644
--- a/WebCore/html/canvas/WebGLArrayBuffer.idl
+++ b/WebCore/html/canvas/WebGLArrayBuffer.idl
@@ -24,7 +24,7 @@
*/
module html {
- interface [Conditional=3D_CANVAS] WebGLArrayBuffer {
+ interface [Conditional=3D_CANVAS, OmitConstructor] WebGLArrayBuffer {
readonly attribute int byteLength;
};
}
diff --git a/WebCore/html/canvas/WebGLBuffer.idl b/WebCore/html/canvas/WebGLBuffer.idl
index 30b7606..9dd97c0 100644
--- a/WebCore/html/canvas/WebGLBuffer.idl
+++ b/WebCore/html/canvas/WebGLBuffer.idl
@@ -24,6 +24,6 @@
*/
module html {
- interface [Conditional=3D_CANVAS] WebGLBuffer {
+ interface [Conditional=3D_CANVAS, OmitConstructor] WebGLBuffer {
};
}
diff --git a/WebCore/html/canvas/WebGLByteArray.idl b/WebCore/html/canvas/WebGLByteArray.idl
index 054a912..c209940 100644
--- a/WebCore/html/canvas/WebGLByteArray.idl
+++ b/WebCore/html/canvas/WebGLByteArray.idl
@@ -30,7 +30,7 @@ module html {
HasNumericIndexGetter,
HasCustomIndexSetter,
GenerateNativeConverter,
- GenerateCustomConstructor,
+ OmitConstructor,
CustomToJS
] WebGLByteArray : WebGLArray {
long get(in unsigned long index);
diff --git a/WebCore/html/canvas/WebGLFloatArray.idl b/WebCore/html/canvas/WebGLFloatArray.idl
index de0eb3b..026a281 100644
--- a/WebCore/html/canvas/WebGLFloatArray.idl
+++ b/WebCore/html/canvas/WebGLFloatArray.idl
@@ -30,7 +30,7 @@ module html {
HasNumericIndexGetter,
HasCustomIndexSetter,
GenerateNativeConverter,
- GenerateCustomConstructor,
+ OmitConstructor,
CustomToJS
] WebGLFloatArray : WebGLArray {
float get(in unsigned long index);
diff --git a/WebCore/html/canvas/WebGLFramebuffer.idl b/WebCore/html/canvas/WebGLFramebuffer.idl
index 8c1d9fd..f433352 100644
--- a/WebCore/html/canvas/WebGLFramebuffer.idl
+++ b/WebCore/html/canvas/WebGLFramebuffer.idl
@@ -24,6 +24,6 @@
*/
module html {
- interface [Conditional=3D_CANVAS] WebGLFramebuffer {
+ interface [Conditional=3D_CANVAS, OmitConstructor] WebGLFramebuffer {
};
}
diff --git a/WebCore/html/canvas/WebGLIntArray.idl b/WebCore/html/canvas/WebGLIntArray.idl
index 3bc037c..cd9ba17 100644
--- a/WebCore/html/canvas/WebGLIntArray.idl
+++ b/WebCore/html/canvas/WebGLIntArray.idl
@@ -30,7 +30,7 @@ module html {
HasNumericIndexGetter,
HasCustomIndexSetter,
GenerateNativeConverter,
- GenerateCustomConstructor,
+ OmitConstructor,
CustomToJS
] WebGLIntArray : WebGLArray {
long get(in unsigned long index);
diff --git a/WebCore/html/canvas/WebGLProgram.idl b/WebCore/html/canvas/WebGLProgram.idl
index 562fa3a..47e5cda 100644
--- a/WebCore/html/canvas/WebGLProgram.idl
+++ b/WebCore/html/canvas/WebGLProgram.idl
@@ -24,6 +24,6 @@
*/
module html {
- interface [Conditional=3D_CANVAS] WebGLProgram {
+ interface [Conditional=3D_CANVAS, OmitConstructor] WebGLProgram {
};
}
diff --git a/WebCore/html/canvas/WebGLRenderbuffer.idl b/WebCore/html/canvas/WebGLRenderbuffer.idl
index 2524433..6a4fc35 100644
--- a/WebCore/html/canvas/WebGLRenderbuffer.idl
+++ b/WebCore/html/canvas/WebGLRenderbuffer.idl
@@ -24,6 +24,6 @@
*/
module html {
- interface [Conditional=3D_CANVAS] WebGLRenderbuffer {
+ interface [Conditional=3D_CANVAS, OmitConstructor] WebGLRenderbuffer {
};
}
diff --git a/WebCore/html/canvas/WebGLShader.idl b/WebCore/html/canvas/WebGLShader.idl
index 45e7f54..2d79e49 100644
--- a/WebCore/html/canvas/WebGLShader.idl
+++ b/WebCore/html/canvas/WebGLShader.idl
@@ -24,6 +24,6 @@
*/
module html {
- interface [Conditional=3D_CANVAS] WebGLShader {
+ interface [Conditional=3D_CANVAS, OmitConstructor] WebGLShader {
};
}
diff --git a/WebCore/html/canvas/WebGLShortArray.idl b/WebCore/html/canvas/WebGLShortArray.idl
index bd8380f..1cb610e 100644
--- a/WebCore/html/canvas/WebGLShortArray.idl
+++ b/WebCore/html/canvas/WebGLShortArray.idl
@@ -29,7 +29,7 @@ module html {
HasNumericIndexGetter,
HasCustomIndexSetter,
GenerateNativeConverter,
- GenerateCustomConstructor,
+ OmitConstructor,
CustomToJS
] WebGLShortArray : WebGLArray {
long get(in unsigned long index);
diff --git a/WebCore/html/canvas/WebGLTexture.idl b/WebCore/html/canvas/WebGLTexture.idl
index da7e066..0200e7e 100644
--- a/WebCore/html/canvas/WebGLTexture.idl
+++ b/WebCore/html/canvas/WebGLTexture.idl
@@ -24,6 +24,6 @@
*/
module html {
- interface [Conditional=3D_CANVAS] WebGLTexture {
+ interface [Conditional=3D_CANVAS, OmitConstructor] WebGLTexture {
};
}
diff --git a/WebCore/html/canvas/WebGLUniformLocation.idl b/WebCore/html/canvas/WebGLUniformLocation.idl
index b080241..f25e834 100644
--- a/WebCore/html/canvas/WebGLUniformLocation.idl
+++ b/WebCore/html/canvas/WebGLUniformLocation.idl
@@ -25,6 +25,6 @@
*/
module html {
- interface [Conditional=3D_CANVAS] WebGLUniformLocation {
+ interface [Conditional=3D_CANVAS, OmitConstructor] WebGLUniformLocation {
};
}
diff --git a/WebCore/html/canvas/WebGLUnsignedByteArray.idl b/WebCore/html/canvas/WebGLUnsignedByteArray.idl
index 57aa4ff..b3aeb12 100644
--- a/WebCore/html/canvas/WebGLUnsignedByteArray.idl
+++ b/WebCore/html/canvas/WebGLUnsignedByteArray.idl
@@ -30,7 +30,7 @@ module html {
HasNumericIndexGetter,
HasCustomIndexSetter,
GenerateNativeConverter,
- GenerateCustomConstructor,
+ OmitConstructor,
CustomToJS
] WebGLUnsignedByteArray : WebGLArray {
long get(in unsigned long index);
diff --git a/WebCore/html/canvas/WebGLUnsignedIntArray.idl b/WebCore/html/canvas/WebGLUnsignedIntArray.idl
index 263cc54..a050738 100644
--- a/WebCore/html/canvas/WebGLUnsignedIntArray.idl
+++ b/WebCore/html/canvas/WebGLUnsignedIntArray.idl
@@ -30,7 +30,7 @@ module html {
HasNumericIndexGetter,
HasCustomIndexSetter,
GenerateNativeConverter,
- GenerateCustomConstructor,
+ OmitConstructor,
CustomToJS
] WebGLUnsignedIntArray : WebGLArray {
unsigned long get(in unsigned long index);
diff --git a/WebCore/html/canvas/WebGLUnsignedShortArray.idl b/WebCore/html/canvas/WebGLUnsignedShortArray.idl
index d546444..22089fe 100644
--- a/WebCore/html/canvas/WebGLUnsignedShortArray.idl
+++ b/WebCore/html/canvas/WebGLUnsignedShortArray.idl
@@ -30,7 +30,7 @@ module html {
HasNumericIndexGetter,
HasCustomIndexSetter,
GenerateNativeConverter,
- GenerateCustomConstructor,
+ OmitConstructor,
CustomToJS
] WebGLUnsignedShortArray : WebGLArray {
long get(in unsigned long index);
diff --git a/WebCore/inspector/JavaScriptCallFrame.idl b/WebCore/inspector/JavaScriptCallFrame.idl
index 2f247f0..639ecc9 100644
--- a/WebCore/inspector/JavaScriptCallFrame.idl
+++ b/WebCore/inspector/JavaScriptCallFrame.idl
@@ -25,7 +25,7 @@
module inspector {
- interface [Conditional=JAVASCRIPT_DEBUGGER] JavaScriptCallFrame {
+ interface [Conditional=JAVASCRIPT_DEBUGGER, OmitConstructor] JavaScriptCallFrame {
[Custom] void evaluate(in DOMString script);
readonly attribute JavaScriptCallFrame caller;
diff --git a/WebCore/loader/appcache/DOMApplicationCache.idl b/WebCore/loader/appcache/DOMApplicationCache.idl
index dd5468a..9c3a359 100644
--- a/WebCore/loader/appcache/DOMApplicationCache.idl
+++ b/WebCore/loader/appcache/DOMApplicationCache.idl
@@ -27,7 +27,8 @@ module offline {
interface [
Conditional=OFFLINE_WEB_APPLICATIONS,
- EventTarget
+ EventTarget,
+ OmitConstructor
] DOMApplicationCache {
// update status
const unsigned short UNCACHED = 0;
diff --git a/WebCore/notifications/Notification.idl b/WebCore/notifications/Notification.idl
index ec6a9c8..b17546a 100644
--- a/WebCore/notifications/Notification.idl
+++ b/WebCore/notifications/Notification.idl
@@ -32,7 +32,8 @@ module threads {
interface [
Conditional=NOTIFICATIONS,
- EventTarget
+ EventTarget,
+ OmitConstructor
] Notification {
void show();
void cancel();
diff --git a/WebCore/notifications/NotificationCenter.idl b/WebCore/notifications/NotificationCenter.idl
index 3f6e369..86420b8 100644
--- a/WebCore/notifications/NotificationCenter.idl
+++ b/WebCore/notifications/NotificationCenter.idl
@@ -31,7 +31,8 @@
module threads {
interface [
- Conditional=NOTIFICATIONS
+ Conditional=NOTIFICATIONS,
+ OmitConstructor
] NotificationCenter {
[V8Custom] Notification createHTMLNotification(in DOMString url) raises(Exception);
[V8Custom] Notification createNotification(in DOMString iconUrl, in DOMString title, in DOMString body) raises(Exception);
diff --git a/WebCore/page/AbstractView.idl b/WebCore/page/AbstractView.idl
index 36865de..290bf48 100644
--- a/WebCore/page/AbstractView.idl
+++ b/WebCore/page/AbstractView.idl
@@ -28,7 +28,8 @@ module views {
// Introduced in DOM Level 2:
interface [
- ObjCCustomImplementation
+ ObjCCustomImplementation,
+ OmitConstructor
] AbstractView {
readonly attribute Document document;
readonly attribute Media media;
diff --git a/WebCore/page/BarInfo.idl b/WebCore/page/BarInfo.idl
index 42041c5..2089895 100644
--- a/WebCore/page/BarInfo.idl
+++ b/WebCore/page/BarInfo.idl
@@ -28,7 +28,7 @@
module window {
- interface BarInfo {
+ interface [OmitConstructor] BarInfo {
readonly attribute boolean visible;
};
diff --git a/WebCore/page/Console.idl b/WebCore/page/Console.idl
index a31b605..b9c0a57 100644
--- a/WebCore/page/Console.idl
+++ b/WebCore/page/Console.idl
@@ -28,7 +28,7 @@
module window {
- interface Console {
+ interface [OmitConstructor] Console {
#if defined(ENABLE_JAVASCRIPT_DEBUGGER) && ENABLE_JAVASCRIPT_DEBUGGER
readonly attribute [CustomGetter] Array profiles;
diff --git a/WebCore/page/Coordinates.idl b/WebCore/page/Coordinates.idl
index f847325..5a5a141 100644
--- a/WebCore/page/Coordinates.idl
+++ b/WebCore/page/Coordinates.idl
@@ -25,7 +25,7 @@
module core {
- interface Coordinates {
+ interface [OmitConstructor] Coordinates {
readonly attribute double latitude;
readonly attribute double longitude;
readonly attribute [Custom] double altitude;
diff --git a/WebCore/page/DOMSelection.idl b/WebCore/page/DOMSelection.idl
index be6c2b4..4d0c942 100644
--- a/WebCore/page/DOMSelection.idl
+++ b/WebCore/page/DOMSelection.idl
@@ -31,7 +31,7 @@ module window {
// This is based off of Mozilla's Selection interface
// https://developer.mozilla.org/En/DOM/Selection
- interface DOMSelection {
+ interface [OmitConstructor] DOMSelection {
readonly attribute Node anchorNode;
readonly attribute long anchorOffset;
readonly attribute Node focusNode;
diff --git a/WebCore/page/DOMWindow.idl b/WebCore/page/DOMWindow.idl
index 705696f..9fd7b49 100644
--- a/WebCore/page/DOMWindow.idl
+++ b/WebCore/page/DOMWindow.idl
@@ -38,6 +38,7 @@ module window {
CustomNativeConverter,
CustomPutFunction,
EventTarget,
+ OmitConstructor,
ExtendsDOMGlobalObject,
GenerateNativeConverter,
LegacyParent=JSDOMWindowBase
diff --git a/WebCore/page/EventSource.idl b/WebCore/page/EventSource.idl
index 561bd68..e351815 100644
--- a/WebCore/page/EventSource.idl
+++ b/WebCore/page/EventSource.idl
@@ -34,6 +34,7 @@ module window {
interface [
Conditional=EVENTSOURCE,
EventTarget,
+ OmitConstructor,
NoStaticTables
] EventSource {
diff --git a/WebCore/page/Geolocation.idl b/WebCore/page/Geolocation.idl
index e125118..76056a3 100644
--- a/WebCore/page/Geolocation.idl
+++ b/WebCore/page/Geolocation.idl
@@ -25,7 +25,7 @@
module core {
- interface Geolocation {
+ interface [OmitConstructor] Geolocation {
readonly attribute Geoposition lastPosition;
[Custom] void getCurrentPosition(in PositionCallback successCallback, in PositionErrorCallback errorCallback, in PositionOptions options);
diff --git a/WebCore/page/Geoposition.idl b/WebCore/page/Geoposition.idl
index 3ec8b0b..6fa12ff 100644
--- a/WebCore/page/Geoposition.idl
+++ b/WebCore/page/Geoposition.idl
@@ -25,7 +25,7 @@
module core {
- interface Geoposition {
+ interface [OmitConstructor] Geoposition {
readonly attribute Coordinates coords;
readonly attribute DOMTimeStamp timestamp;
};
diff --git a/WebCore/page/History.idl b/WebCore/page/History.idl
index 3790552..3fc2771 100644
--- a/WebCore/page/History.idl
+++ b/WebCore/page/History.idl
@@ -32,7 +32,8 @@ module window {
DelegatingGetOwnPropertySlot,
DelegatingPutFunction,
CustomDeleteProperty,
- CustomGetPropertyNames
+ CustomGetPropertyNames,
+ OmitConstructor
] History {
readonly attribute unsigned long length;
diff --git a/WebCore/page/Location.idl b/WebCore/page/Location.idl
index 7d680f2..b020267 100644
--- a/WebCore/page/Location.idl
+++ b/WebCore/page/Location.idl
@@ -38,7 +38,8 @@ module window {
CustomGetPropertyNames,
CustomDefineGetter,
DelegatingPrototypePutFunction,
- CustomPrototypeDefineGetter
+ CustomPrototypeDefineGetter,
+ OmitConstructor
] Location {
attribute [DoNotCheckDomainSecurityOnSet, CustomSetter, V8DisallowShadowing] DOMString href;
diff --git a/WebCore/page/Navigator.idl b/WebCore/page/Navigator.idl
index 99b22af..d5fcc1e 100644
--- a/WebCore/page/Navigator.idl
+++ b/WebCore/page/Navigator.idl
@@ -20,7 +20,8 @@
module window {
interface [
- CustomMarkFunction
+ CustomMarkFunction,
+ OmitConstructor
] Navigator {
readonly attribute DOMString appCodeName;
readonly attribute DOMString appName;
diff --git a/WebCore/page/Screen.idl b/WebCore/page/Screen.idl
index ca7d20d..cd181eb 100644
--- a/WebCore/page/Screen.idl
+++ b/WebCore/page/Screen.idl
@@ -29,7 +29,7 @@
module window {
- interface Screen {
+ interface [OmitConstructor] Screen {
readonly attribute unsigned long height;
readonly attribute unsigned long width;
readonly attribute unsigned long colorDepth;
diff --git a/WebCore/page/WebKitPoint.idl b/WebCore/page/WebKitPoint.idl
index 1eefbc3..43d3896 100644
--- a/WebCore/page/WebKitPoint.idl
+++ b/WebCore/page/WebKitPoint.idl
@@ -25,7 +25,7 @@
module window {
- interface WebKitPoint {
+ interface [OmitConstructor] WebKitPoint {
attribute float x;
attribute float y;
};
diff --git a/WebCore/page/WorkerNavigator.idl b/WebCore/page/WorkerNavigator.idl
index 195f0bc..ec75f8a 100644
--- a/WebCore/page/WorkerNavigator.idl
+++ b/WebCore/page/WorkerNavigator.idl
@@ -30,7 +30,8 @@ module threads {
interface [
Conditional=WORKERS,
- NoStaticTables
+ NoStaticTables,
+ OmitConstructor
] WorkerNavigator {
readonly attribute DOMString appName;
readonly attribute DOMString appVersion;
diff --git a/WebCore/storage/Database.idl b/WebCore/storage/Database.idl
index 6ca9c95..c8a537c 100644
--- a/WebCore/storage/Database.idl
+++ b/WebCore/storage/Database.idl
@@ -29,7 +29,8 @@
module storage {
interface [
- Conditional=DATABASE
+ Conditional=DATABASE,
+ OmitConstructor
] Database {
readonly attribute DOMString version;
[Custom] void changeVersion(in DOMString oldVersion, in DOMString newVersion, in SQLTransactionCallback callback, in SQLTransactionErrorCallback errorCallback, in VoidCallback successCallback);
diff --git a/WebCore/storage/SQLError.idl b/WebCore/storage/SQLError.idl
index d889c5b..503fe6f 100644
--- a/WebCore/storage/SQLError.idl
+++ b/WebCore/storage/SQLError.idl
@@ -29,7 +29,8 @@
module storage {
interface [
- Conditional=DATABASE
+ Conditional=DATABASE,
+ OmitConstructor
] SQLError {
readonly attribute unsigned long code;
readonly attribute DOMString message;
diff --git a/WebCore/storage/SQLResultSet.idl b/WebCore/storage/SQLResultSet.idl
index 1db07cd..c98fff6 100644
--- a/WebCore/storage/SQLResultSet.idl
+++ b/WebCore/storage/SQLResultSet.idl
@@ -29,7 +29,8 @@
module storage {
interface [
- Conditional=DATABASE
+ Conditional=DATABASE,
+ OmitConstructor
] SQLResultSet {
readonly attribute SQLResultSetRowList rows;
diff --git a/WebCore/storage/SQLResultSetRowList.idl b/WebCore/storage/SQLResultSetRowList.idl
index 6a477e9..7ae7a9c 100644
--- a/WebCore/storage/SQLResultSetRowList.idl
+++ b/WebCore/storage/SQLResultSetRowList.idl
@@ -29,7 +29,8 @@
module storage {
interface [
- Conditional=DATABASE
+ Conditional=DATABASE,
+ OmitConstructor
] SQLResultSetRowList {
readonly attribute unsigned long length;
[Custom] DOMObject item(in unsigned long index);
diff --git a/WebCore/storage/SQLTransaction.idl b/WebCore/storage/SQLTransaction.idl
index 5d4885c..7d694e8 100644
--- a/WebCore/storage/SQLTransaction.idl
+++ b/WebCore/storage/SQLTransaction.idl
@@ -29,7 +29,8 @@
module storage {
interface [
- Conditional=DATABASE
+ Conditional=DATABASE,
+ OmitConstructor
] SQLTransaction {
[Custom] void executeSql(in DOMString sqlStatement, in ObjectArray arguments, in SQLStatementCallback callback, in SQLStatementErrorCallback errorCallback);
};
diff --git a/WebCore/svg/ElementTimeControl.idl b/WebCore/svg/ElementTimeControl.idl
index e8ca615..4ac01c4 100644
--- a/WebCore/svg/ElementTimeControl.idl
+++ b/WebCore/svg/ElementTimeControl.idl
@@ -26,7 +26,7 @@
module svg {
- interface [Conditional=SVG, ObjCProtocol] ElementTimeControl {
+ interface [Conditional=SVG, ObjCProtocol, OmitConstructor] ElementTimeControl {
void beginElement();
void beginElementAt(in float offset);
void endElement();
diff --git a/WebCore/svg/SVGAnimationElement.idl b/WebCore/svg/SVGAnimationElement.idl
index afa3cbb..e221545 100644
--- a/WebCore/svg/SVGAnimationElement.idl
+++ b/WebCore/svg/SVGAnimationElement.idl
@@ -25,7 +25,7 @@
module svg {
- interface [Conditional=SVG_ANIMATION] SVGAnimationElement : SVGElement,
+ interface [Conditional=SVG_ANIMATION, OmitConstructor] SVGAnimationElement : SVGElement,
SVGTests,
SVGExternalResourcesRequired,
ElementTimeControl {
diff --git a/WebCore/svg/SVGExternalResourcesRequired.idl b/WebCore/svg/SVGExternalResourcesRequired.idl
index 6600939..c1a0352 100644
--- a/WebCore/svg/SVGExternalResourcesRequired.idl
+++ b/WebCore/svg/SVGExternalResourcesRequired.idl
@@ -26,7 +26,7 @@
module svg {
- interface [Conditional=SVG, ObjCProtocol] SVGExternalResourcesRequired {
+ interface [Conditional=SVG, ObjCProtocol, OmitConstructor] SVGExternalResourcesRequired {
readonly attribute SVGAnimatedBoolean externalResourcesRequired;
};
diff --git a/WebCore/svg/SVGFitToViewBox.idl b/WebCore/svg/SVGFitToViewBox.idl
index a747fc8..d456cf8 100644
--- a/WebCore/svg/SVGFitToViewBox.idl
+++ b/WebCore/svg/SVGFitToViewBox.idl
@@ -26,7 +26,7 @@
module svg {
- interface [Conditional=SVG, ObjCProtocol] SVGFitToViewBox {
+ interface [Conditional=SVG, ObjCProtocol, OmitConstructor] SVGFitToViewBox {
readonly attribute SVGAnimatedRect viewBox;
readonly attribute SVGAnimatedPreserveAspectRatio preserveAspectRatio;
};
diff --git a/WebCore/svg/SVGLangSpace.idl b/WebCore/svg/SVGLangSpace.idl
index a10867e..277e514 100644
--- a/WebCore/svg/SVGLangSpace.idl
+++ b/WebCore/svg/SVGLangSpace.idl
@@ -26,7 +26,7 @@
module svg {
- interface [Conditional=SVG, ObjCProtocol] SVGLangSpace {
+ interface [Conditional=SVG, ObjCProtocol, OmitConstructor] SVGLangSpace {
attribute core::DOMString xmllang
/*setter raises(DOMException)*/;
attribute core::DOMString xmlspace
diff --git a/WebCore/svg/SVGLocatable.idl b/WebCore/svg/SVGLocatable.idl
index b051286..72db8f4 100644
--- a/WebCore/svg/SVGLocatable.idl
+++ b/WebCore/svg/SVGLocatable.idl
@@ -26,7 +26,7 @@
module svg {
- interface [Conditional=SVG, ObjCProtocol] SVGLocatable {
+ interface [Conditional=SVG, ObjCProtocol, OmitConstructor] SVGLocatable {
readonly attribute SVGElement nearestViewportElement;
readonly attribute SVGElement farthestViewportElement;
diff --git a/WebCore/svg/SVGStylable.idl b/WebCore/svg/SVGStylable.idl
index 731d818..2da2b77 100644
--- a/WebCore/svg/SVGStylable.idl
+++ b/WebCore/svg/SVGStylable.idl
@@ -27,7 +27,7 @@
module svg {
- interface [Conditional=SVG, ObjCProtocol] SVGStylable {
+ interface [Conditional=SVG, ObjCProtocol, OmitConstructor] SVGStylable {
readonly attribute SVGAnimatedString className;
readonly attribute css::CSSStyleDeclaration style;
diff --git a/WebCore/svg/SVGTests.idl b/WebCore/svg/SVGTests.idl
index fe20a04..8a5f7c2 100644
--- a/WebCore/svg/SVGTests.idl
+++ b/WebCore/svg/SVGTests.idl
@@ -26,7 +26,7 @@
module svg {
- interface [Conditional=SVG, ObjCProtocol] SVGTests {
+ interface [Conditional=SVG, ObjCProtocol, OmitConstructor] SVGTests {
readonly attribute SVGStringList requiredFeatures;
readonly attribute SVGStringList requiredExtensions;
readonly attribute SVGStringList systemLanguage;
diff --git a/WebCore/svg/SVGTransformable.idl b/WebCore/svg/SVGTransformable.idl
index 02a4336..13a4520 100644
--- a/WebCore/svg/SVGTransformable.idl
+++ b/WebCore/svg/SVGTransformable.idl
@@ -26,7 +26,7 @@
module svg {
- interface [Conditional=SVG, ObjCProtocol] SVGTransformable : SVGLocatable {
+ interface [Conditional=SVG, ObjCProtocol, OmitConstructor] SVGTransformable : SVGLocatable {
readonly attribute SVGAnimatedTransformList transform;
};
diff --git a/WebCore/svg/SVGURIReference.idl b/WebCore/svg/SVGURIReference.idl
index 72bd9c8..4981eb1 100644
--- a/WebCore/svg/SVGURIReference.idl
+++ b/WebCore/svg/SVGURIReference.idl
@@ -26,7 +26,7 @@
module svg {
- interface [Conditional=SVG, ObjCProtocol] SVGURIReference {
+ interface [Conditional=SVG, ObjCProtocol, OmitConstructor] SVGURIReference {
readonly attribute SVGAnimatedString href;
};
diff --git a/WebCore/websockets/WebSocket.idl b/WebCore/websockets/WebSocket.idl
index c662940..6858cd3 100644
--- a/WebCore/websockets/WebSocket.idl
+++ b/WebCore/websockets/WebSocket.idl
@@ -33,7 +33,8 @@ module websockets {
interface [
Conditional=WEB_SOCKETS,
EventTarget,
- NoStaticTables
+ NoStaticTables,
+ OmitConstructor
] WebSocket {
readonly attribute DOMString URL;
diff --git a/WebCore/workers/DedicatedWorkerContext.idl b/WebCore/workers/DedicatedWorkerContext.idl
index f421b9a..8b73a06 100644
--- a/WebCore/workers/DedicatedWorkerContext.idl
+++ b/WebCore/workers/DedicatedWorkerContext.idl
@@ -35,7 +35,8 @@ module threads {
ExtendsDOMGlobalObject,
IsWorkerContext,
GenerateNativeConverter,
- NoStaticTables
+ NoStaticTables,
+ OmitConstructor
] DedicatedWorkerContext : WorkerContext {
#if defined(LANGUAGE_JAVASCRIPT) && LANGUAGE_JAVASCRIPT
diff --git a/WebCore/workers/SharedWorker.idl b/WebCore/workers/SharedWorker.idl
index 09475f7..e69c8bc 100644
--- a/WebCore/workers/SharedWorker.idl
+++ b/WebCore/workers/SharedWorker.idl
@@ -34,7 +34,8 @@ module threads {
Conditional=SHARED_WORKERS,
CustomMarkFunction,
GenerateNativeConverter,
- GenerateToJS
+ GenerateToJS,
+ OmitConstructor
] SharedWorker : AbstractWorker {
readonly attribute MessagePort port;
};
diff --git a/WebCore/workers/SharedWorkerContext.idl b/WebCore/workers/SharedWorkerContext.idl
index a48e5bd..9d01f4f 100644
--- a/WebCore/workers/SharedWorkerContext.idl
+++ b/WebCore/workers/SharedWorkerContext.idl
@@ -35,7 +35,8 @@ module threads {
ExtendsDOMGlobalObject,
IsWorkerContext,
GenerateNativeConverter,
- NoStaticTables
+ NoStaticTables,
+ OmitConstructor
] SharedWorkerContext : WorkerContext {
readonly attribute DOMString name;
diff --git a/WebCore/workers/Worker.idl b/WebCore/workers/Worker.idl
index 0382739..e4a3684 100644
--- a/WebCore/workers/Worker.idl
+++ b/WebCore/workers/Worker.idl
@@ -29,7 +29,8 @@ module threads {
interface [
Conditional=WORKERS,
GenerateNativeConverter,
- GenerateToJS
+ GenerateToJS,
+ OmitConstructor
] Worker : AbstractWorker {
attribute EventListener onmessage;
diff --git a/WebCore/workers/WorkerContext.idl b/WebCore/workers/WorkerContext.idl
index 0a5817c..ffbf9cc 100644
--- a/WebCore/workers/WorkerContext.idl
+++ b/WebCore/workers/WorkerContext.idl
@@ -34,7 +34,8 @@ module threads {
ExtendsDOMGlobalObject,
IsWorkerContext,
LegacyParent=JSWorkerContextBase,
- NoStaticTables
+ NoStaticTables,
+ OmitConstructor
] WorkerContext {
// WorkerGlobalScope
diff --git a/WebCore/xml/XMLHttpRequest.idl b/WebCore/xml/XMLHttpRequest.idl
index 89d9c7f..9591af1 100644
--- a/WebCore/xml/XMLHttpRequest.idl
+++ b/WebCore/xml/XMLHttpRequest.idl
@@ -31,7 +31,8 @@ module xml {
interface [
CustomMarkFunction,
EventTarget,
- NoStaticTables
+ NoStaticTables,
+ OmitConstructor
] XMLHttpRequest {
// From XMLHttpRequestEventTarget
// event handler attributes
diff --git a/WebCore/xml/XPathNSResolver.idl b/WebCore/xml/XPathNSResolver.idl
index 48c0113..4e996c2 100644
--- a/WebCore/xml/XPathNSResolver.idl
+++ b/WebCore/xml/XPathNSResolver.idl
@@ -20,7 +20,7 @@
module xpath {
- interface [ObjCProtocol, Conditional=XPATH] XPathNSResolver {
+ interface [ObjCProtocol, Conditional=XPATH, OmitConstructor] XPathNSResolver {
[ConvertNullStringTo=Null] DOMString lookupNamespaceURI(in DOMString prefix);
};
diff --git a/WebCore/xml/XSLTProcessor.idl b/WebCore/xml/XSLTProcessor.idl
index 0a6ff93..6cbe194 100644
--- a/WebCore/xml/XSLTProcessor.idl
+++ b/WebCore/xml/XSLTProcessor.idl
@@ -33,7 +33,8 @@ module xml {
// http://bugs.webkit.org/show_bug.cgi?id=5446
interface [
- Conditional=XSLT
+ Conditional=XSLT,
+ OmitConstructor
] XSLTProcessor {
[Custom] void importStylesheet(in Node stylesheet);
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list