Changeset 61071 in webkit
- Timestamp:
- Jun 12, 2010, 6:03:54 PM (15 years ago)
- Location:
- trunk
- Files:
-
- 23 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r61070 r61071 1 2010-06-12 Andreas Kling <andreas.kling@nokia.com> 2 3 Reviewed by Darin Adler. 4 5 Window object should have CanvasGradient and CanvasPattern 6 https://bugs.webkit.org/show_bug.cgi?id=40394 7 8 Unskipped 2 tests that are now working properly. 9 10 * canvas/philip/tests/2d.gradient.object.return-expected.txt: 11 * canvas/philip/tests/2d.pattern.basic.type-expected.txt: 12 * fast/dom/Window/window-properties-expected.txt: 13 * fast/dom/Window/window-property-descriptors-expected.txt: 14 * fast/dom/dom-constructors-expected.txt: 15 * fast/dom/prototype-inheritance-2-expected.txt: 16 * fast/dom/prototype-inheritance-expected.txt: 17 * fast/js/global-constructors-expected.txt: 18 * platform/gtk/fast/dom/Window/window-properties-expected.txt: 19 * platform/gtk/fast/dom/Window/window-property-descriptors-expected.txt: 20 * platform/gtk/fast/dom/prototype-inheritance-expected.txt: 21 * platform/gtk/fast/js/global-constructors-expected.txt: 22 * platform/mac/Skipped: 23 * platform/qt/Skipped: 24 * platform/qt/fast/dom/Window/window-properties-expected.txt: 25 * platform/qt/fast/dom/Window/window-property-descriptors-expected.txt: 26 * platform/qt/fast/dom/prototype-inheritance-expected.txt: 27 * platform/qt/fast/js/global-constructors-expected.txt: 28 1 29 2010-06-12 Dan Bernstein <mitz@apple.com> 2 30 -
trunk/LayoutTests/canvas/philip/tests/2d.gradient.object.return-expected.txt
r60162 r61071 4 4 References: 2d.gradient.linear.return 2d.gradient.radial.return 5 5 Actual output: 6 Aborted with exception: Result of expression 'window.CanvasGradient' [undefined] is not an object. 6 Passed -
trunk/LayoutTests/canvas/philip/tests/2d.pattern.basic.type-expected.txt
r60162 r61071 5 5 Passed 6 6 7 -
trunk/LayoutTests/fast/dom/Window/window-properties-expected.txt
r60831 r61071 386 386 window.CSSVariablesRule [object CSSVariablesRuleConstructor] 387 387 window.CSSVariablesRule.prototype [printed above as window.CSSRule.prototype] 388 window.CanvasGradient [object CanvasGradientConstructor] 389 window.CanvasGradient.prototype [object CanvasGradientPrototype] 390 window.CanvasGradient.prototype.addColorStop [function] 391 window.CanvasPattern [object CanvasPatternConstructor] 392 window.CanvasPattern.prototype [object CanvasPatternPrototype] 388 393 window.CanvasRenderingContext2D [object CanvasRenderingContext2DConstructor] 389 394 window.CanvasRenderingContext2D.prototype [object CanvasRenderingContext2DPrototype] -
trunk/LayoutTests/fast/dom/Window/window-property-descriptors-expected.txt
r60831 r61071 26 26 PASS typeof Object.getOwnPropertyDescriptor(window, 'CSSVariablesDeclaration') is 'object' 27 27 PASS typeof Object.getOwnPropertyDescriptor(window, 'CSSVariablesRule') is 'object' 28 PASS typeof Object.getOwnPropertyDescriptor(window, 'CanvasGradient') is 'object' 29 PASS typeof Object.getOwnPropertyDescriptor(window, 'CanvasPattern') is 'object' 28 30 PASS typeof Object.getOwnPropertyDescriptor(window, 'CanvasRenderingContext2D') is 'object' 29 31 PASS typeof Object.getOwnPropertyDescriptor(window, 'CharacterData') is 'object' -
trunk/LayoutTests/fast/dom/dom-constructors-expected.txt
r49998 r61071 117 117 PASS TryAllocate('XPathResult') is 'exception' 118 118 FAIL TryAllocate('BarInfo') should be exception. Was no constructor. 119 FAIL TryAllocate('CanvasGradient') should be exception. Was no constructor. 120 FAIL TryAllocate('CanvasPattern') should be exception. Was no constructor. 119 PASS TryAllocate('CanvasGradient') is 'exception' 120 PASS TryAllocate('CanvasPattern') is 'exception' 121 121 FAIL TryAllocate('Console') should be exception. Was no constructor. 122 122 FAIL TryAllocate('DOMSelection') should be exception. Was no constructor. -
trunk/LayoutTests/fast/dom/prototype-inheritance-2-expected.txt
r60831 r61071 49 49 PASS CSSValuePrototype from inner.getComputedStyle(inner.document.body).getPropertyCSSValue(background-clip).__proto__.__proto__ 50 50 FAIL CanvasPattern from inner.document.getElementsByTagName("canvas")[0].getContext("2d").createPattern(inner.document.getElementsByTagName("img")[0], "") 51 FAIL CanvasPatternConstructor from inner.document.getElementsByTagName("canvas")[0].getContext("2d").createPattern(inner.document.getElementsByTagName("img")[0], "").constructor 51 52 FAIL CanvasPatternPrototype from inner.document.getElementsByTagName("canvas")[0].getContext("2d").createPattern(inner.document.getElementsByTagName("img")[0], "").__proto__ 52 53 PASS CanvasRenderingContext2D from inner.document.getElementsByTagName("canvas")[0].getContext("2d") … … 215 216 Never found CSSVariablesDeclaration 216 217 Never found CSSVariablesRule 218 Never found CanvasGradient 217 219 Never found CharacterData 218 220 Never found Clipboard -
trunk/LayoutTests/fast/dom/prototype-inheritance-expected.txt
r60831 r61071 44 44 PASS inner.CSSVariablesRule.isInner is true 45 45 PASS inner.CSSVariablesRule.constructor.isInner is true 46 PASS inner.CanvasGradient.isInner is true 47 PASS inner.CanvasGradient.constructor.isInner is true 48 PASS inner.CanvasPattern.isInner is true 49 PASS inner.CanvasPattern.constructor.isInner is true 46 50 PASS inner.CanvasRenderingContext2D.isInner is true 47 51 PASS inner.CanvasRenderingContext2D.constructor.isInner is true -
trunk/LayoutTests/fast/js/global-constructors-expected.txt
r60831 r61071 24 24 PASS CSSVariablesDeclaration.toString() is '[object CSSVariablesDeclarationConstructor]' 25 25 PASS CSSVariablesRule.toString() is '[object CSSVariablesRuleConstructor]' 26 PASS CanvasGradient.toString() is '[object CanvasGradientConstructor]' 27 PASS CanvasPattern.toString() is '[object CanvasPatternConstructor]' 26 28 PASS CanvasRenderingContext2D.toString() is '[object CanvasRenderingContext2DConstructor]' 27 29 PASS CharacterData.toString() is '[object CharacterDataConstructor]' -
trunk/LayoutTests/platform/gtk/fast/dom/Window/window-properties-expected.txt
r60568 r61071 357 357 window.CSSVariablesRule [object CSSVariablesRuleConstructor] 358 358 window.CSSVariablesRule.prototype [printed above as window.CSSRule.prototype] 359 window.CanvasGradient [object CanvasGradientConstructor] 360 window.CanvasGradient.prototype [object CanvasGradientPrototype] 361 window.CanvasGradient.prototype.addColorStop [function] 362 window.CanvasPattern [object CanvasPatternConstructor] 363 window.CanvasPattern.prototype [object CanvasPatternPrototype] 359 364 window.CanvasRenderingContext2D [object CanvasRenderingContext2DConstructor] 360 365 window.CanvasRenderingContext2D.prototype [object CanvasRenderingContext2DPrototype] -
trunk/LayoutTests/platform/gtk/fast/dom/Window/window-property-descriptors-expected.txt
r60070 r61071 26 26 PASS typeof Object.getOwnPropertyDescriptor(window, 'CSSVariablesDeclaration') is 'object' 27 27 PASS typeof Object.getOwnPropertyDescriptor(window, 'CSSVariablesRule') is 'object' 28 PASS typeof Object.getOwnPropertyDescriptor(window, 'CanvasGradient') is 'object' 29 PASS typeof Object.getOwnPropertyDescriptor(window, 'CanvasPattern') is 'object' 28 30 PASS typeof Object.getOwnPropertyDescriptor(window, 'CanvasRenderingContext2D') is 'object' 29 31 PASS typeof Object.getOwnPropertyDescriptor(window, 'CharacterData') is 'object' -
trunk/LayoutTests/platform/gtk/fast/dom/prototype-inheritance-expected.txt
r60070 r61071 44 44 PASS inner.CSSVariablesRule.isInner is true 45 45 PASS inner.CSSVariablesRule.constructor.isInner is true 46 PASS inner.CanvasGradient.isInner is true 47 PASS inner.CanvasGradient.constructor.isInner is true 48 PASS inner.CanvasPattern.isInner is true 49 PASS inner.CanvasPattern.constructor.isInner is true 46 50 PASS inner.CanvasRenderingContext2D.isInner is true 47 51 PASS inner.CanvasRenderingContext2D.constructor.isInner is true -
trunk/LayoutTests/platform/gtk/fast/js/global-constructors-expected.txt
r60070 r61071 24 24 PASS CSSVariablesDeclaration.toString() is '[object CSSVariablesDeclarationConstructor]' 25 25 PASS CSSVariablesRule.toString() is '[object CSSVariablesRuleConstructor]' 26 PASS CanvasGradient.toString() is '[object CanvasGradientConstructor]' 27 PASS CanvasPattern.toString() is '[object CanvasPatternConstructor]' 26 28 PASS CanvasRenderingContext2D.toString() is '[object CanvasRenderingContext2DConstructor]' 27 29 PASS CharacterData.toString() is '[object CharacterDataConstructor]' -
trunk/LayoutTests/platform/mac/Skipped
r60998 r61071 241 241 canvas/philip/tests/2d.path.stroke.prune.curve.html 242 242 canvas/philip/tests/2d.path.stroke.prune.line.html 243 canvas/philip/tests/2d.pattern.basic.type.html244 243 canvas/philip/tests/2d.pattern.image.broken.html 245 244 canvas/philip/tests/2d.pattern.image.incomplete.html -
trunk/LayoutTests/platform/qt/Skipped
r61062 r61071 5301 5301 canvas/philip/tests/2d.path.stroke.prune.arc.html 5302 5302 canvas/philip/tests/2d.path.stroke.scale2.html 5303 canvas/philip/tests/2d.pattern.basic.type.html5304 5303 canvas/philip/tests/2d.pattern.image.broken.html 5305 5304 canvas/philip/tests/2d.pattern.image.incomplete.html -
trunk/LayoutTests/platform/qt/fast/dom/Window/window-properties-expected.txt
r60625 r61071 386 386 window.CSSVariablesRule [object CSSVariablesRuleConstructor] 387 387 window.CSSVariablesRule.prototype [printed above as window.CSSRule.prototype] 388 window.CanvasGradient [object CanvasGradientConstructor] 389 window.CanvasGradient.prototype [object CanvasGradientPrototype] 390 window.CanvasGradient.prototype.addColorStop [function] 391 window.CanvasPattern [object CanvasPatternConstructor] 392 window.CanvasPattern.prototype [object CanvasPatternPrototype] 388 393 window.CanvasRenderingContext2D [object CanvasRenderingContext2DConstructor] 389 394 window.CanvasRenderingContext2D.prototype [object CanvasRenderingContext2DPrototype] -
trunk/LayoutTests/platform/qt/fast/dom/Window/window-property-descriptors-expected.txt
r60625 r61071 26 26 PASS typeof Object.getOwnPropertyDescriptor(window, 'CSSVariablesDeclaration') is 'object' 27 27 PASS typeof Object.getOwnPropertyDescriptor(window, 'CSSVariablesRule') is 'object' 28 PASS typeof Object.getOwnPropertyDescriptor(window, 'CanvasGradient') is 'object' 29 PASS typeof Object.getOwnPropertyDescriptor(window, 'CanvasPattern') is 'object' 28 30 PASS typeof Object.getOwnPropertyDescriptor(window, 'CanvasRenderingContext2D') is 'object' 29 31 PASS typeof Object.getOwnPropertyDescriptor(window, 'CharacterData') is 'object' -
trunk/LayoutTests/platform/qt/fast/dom/prototype-inheritance-expected.txt
r60625 r61071 44 44 PASS inner.CSSVariablesRule.isInner is true 45 45 PASS inner.CSSVariablesRule.constructor.isInner is true 46 PASS inner.CanvasGradient.isInner is true 47 PASS inner.CanvasGradient.constructor.isInner is true 48 PASS inner.CanvasPattern.isInner is true 49 PASS inner.CanvasPattern.constructor.isInner is true 46 50 PASS inner.CanvasRenderingContext2D.isInner is true 47 51 PASS inner.CanvasRenderingContext2D.constructor.isInner is true -
trunk/LayoutTests/platform/qt/fast/js/global-constructors-expected.txt
r60625 r61071 24 24 PASS CSSVariablesDeclaration.toString() is '[object CSSVariablesDeclarationConstructor]' 25 25 PASS CSSVariablesRule.toString() is '[object CSSVariablesRuleConstructor]' 26 PASS CanvasGradient.toString() is '[object CanvasGradientConstructor]' 27 PASS CanvasPattern.toString() is '[object CanvasPatternConstructor]' 26 28 PASS CanvasRenderingContext2D.toString() is '[object CanvasRenderingContext2DConstructor]' 27 29 PASS CharacterData.toString() is '[object CharacterDataConstructor]' -
trunk/WebCore/ChangeLog
r61070 r61071 1 2010-06-12 Andreas Kling <andreas.kling@nokia.com> 2 3 Reviewed by Darin Adler. 4 5 Window object should have CanvasGradient and CanvasPattern 6 https://bugs.webkit.org/show_bug.cgi?id=40394 7 8 This fixes the following tests: 9 - canvas/philip/tests/2d.gradient.object.return.html 10 - canvas/philip/tests/2d.pattern.basic.type.html 11 12 * html/canvas/CanvasGradient.idl: 13 * html/canvas/CanvasPattern.idl: 14 * page/DOMWindow.idl: 15 1 16 2010-06-12 Dan Bernstein <mitz@apple.com> 2 17 -
trunk/WebCore/html/canvas/CanvasGradient.idl
r52534 r61071 28 28 interface [ 29 29 InterfaceUUID=bb1108ea-6b8c-4a08-894a-218628630cdb, 30 ImplementationUUID=a2942ae6-2731-4286-98cc-9d5e79e20de1, 31 OmitConstructor 30 ImplementationUUID=a2942ae6-2731-4286-98cc-9d5e79e20de1 32 31 ] CanvasGradient { 33 32 -
trunk/WebCore/html/canvas/CanvasPattern.idl
r52534 r61071 28 28 interface [ 29 29 InterfaceUUID=c2131348-6d8c-47b5-86cc-d41aff34ce15, 30 ImplementationUUID=82f5d713-3d17-44dd-aa4a-7766fe345940, 31 OmitConstructor 30 ImplementationUUID=82f5d713-3d17-44dd-aa4a-7766fe345940 32 31 ] CanvasPattern { 33 32 -
trunk/WebCore/page/DOMWindow.idl
r60902 r61071 449 449 attribute [CustomGetter] HTMLOptionElementConstructor Option; // Usable with new operator 450 450 451 attribute CanvasPatternConstructor CanvasPattern; 452 attribute CanvasGradientConstructor CanvasGradient; 451 453 attribute CanvasRenderingContext2DConstructor CanvasRenderingContext2D; 452 454 attribute ImageDataConstructor ImageData;
Note:
See TracChangeset
for help on using the changeset viewer.