Changeset 203949 in webkit
- Timestamp:
- Jul 30, 2016 5:23:21 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 43 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r203947 r203949 1 2016-07-30 Chris Dumez <cdumez@apple.com> 2 3 [WebIDL] Enable strict type checking for nullable attribute setters of wrapper types 4 https://bugs.webkit.org/show_bug.cgi?id=160375 5 6 Reviewed by Darin Adler. 7 8 Rebaseline / update existing tests to reflect behavior change. 9 10 * fast/speechsynthesis/speech-synthesis-crash-on-bad-utterance-expected.txt: 11 * fast/speechsynthesis/speech-synthesis-crash-on-bad-utterance.html: 12 * webaudio/convolver-setBuffer-null-expected.txt: 13 * webaudio/convolver-setBuffer-null.html: 14 1 15 2016-07-30 Alexey Proskuryakov <ap@apple.com> 2 16 -
trunk/LayoutTests/fast/forms/file/input-file-write-files-expected.txt
r132599 r203949 4 4 5 5 6 PASS file1.files = "foo" threw exception TypeError: The HTMLInputElement.files attribute must be an instance of FileList. 6 7 PASS file1.files.length is 1 7 8 PASS file1.files.item(0).name is "foo.txt" -
trunk/LayoutTests/fast/forms/file/input-file-write-files.html
r155268 r203949 16 16 dragFilesOntoInput(file2, ["bar.txt"]); 17 17 18 file1.files = "foo";18 shouldThrow('file1.files = "foo"'); 19 19 shouldBe("file1.files.length", "1"); 20 20 shouldBeEqualToString("file1.files.item(0).name", "foo.txt"); -
trunk/LayoutTests/fast/speechsynthesis/speech-synthesis-crash-on-bad-utterance-expected.txt
r200583 r203949 5 5 6 6 PASS speechSynthesis.speak('Hello World') threw exception TypeError: Argument 1 ('utterance') to SpeechSynthesis.speak must be an instance of SpeechSynthesisUtterance. 7 PASS x.voice = "asdf" threw exception TypeError: The SpeechSynthesisUtterance.voice attribute must be an instance of SpeechSynthesisVoice. 7 8 PASS successfullyParsed is true 8 9 -
trunk/LayoutTests/fast/speechsynthesis/speech-synthesis-crash-on-bad-utterance.html
r200080 r203949 17 17 // Don't crash. An utterance voice is supposed to take a voice object, not a string. 18 18 var x = new SpeechSynthesisUtterance('Hello World'); 19 x.voice = "asdf";19 shouldThrow('x.voice = "asdf"'); 20 20 21 21 // Don't crash. An utterance is supposed to take a string, not a number. -
trunk/LayoutTests/webaudio/convolver-setBuffer-null-expected.txt
r116358 r203949 1 Tests that ConvolverNode impulse response buffer can be set to 0.1 Tests that ConvolverNode impulse response buffer can be set to null. 2 2 3 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE". 4 4 5 PASS ConvolverNode impulse response buffer was set to 0. 5 6 PASS conv.buffer = null did not throw exception. 7 PASS conv.buffer is null 8 PASS conv.buffer = document threw exception TypeError: The ConvolverNode.buffer attribute must be an instance of AudioBuffer. 9 PASS conv.buffer is null 6 10 PASS successfullyParsed is true 7 11 -
trunk/LayoutTests/webaudio/convolver-setBuffer-null.html
r155423 r203949 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">1 <!DOCTYPE html> 2 2 <html> 3 3 <head> … … 5 5 <script src="../resources/js-test-pre.js"></script> 6 6 </head> 7 <body> 8 <script> 9 description("Tests that ConvolverNode impulse response buffer can be set to null."); 7 10 8 <body> 9 <div id="description"></div> 10 <div id="console"></div> 11 var context = new webkitAudioContext(); 12 var conv = context.createConvolver(); 11 13 12 <script> 13 description("Tests that ConvolverNode impulse response buffer can be set to 0.");14 shouldNotThrow("conv.buffer = null"); 15 shouldBe("conv.buffer", "null"); 14 16 15 function runTest() 16 { 17 if (window.testRunner) { 18 testRunner.dumpAsText(); 19 testRunner.waitUntilDone(); 20 } 21 22 window.jsTestIsAsync = true; 23 24 var context = new webkitAudioContext(); 25 var conv = context.createConvolver(); 26 27 conv.buffer = 0; 28 testPassed("ConvolverNode impulse response buffer was set to 0."); 29 30 finishJSTest(); 31 } 32 33 runTest(); 34 successfullyParsed = true; 17 shouldThrow("conv.buffer = document"); 18 shouldBe("conv.buffer", "null"); 35 19 </script> 36 37 20 <script src="../resources/js-test-post.js"></script> 38 21 </body> -
trunk/Source/WebCore/ChangeLog
r203943 r203949 1 2016-07-30 Chris Dumez <cdumez@apple.com> 2 3 [WebIDL] Enable strict type checking for nullable attribute setters of wrapper types 4 https://bugs.webkit.org/show_bug.cgi?id=160375 5 6 Reviewed by Darin Adler. 7 8 Enable strict type checking for nullable attribute setters of wrapper types: 9 - http://heycam.github.io/webidl/#es-nullable-type 10 - http://heycam.github.io/webidl/#es-interface 11 12 For such attributes, if the JS tries to assign a value that is not null / 13 undefined and does not have the expected wrapper type, then we now throw a 14 TypeError instead of silently converting the value to null. 15 16 This behavior is consistent with Chrome and Firefox. It also helps identify 17 bugs in JavaScript code. 18 19 No new tests, updated existing tests. 20 21 * Modules/webaudio/AudioBufferSourceNode.idl: 22 * bindings/scripts/CodeGeneratorJS.pm: 23 (GenerateImplementation): 24 * bindings/scripts/test/JS/JSTestObj.cpp: 25 (WebCore::setJSTestObjTestNullableObjAttr): 26 (WebCore::setJSTestObjMutablePoint): 27 (WebCore::setJSTestObjImmutablePoint): 28 * bindings/scripts/test/TestObj.idl: 29 * dom/Document.idl: 30 * html/HTMLTableElement.idl: 31 * svg/SVGAngle.idl: 32 * svg/SVGAnimatedBoolean.idl: 33 * svg/SVGAnimatedEnumeration.idl: 34 * svg/SVGAnimatedInteger.idl: 35 * svg/SVGAnimatedNumber.idl: 36 * svg/SVGLength.idl: 37 * svg/SVGMatrix.idl: 38 * svg/SVGNumber.idl: 39 * svg/SVGPathSegArcAbs.idl: 40 * svg/SVGPathSegArcRel.idl: 41 * svg/SVGPathSegCurvetoCubicAbs.idl: 42 * svg/SVGPathSegCurvetoCubicRel.idl: 43 * svg/SVGPathSegCurvetoCubicSmoothAbs.idl: 44 * svg/SVGPathSegCurvetoCubicSmoothRel.idl: 45 * svg/SVGPathSegCurvetoQuadraticAbs.idl: 46 * svg/SVGPathSegCurvetoQuadraticRel.idl: 47 * svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl: 48 * svg/SVGPathSegCurvetoQuadraticSmoothRel.idl: 49 * svg/SVGPathSegLinetoAbs.idl: 50 * svg/SVGPathSegLinetoHorizontalAbs.idl: 51 * svg/SVGPathSegLinetoHorizontalRel.idl: 52 * svg/SVGPathSegLinetoRel.idl: 53 * svg/SVGPathSegLinetoVerticalAbs.idl: 54 * svg/SVGPathSegLinetoVerticalRel.idl: 55 * svg/SVGPathSegMovetoAbs.idl: 56 * svg/SVGPathSegMovetoRel.idl: 57 * svg/SVGPoint.idl: 58 * svg/SVGPreserveAspectRatio.idl: 59 * svg/SVGRect.idl: 60 1 61 2016-07-30 Youenn Fablet <youenn@apple.com> 2 62 -
trunk/Source/WebCore/Modules/webaudio/AudioBufferSourceNode.idl
r200087 r203949 28 28 JSGenerateToJSObject, 29 29 ] interface AudioBufferSourceNode : AudioNode { 30 [StrictTypeChecking]attribute AudioBuffer? buffer;30 attribute AudioBuffer? buffer; 31 31 32 32 const unsigned short UNSCHEDULED_STATE = 0; -
trunk/Source/WebCore/bindings/scripts/CodeGeneratorJS.pm
r203941 r203949 2926 2926 } 2927 2927 $attribute = $codeGenerator->GetAttributeFromInterface($interface, $type, $putForwards); 2928 $type = $attribute->signature->type; 2928 2929 } else { 2929 2930 push(@implContent, " auto& impl = castedThis->wrapped();\n"); … … 2938 2939 my $shouldPassByReference = ShouldPassWrapperByReference($attribute->signature, $interface); 2939 2940 2940 # If the "StrictTypeChecking" extended attribute is present, and the attribute's type is an2941 # interface type, then if the incoming value does not implement that interface, a TypeError2942 # is thrown rather than silently passing NULL to the C++ code.2943 # Per the Web IDL and ECMAScript specifications, incoming values can always be converted to2944 # both strings and numbers, so do not throw TypeError if the attribute is of these types.2945 2941 my ($nativeValue, $mayThrowException) = JSValueToNative($interface, $attribute->signature, "value", $attribute->signature->extendedAttributes->{"Conditional"}); 2946 if ( $attribute->signature->extendedAttributes->{"StrictTypeChecking"} &&!$shouldPassByReference && $codeGenerator->IsWrapperType($type)) {2942 if (!$shouldPassByReference && $codeGenerator->IsWrapperType($type)) { 2947 2943 $implIncludes{"<runtime/Error.h>"} = 1; 2948 2944 push(@implContent, " " . GetNativeTypeFromSignature($interface, $attribute->signature) . " nativeValue = nullptr;\n"); … … 2950 2946 push(@implContent, " nativeValue = $nativeValue;\n"); 2951 2947 if ($mayThrowException) { 2952 push(@implContent, " if (UNLIKELY(state->hadException()))\n");2953 push(@implContent, " return false;\n");2948 push(@implContent, " if (UNLIKELY(state->hadException()))\n"); 2949 push(@implContent, " return false;\n"); 2954 2950 } 2955 2951 push(@implContent, " if (UNLIKELY(!nativeValue)) {\n"); -
trunk/Source/WebCore/bindings/scripts/test/JS/JSTestObj.cpp
r203941 r203949 2932 2932 } 2933 2933 auto& impl = castedThis->wrapped(); 2934 auto nativeValue = JSTestObj::toWrapped(value); 2934 TestObj* nativeValue = nullptr; 2935 if (!value.isUndefinedOrNull()) { 2936 nativeValue = JSTestObj::toWrapped(value); 2937 if (UNLIKELY(!nativeValue)) { 2938 throwAttributeTypeError(*state, "TestObject", "testNullableObjAttr", "TestObj"); 2939 return false; 2940 } 2941 } 2935 2942 impl.setTestNullableObjAttr(WTFMove(nativeValue)); 2936 2943 return true; … … 3680 3687 } 3681 3688 auto& impl = castedThis->wrapped(); 3682 auto nativeValue = JSSVGPoint::toWrapped(value); 3689 SVGPropertyTearOff<SVGPoint>* nativeValue = nullptr; 3690 if (!value.isUndefinedOrNull()) { 3691 nativeValue = JSSVGPoint::toWrapped(value); 3692 if (UNLIKELY(!nativeValue)) { 3693 throwAttributeTypeError(*state, "TestObject", "mutablePoint", "SVGPoint"); 3694 return false; 3695 } 3696 } 3683 3697 impl.setMutablePoint(WTFMove(nativeValue)); 3684 3698 return true; … … 3695 3709 } 3696 3710 auto& impl = castedThis->wrapped(); 3697 auto nativeValue = JSSVGPoint::toWrapped(value); 3711 SVGPropertyTearOff<SVGPoint>* nativeValue = nullptr; 3712 if (!value.isUndefinedOrNull()) { 3713 nativeValue = JSSVGPoint::toWrapped(value); 3714 if (UNLIKELY(!nativeValue)) { 3715 throwAttributeTypeError(*state, "TestObject", "immutablePoint", "SVGPoint"); 3716 return false; 3717 } 3718 } 3698 3719 impl.setImmutablePoint(WTFMove(nativeValue)); 3699 3720 return true; -
trunk/Source/WebCore/bindings/scripts/test/TestObj.idl
r203858 r203949 137 137 [SetterRaisesException] attribute DOMString stringAttrWithSetterException; 138 138 139 // Strict type checking.140 [StrictTypeChecking] attribute TestObj? strictTypeCheckingAttribute;141 142 139 // 'Custom' extended attribute 143 140 [Custom] attribute long customAttr; … … 313 310 [ImplementedAs=blueberry] attribute long strawberry; 314 311 315 [StrictTypeChecking] attribute unrestricted float strictFloat;316 312 [StrictTypeChecking, RaisesException] boolean strictFunction(DOMString str, unrestricted float a, long b); 317 313 -
trunk/Source/WebCore/dom/Document.idl
r203784 r203949 171 171 [GetterRaisesException, SetterRaisesException] attribute DOMString cookie; 172 172 173 [SetterRaisesException, ImplementedAs=bodyOrFrameset , StrictTypeChecking] attribute HTMLElement? body;173 [SetterRaisesException, ImplementedAs=bodyOrFrameset] attribute HTMLElement? body; 174 174 175 175 readonly attribute HTMLHeadElement? head; -
trunk/Source/WebCore/html/HTMLTableElement.idl
r203840 r203949 20 20 21 21 interface HTMLTableElement : HTMLElement { 22 [SetterRaisesException , StrictTypeChecking] attribute HTMLTableCaptionElement? caption;23 [SetterRaisesException , StrictTypeChecking] attribute HTMLTableSectionElement? tHead;24 [SetterRaisesException , StrictTypeChecking] attribute HTMLTableSectionElement? tFoot;22 [SetterRaisesException] attribute HTMLTableCaptionElement? caption; 23 [SetterRaisesException] attribute HTMLTableSectionElement? tHead; 24 [SetterRaisesException] attribute HTMLTableSectionElement? tFoot; 25 25 26 26 readonly attribute HTMLCollection rows; -
trunk/Source/WebCore/svg/SVGAngle.idl
r203531 r203949 30 30 31 31 readonly attribute unsigned short unitType; 32 [StrictTypeChecking]attribute unrestricted float value;33 [StrictTypeChecking]attribute unrestricted float valueInSpecifiedUnits;32 attribute unrestricted float value; 33 attribute unrestricted float valueInSpecifiedUnits; 34 34 35 35 [SetterRaisesException] attribute DOMString valueAsString; -
trunk/Source/WebCore/svg/SVGAnimatedBoolean.idl
r163440 r203949 27 27 SkipVTableValidation 28 28 ] interface SVGAnimatedBoolean { 29 [S trictTypeChecking, SetterRaisesException] attribute boolean baseVal;29 [SetterRaisesException] attribute boolean baseVal; 30 30 readonly attribute boolean animVal; 31 31 }; -
trunk/Source/WebCore/svg/SVGAnimatedEnumeration.idl
r163440 r203949 27 27 SkipVTableValidation 28 28 ] interface SVGAnimatedEnumeration { 29 [S trictTypeChecking, SetterRaisesException] attribute unsigned short baseVal;29 [SetterRaisesException] attribute unsigned short baseVal; 30 30 readonly attribute unsigned short animVal; 31 31 }; -
trunk/Source/WebCore/svg/SVGAnimatedInteger.idl
r163440 r203949 27 27 SkipVTableValidation 28 28 ] interface SVGAnimatedInteger { 29 [S trictTypeChecking, SetterRaisesException] attribute long baseVal;29 [SetterRaisesException] attribute long baseVal; 30 30 readonly attribute long animVal; 31 31 }; -
trunk/Source/WebCore/svg/SVGAnimatedNumber.idl
r168302 r203949 28 28 SkipVTableValidation 29 29 ] interface SVGAnimatedNumber { 30 [S trictTypeChecking, SetterRaisesException] attribute unrestricted float baseVal;30 [SetterRaisesException] attribute unrestricted float baseVal; 31 31 readonly attribute unrestricted float animVal; 32 32 }; -
trunk/Source/WebCore/svg/SVGLength.idl
r203531 r203949 36 36 37 37 readonly attribute unsigned short unitType; 38 [GetterRaisesException, SetterRaisesException, Custom , StrictTypeChecking] attribute unrestricted float value;38 [GetterRaisesException, SetterRaisesException, Custom] attribute unrestricted float value; 39 39 40 [StrictTypeChecking]attribute unrestricted float valueInSpecifiedUnits;40 attribute unrestricted float valueInSpecifiedUnits; 41 41 42 [S trictTypeChecking, SetterRaisesException] attribute DOMString valueAsString;42 [SetterRaisesException] attribute DOMString valueAsString; 43 43 44 44 [StrictTypeChecking, RaisesException] void newValueSpecifiedUnits(unsigned short unitType, -
trunk/Source/WebCore/svg/SVGMatrix.idl
r168302 r203949 24 24 // FIXME: these attributes should all be floats but since we implement 25 25 // AffineTransform with doubles setting these as doubles makes more sense. 26 [StrictTypeChecking]attribute unrestricted double a;27 [StrictTypeChecking]attribute unrestricted double b;28 [StrictTypeChecking]attribute unrestricted double c;29 [StrictTypeChecking]attribute unrestricted double d;30 [StrictTypeChecking]attribute unrestricted double e;31 [StrictTypeChecking]attribute unrestricted double f;26 attribute unrestricted double a; 27 attribute unrestricted double b; 28 attribute unrestricted double c; 29 attribute unrestricted double d; 30 attribute unrestricted double e; 31 attribute unrestricted double f; 32 32 33 33 [StrictTypeChecking] SVGMatrix multiply(SVGMatrix secondMatrix); -
trunk/Source/WebCore/svg/SVGNumber.idl
r168302 r203949 22 22 23 23 interface SVGNumber { 24 [StrictTypeChecking]attribute unrestricted float value;24 attribute unrestricted float value; 25 25 }; 26 26 -
trunk/Source/WebCore/svg/SVGPathSegArcAbs.idl
r168302 r203949 26 26 27 27 interface SVGPathSegArcAbs : SVGPathSeg { 28 [StrictTypeChecking]attribute unrestricted float x;29 [StrictTypeChecking]attribute unrestricted float y;30 [StrictTypeChecking]attribute unrestricted float r1;31 [StrictTypeChecking]attribute unrestricted float r2;32 [StrictTypeChecking]attribute unrestricted float angle;33 [StrictTypeChecking]attribute boolean largeArcFlag;34 [StrictTypeChecking]attribute boolean sweepFlag;28 attribute unrestricted float x; 29 attribute unrestricted float y; 30 attribute unrestricted float r1; 31 attribute unrestricted float r2; 32 attribute unrestricted float angle; 33 attribute boolean largeArcFlag; 34 attribute boolean sweepFlag; 35 35 }; 36 36 -
trunk/Source/WebCore/svg/SVGPathSegArcRel.idl
r168302 r203949 26 26 27 27 interface SVGPathSegArcRel : SVGPathSeg { 28 [StrictTypeChecking]attribute unrestricted float x;29 [StrictTypeChecking]attribute unrestricted float y;30 [StrictTypeChecking]attribute unrestricted float r1;31 [StrictTypeChecking]attribute unrestricted float r2;32 [StrictTypeChecking]attribute unrestricted float angle;33 [StrictTypeChecking]attribute boolean largeArcFlag;34 [StrictTypeChecking]attribute boolean sweepFlag;28 attribute unrestricted float x; 29 attribute unrestricted float y; 30 attribute unrestricted float r1; 31 attribute unrestricted float r2; 32 attribute unrestricted float angle; 33 attribute boolean largeArcFlag; 34 attribute boolean sweepFlag; 35 35 }; 36 36 -
trunk/Source/WebCore/svg/SVGPathSegCurvetoCubicAbs.idl
r168302 r203949 26 26 27 27 interface SVGPathSegCurvetoCubicAbs : SVGPathSeg { 28 [StrictTypeChecking]attribute unrestricted float x;29 [StrictTypeChecking]attribute unrestricted float y;30 [StrictTypeChecking]attribute unrestricted float x1;31 [StrictTypeChecking]attribute unrestricted float y1;32 [StrictTypeChecking]attribute unrestricted float x2;33 [StrictTypeChecking]attribute unrestricted float y2;28 attribute unrestricted float x; 29 attribute unrestricted float y; 30 attribute unrestricted float x1; 31 attribute unrestricted float y1; 32 attribute unrestricted float x2; 33 attribute unrestricted float y2; 34 34 }; 35 35 -
trunk/Source/WebCore/svg/SVGPathSegCurvetoCubicRel.idl
r168302 r203949 26 26 27 27 interface SVGPathSegCurvetoCubicRel : SVGPathSeg { 28 [StrictTypeChecking]attribute unrestricted float x;29 [StrictTypeChecking]attribute unrestricted float y;30 [StrictTypeChecking]attribute unrestricted float x1;31 [StrictTypeChecking]attribute unrestricted float y1;32 [StrictTypeChecking]attribute unrestricted float x2;33 [StrictTypeChecking]attribute unrestricted float y2;28 attribute unrestricted float x; 29 attribute unrestricted float y; 30 attribute unrestricted float x1; 31 attribute unrestricted float y1; 32 attribute unrestricted float x2; 33 attribute unrestricted float y2; 34 34 }; 35 35 -
trunk/Source/WebCore/svg/SVGPathSegCurvetoCubicSmoothAbs.idl
r168302 r203949 26 26 27 27 interface SVGPathSegCurvetoCubicSmoothAbs : SVGPathSeg { 28 [StrictTypeChecking]attribute unrestricted float x;29 [StrictTypeChecking]attribute unrestricted float y;30 [StrictTypeChecking]attribute unrestricted float x2;31 [StrictTypeChecking]attribute unrestricted float y2;28 attribute unrestricted float x; 29 attribute unrestricted float y; 30 attribute unrestricted float x2; 31 attribute unrestricted float y2; 32 32 }; 33 33 -
trunk/Source/WebCore/svg/SVGPathSegCurvetoCubicSmoothRel.idl
r168302 r203949 26 26 27 27 interface SVGPathSegCurvetoCubicSmoothRel : SVGPathSeg { 28 [StrictTypeChecking]attribute unrestricted float x;29 [StrictTypeChecking]attribute unrestricted float y;30 [StrictTypeChecking]attribute unrestricted float x2;31 [StrictTypeChecking]attribute unrestricted float y2;28 attribute unrestricted float x; 29 attribute unrestricted float y; 30 attribute unrestricted float x2; 31 attribute unrestricted float y2; 32 32 }; 33 33 -
trunk/Source/WebCore/svg/SVGPathSegCurvetoQuadraticAbs.idl
r168302 r203949 26 26 27 27 interface SVGPathSegCurvetoQuadraticAbs : SVGPathSeg { 28 [StrictTypeChecking]attribute unrestricted float x;29 [StrictTypeChecking]attribute unrestricted float y;30 [StrictTypeChecking]attribute unrestricted float x1;31 [StrictTypeChecking]attribute unrestricted float y1;28 attribute unrestricted float x; 29 attribute unrestricted float y; 30 attribute unrestricted float x1; 31 attribute unrestricted float y1; 32 32 }; 33 33 -
trunk/Source/WebCore/svg/SVGPathSegCurvetoQuadraticRel.idl
r168302 r203949 26 26 27 27 interface SVGPathSegCurvetoQuadraticRel : SVGPathSeg { 28 [StrictTypeChecking]attribute unrestricted float x;29 [StrictTypeChecking]attribute unrestricted float y;30 [StrictTypeChecking]attribute unrestricted float x1;31 [StrictTypeChecking]attribute unrestricted float y1;28 attribute unrestricted float x; 29 attribute unrestricted float y; 30 attribute unrestricted float x1; 31 attribute unrestricted float y1; 32 32 }; 33 33 -
trunk/Source/WebCore/svg/SVGPathSegCurvetoQuadraticSmoothAbs.idl
r168302 r203949 26 26 27 27 interface SVGPathSegCurvetoQuadraticSmoothAbs : SVGPathSeg { 28 [StrictTypeChecking]attribute unrestricted float x;29 [StrictTypeChecking]attribute unrestricted float y;28 attribute unrestricted float x; 29 attribute unrestricted float y; 30 30 }; 31 31 -
trunk/Source/WebCore/svg/SVGPathSegCurvetoQuadraticSmoothRel.idl
r168302 r203949 26 26 27 27 interface SVGPathSegCurvetoQuadraticSmoothRel : SVGPathSeg { 28 [StrictTypeChecking]attribute unrestricted float x;29 [StrictTypeChecking]attribute unrestricted float y;28 attribute unrestricted float x; 29 attribute unrestricted float y; 30 30 }; 31 31 -
trunk/Source/WebCore/svg/SVGPathSegLinetoAbs.idl
r168302 r203949 26 26 27 27 interface SVGPathSegLinetoAbs : SVGPathSeg { 28 [StrictTypeChecking]attribute unrestricted float x;29 [StrictTypeChecking]attribute unrestricted float y;28 attribute unrestricted float x; 29 attribute unrestricted float y; 30 30 }; 31 31 -
trunk/Source/WebCore/svg/SVGPathSegLinetoHorizontalAbs.idl
r168302 r203949 26 26 27 27 interface SVGPathSegLinetoHorizontalAbs : SVGPathSeg { 28 [StrictTypeChecking]attribute unrestricted float x;28 attribute unrestricted float x; 29 29 }; 30 30 -
trunk/Source/WebCore/svg/SVGPathSegLinetoHorizontalRel.idl
r168302 r203949 26 26 27 27 interface SVGPathSegLinetoHorizontalRel : SVGPathSeg { 28 [StrictTypeChecking]attribute unrestricted float x;28 attribute unrestricted float x; 29 29 }; 30 30 -
trunk/Source/WebCore/svg/SVGPathSegLinetoRel.idl
r168302 r203949 26 26 27 27 interface SVGPathSegLinetoRel : SVGPathSeg { 28 [StrictTypeChecking]attribute unrestricted float x;29 [StrictTypeChecking]attribute unrestricted float y;28 attribute unrestricted float x; 29 attribute unrestricted float y; 30 30 }; 31 31 -
trunk/Source/WebCore/svg/SVGPathSegLinetoVerticalAbs.idl
r168302 r203949 26 26 27 27 interface SVGPathSegLinetoVerticalAbs : SVGPathSeg { 28 [StrictTypeChecking]attribute unrestricted float y;28 attribute unrestricted float y; 29 29 }; 30 30 -
trunk/Source/WebCore/svg/SVGPathSegLinetoVerticalRel.idl
r168302 r203949 26 26 27 27 interface SVGPathSegLinetoVerticalRel : SVGPathSeg { 28 [StrictTypeChecking]attribute unrestricted float y;28 attribute unrestricted float y; 29 29 }; 30 30 -
trunk/Source/WebCore/svg/SVGPathSegMovetoAbs.idl
r168302 r203949 26 26 27 27 interface SVGPathSegMovetoAbs : SVGPathSeg { 28 [StrictTypeChecking]attribute unrestricted float x;29 [StrictTypeChecking]attribute unrestricted float y;28 attribute unrestricted float x; 29 attribute unrestricted float y; 30 30 }; 31 31 -
trunk/Source/WebCore/svg/SVGPathSegMovetoRel.idl
r168302 r203949 26 26 27 27 interface SVGPathSegMovetoRel : SVGPathSeg { 28 [StrictTypeChecking]attribute unrestricted float x;29 [StrictTypeChecking]attribute unrestricted float y;28 attribute unrestricted float x; 29 attribute unrestricted float y; 30 30 }; 31 31 -
trunk/Source/WebCore/svg/SVGPoint.idl
r168302 r203949 22 22 23 23 interface SVGPoint { 24 [StrictTypeChecking]attribute unrestricted float x;25 [StrictTypeChecking]attribute unrestricted float y;24 attribute unrestricted float x; 25 attribute unrestricted float y; 26 26 27 27 [StrictTypeChecking] SVGPoint matrixTransform(SVGMatrix matrix); -
trunk/Source/WebCore/svg/SVGPreserveAspectRatio.idl
r163440 r203949 43 43 const unsigned short SVG_MEETORSLICE_SLICE = 2; 44 44 45 [S trictTypeChecking, SetterRaisesException] attribute unsigned short align;45 [SetterRaisesException] attribute unsigned short align; 46 46 47 [S trictTypeChecking, SetterRaisesException] attribute unsigned short meetOrSlice;47 [SetterRaisesException] attribute unsigned short meetOrSlice; 48 48 }; 49 49 -
trunk/Source/WebCore/svg/SVGRect.idl
r168302 r203949 22 22 23 23 interface SVGRect { 24 [StrictTypeChecking]attribute unrestricted float x;25 [StrictTypeChecking]attribute unrestricted float y;26 [StrictTypeChecking]attribute unrestricted float width;27 [StrictTypeChecking]attribute unrestricted float height;24 attribute unrestricted float x; 25 attribute unrestricted float y; 26 attribute unrestricted float width; 27 attribute unrestricted float height; 28 28 }; 29 29
Note: See TracChangeset
for help on using the changeset viewer.