Changeset 267000 in webkit
- Timestamp:
- Sep 13, 2020 11:47:31 AM (4 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r266989 r267000 1 2020-09-13 Rob Buis <rbuis@igalia.com> 2 3 Make CanvasRenderingContext2D functions parameters not default to undefined 4 https://bugs.webkit.org/show_bug.cgi?id=216438 5 6 Reviewed by Sam Weinig. 7 8 Adjust expected test result. 9 10 * inspector/canvas/recording-2d-full-expected.txt: 11 1 12 2020-09-12 Tyler Wilcock <twilco.o@protonmail.com> 2 13 -
trunk/LayoutTests/inspector/canvas/recording-2d-full-expected.txt
r246016 r267000 653 653 2: executeFrameFunction 654 654 48: (duration) 655 0: setCompositeOperation(" undefined")655 0: setCompositeOperation("") 656 656 swizzleTypes: [String] 657 657 trace: … … 703 703 2: executeFrameFunction 704 704 50: (duration) 705 0: setLineCap(" undefined")705 0: setLineCap("") 706 706 swizzleTypes: [String] 707 707 trace: … … 723 723 2: executeFrameFunction 724 724 52: (duration) 725 0: setLineJoin(" undefined")725 0: setLineJoin("") 726 726 swizzleTypes: [String] 727 727 trace: -
trunk/Source/WebCore/ChangeLog
r266999 r267000 1 2020-09-13 Rob Buis <rbuis@igalia.com> 2 3 Make CanvasRenderingContext2D functions parameters not default to undefined 4 https://bugs.webkit.org/show_bug.cgi?id=216438 5 6 Reviewed by Sam Weinig. 7 8 Some string parameters default to "undefined", however the code path is the same when 9 no default is given and implicitly a null string is passed, so remove the default 10 values. 11 12 * html/canvas/CanvasRenderingContext2D.idl: 13 1 14 2020-09-13 Sam Weinig <weinig@apple.com> 2 15 -
trunk/Source/WebCore/html/canvas/CanvasRenderingContext2D.idl
r266523 r267000 35 35 // Non-standard legacy aliases (Compositing). 36 36 [ImplementedAs=setGlobalAlpha] undefined setAlpha(optional unrestricted float alpha = NaN); 37 [ImplementedAs=setGlobalCompositeOperation] undefined setCompositeOperation(optional DOMString compositeOperation = "undefined"); // FIXME: Using "undefined" as default parameter value is wrong.37 [ImplementedAs=setGlobalCompositeOperation] undefined setCompositeOperation(optional DOMString compositeOperation); 38 38 39 39 // Non-standard functionality (CanvasDrawImage). … … 61 61 // Non-standard legacy aliases (CanvasPathDrawingStyles). 62 62 undefined setLineWidth(optional unrestricted float width = NaN); 63 undefined setLineCap(optional DOMString cap = "undefined"); // FIXME: Using "undefined" as default parameter value is wrong.64 undefined setLineJoin(optional DOMString join = "undefined"); // FIXME: Using "undefined" as default parameter value is wrong.63 undefined setLineCap(optional DOMString cap); 64 undefined setLineJoin(optional DOMString join); 65 65 undefined setMiterLimit(optional unrestricted float limit = NaN); 66 66 attribute sequence<unrestricted float> webkitLineDash;
Note: See TracChangeset
for help on using the changeset viewer.