RESOLVED FIXED 176276
[Canvas] Split CanvasRenderingContext2D.idl into separate IDLs to match current HTML spec
https://bugs.webkit.org/show_bug.cgi?id=176276
Summary [Canvas] Split CanvasRenderingContext2D.idl into separate IDLs to match curre...
Sam Weinig
Reported 2017-09-02 08:55:53 PDT
[Canvas] Split CanvasRenderingContext2D.idl into seperate IDLs to match current HTML spec
Attachments
Patch (210.55 KB, patch)
2017-09-02 15:03 PDT, Sam Weinig
no flags
Archive of layout-test-results from ews102 for mac-elcapitan (1.48 MB, application/zip)
2017-09-02 16:22 PDT, Build Bot
no flags
Archive of layout-test-results from ews105 for mac-elcapitan-wk2 (1.59 MB, application/zip)
2017-09-02 16:28 PDT, Build Bot
no flags
Archive of layout-test-results from ews114 for mac-elcapitan (2.26 MB, application/zip)
2017-09-02 16:44 PDT, Build Bot
no flags
Archive of layout-test-results from ews123 for ios-simulator-wk2 (1.35 MB, application/zip)
2017-09-02 16:52 PDT, Build Bot
no flags
Patch (276.18 KB, patch)
2017-09-02 17:39 PDT, Sam Weinig
no flags
Patch (282.31 KB, patch)
2017-09-02 17:46 PDT, Sam Weinig
dino: review+
commit-queue: commit-queue-
Sam Weinig
Comment 1 2017-09-02 15:03:16 PDT Comment hidden (obsolete)
Build Bot
Comment 2 2017-09-02 16:22:40 PDT Comment hidden (obsolete)
Build Bot
Comment 3 2017-09-02 16:22:41 PDT Comment hidden (obsolete)
Build Bot
Comment 4 2017-09-02 16:27:58 PDT Comment hidden (obsolete)
Build Bot
Comment 5 2017-09-02 16:28:00 PDT Comment hidden (obsolete)
Build Bot
Comment 6 2017-09-02 16:44:04 PDT Comment hidden (obsolete)
Build Bot
Comment 7 2017-09-02 16:44:06 PDT Comment hidden (obsolete)
Build Bot
Comment 8 2017-09-02 16:52:03 PDT Comment hidden (obsolete)
Build Bot
Comment 9 2017-09-02 16:52:05 PDT Comment hidden (obsolete)
Sam Weinig
Comment 10 2017-09-02 17:39:02 PDT Comment hidden (obsolete)
Sam Weinig
Comment 11 2017-09-02 17:46:03 PDT
WebKit Commit Bot
Comment 12 2017-09-03 14:19:33 PDT
Comment on attachment 319750 [details] Patch Rejecting attachment 319750 [details] from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.webkit.org', '--bot-id=webkit-cq-03', 'apply-attachment', '--no-update', '--non-interactive', 319750, '--port=mac']" exit_code: 2 cwd: /Volumes/Data/EWS/WebKit Last 500 characters of output: anvas/recording-2d-expected.txt patching file LayoutTests/js/dom/global-constructors-attributes-dedicated-worker-expected.txt patching file LayoutTests/platform/mac-wk1/js/dom/global-constructors-attributes-dedicated-worker-expected.txt patching file LayoutTests/platform/wpe/js/dom/global-constructors-attributes-dedicated-worker-expected.txt Failed to run "[u'/Volumes/Data/EWS/WebKit/Tools/Scripts/svn-apply', '--force', '--reviewer', u'Dean Jackson']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit Full output: http://webkit-queues.webkit.org/results/4443715
Sam Weinig
Comment 13 2017-09-04 17:23:06 PDT
Joseph Pecoraro
Comment 14 2017-09-05 11:59:50 PDT
Comment on attachment 319750 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=319750&action=review > Source/WebCore/html/canvas/CanvasRenderingContext2D.cpp:589 > + CanvasLineJoin join; > + if (stringValue == "round") > + join = CanvasLineJoin::Round; > + if (stringValue == "bevel") > + join = CanvasLineJoin::Bevel; > + if (stringValue == "miter") > + join = CanvasLineJoin::Miter; > + else > + return; Something seems wrong here. Should this be an else/if chain? Otherwise `round` and `bevel` do nothing above.
Sam Weinig
Comment 15 2017-09-06 09:32:37 PDT
(In reply to Joseph Pecoraro from comment #14) > Comment on attachment 319750 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=319750&action=review > > > Source/WebCore/html/canvas/CanvasRenderingContext2D.cpp:589 > > + CanvasLineJoin join; > > + if (stringValue == "round") > > + join = CanvasLineJoin::Round; > > + if (stringValue == "bevel") > > + join = CanvasLineJoin::Bevel; > > + if (stringValue == "miter") > > + join = CanvasLineJoin::Miter; > > + else > > + return; > > Something seems wrong here. Should this be an else/if chain? Otherwise > `round` and `bevel` do nothing above. Good find Joe! Filed https://bugs.webkit.org/show_bug.cgi?id=176461 to track and fix this.
Radar WebKit Bug Importer
Comment 16 2017-09-27 12:53:32 PDT
Note You need to log in before you can comment on or make changes to this bug.