Bug 216438 - Make CanvasRenderingContext2D functions parameters not default to undefined
Summary: Make CanvasRenderingContext2D functions parameters not default to undefined
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Canvas (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Rob Buis
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2020-09-12 09:36 PDT by Rob Buis
Modified: 2020-09-13 11:48 PDT (History)
10 users (show)

See Also:


Attachments
Patch (2.48 KB, patch)
2020-09-12 09:37 PDT, Rob Buis
no flags Details | Formatted Diff | Diff
Patch (4.19 KB, patch)
2020-09-13 02:48 PDT, Rob Buis
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Rob Buis 2020-09-12 09:36:04 PDT
Some string parameters default to "undefined", however the code path is the same when
no default is given and implicitly a null string is passed, so remove the default
values.
Comment 1 Rob Buis 2020-09-12 09:37:20 PDT
Created attachment 408601 [details]
Patch
Comment 2 Rob Buis 2020-09-13 02:48:49 PDT
Created attachment 408646 [details]
Patch
Comment 3 EWS 2020-09-13 11:47:36 PDT
Committed r267000: <https://trac.webkit.org/changeset/267000>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 408646 [details].
Comment 4 Radar WebKit Bug Importer 2020-09-13 11:48:14 PDT
<rdar://problem/68809745>