Changeset 97424 in webkit
- Timestamp:
- Oct 13, 2011 4:45:43 PM (12 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r97423 r97424 1 2011-10-13 Kentaro Hara <haraken@chromium.org> 2 3 Regarding constructor, replace [ConstructorWith=...] IDL with [CallWith=...] IDL 4 https://bugs.webkit.org/show_bug.cgi?id=69801 5 6 As for constructors, [ConstructorWith=...] has the same meaning as [CallWith=...]. 7 We should deprecate [ConstructorWith=...]. This is a clean-up bug for the bug 65839. 8 9 Reviewed by Adam Barth. 10 11 No new tests, since no change in behavior. 12 13 * bindings/scripts/CodeGeneratorV8.pm: Replaced [ConstructorWith=...] IDL with [CallWith=...] IDL. 14 (GenerateConstructorCallback): 15 * bindings/scripts/test/TestInterface.idl: Ditto. 16 * fileapi/FileReader.idl: Ditto. 17 * p2p/PeerConnection.idl: Ditto. 18 * page/EventSource.idl: Ditto. 19 * workers/Worker.idl: Ditto. 20 1 21 2011-10-13 Kentaro Hara <haraken@chromium.org> 2 22 -
trunk/Source/WebCore/bindings/scripts/CodeGeneratorV8.pm
r97423 r97424 1549 1549 1550 1550 my @contextArgument; 1551 if ($dataNode->extendedAttributes->{"C onstructorWith"} && $dataNode->extendedAttributes->{"ConstructorWith"} eq "ScriptExecutionContext") {1551 if ($dataNode->extendedAttributes->{"CallWith"} && $dataNode->extendedAttributes->{"CallWith"} eq "ScriptExecutionContext") { 1552 1552 push(@contextArgument, "context"); 1553 1553 push(@implContent, <<END); -
trunk/Source/WebCore/bindings/scripts/test/TestInterface.idl
r94156 r97424 35 35 CallWith=ScriptExecutionContext, 36 36 Constructor(in DOMString str1, in [Optional=CallWithDefaultValue] DOMString str2), 37 ConstructorWith=ScriptExecutionContext,38 37 V8ConstructorSetsActiveDOMWrapper, 39 38 ConstructorRaisesException -
trunk/Source/WebCore/fileapi/FileReader.idl
r94375 r97424 39 39 NoStaticTables, 40 40 Constructor, 41 ConstructorWith=ScriptExecutionContext,42 41 V8ConstructorSetsActiveDOMWrapper 43 42 ] FileReader { -
trunk/Source/WebCore/p2p/PeerConnection.idl
r97305 r97424 31 31 ConstructorParameters=2, 32 32 Constructor(in DOMString serverConfiguration, in [Callback=FunctionOnly] SignalingCallback signalingCallback), 33 C onstructorWith=ScriptExecutionContext,33 CallWith=ScriptExecutionContext, 34 34 JSCustomConstructor, 35 35 V8ConstructorSetsActiveDOMWrapper, -
trunk/Source/WebCore/page/EventSource.idl
r96788 r97424 38 38 ConstructorParameters=1, 39 39 Constructor(in DOMString scriptUrl), 40 C onstructorWith=ScriptExecutionContext,40 CallWith=ScriptExecutionContext, 41 41 ConstructorRaisesException, 42 42 V8ConstructorSetsActiveDOMWrapper, -
trunk/Source/WebCore/workers/Worker.idl
r96788 r97424 35 35 ConstructorParameters=1, 36 36 Constructor(in DOMString scriptUrl), 37 C onstructorWith=ScriptExecutionContext,37 CallWith=ScriptExecutionContext, 38 38 ConstructorRaisesException, 39 39 V8ConstructorSetsActiveDOMWrapper,
Note: See TracChangeset
for help on using the changeset viewer.