RESOLVED INVALID 119211
The typeof canvas-path object is "object" and not "Path"
https://bugs.webkit.org/show_bug.cgi?id=119211
Summary The typeof canvas-path object is "object" and not "Path"
Rashmi Shyamasundar
Reported 2013-07-29 02:46:06 PDT
The layout tests for canvas-path, expect that the function "typeof" in JS, called on a path-object should return "Path". But, it actually returns "object". The expectations in these tests should be changed from "Path" to "object".
Attachments
Patch (2.09 KB, patch)
2013-07-29 03:15 PDT, Rashmi Shyamasundar
no flags
Archive of layout-test-results from webkit-ews-05 for mac-mountainlion (518.22 KB, application/zip)
2013-07-29 04:23 PDT, Build Bot
no flags
Archive of layout-test-results from webkit-ews-10 for mac-mountainlion-wk2 (602.55 KB, application/zip)
2013-07-29 12:55 PDT, Build Bot
no flags
Rashmi Shyamasundar
Comment 1 2013-07-29 03:15:22 PDT
Build Bot
Comment 2 2013-07-29 04:23:24 PDT
Comment on attachment 207630 [details] Patch Attachment 207630 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/1241937 New failing tests: fast/canvas/canvas-currentPath.html fast/canvas/canvas-path-object.html
Build Bot
Comment 3 2013-07-29 04:23:26 PDT
Created attachment 207641 [details] Archive of layout-test-results from webkit-ews-05 for mac-mountainlion The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: webkit-ews-05 Port: mac-mountainlion Platform: Mac OS X 10.8.4
Dirk Schulze
Comment 4 2013-07-29 07:04:16 PDT
Comment on attachment 207630 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=207630&action=review > LayoutTests/fast/canvas/script-tests/canvas-currentPath.js:63 > -shouldBeType("p", "Path"); > +shouldBe("typeof p", '"object"'); The one checks the instance the other the JS type. Why not check both? Am I missing something? Why is there no layout test update needed?
Dirk Schulze
Comment 5 2013-07-29 07:05:07 PDT
(In reply to comment #2) > (From update of attachment 207630 [details]) > Attachment 207630 [details] did not pass mac-ews (mac): > Output: http://webkit-queues.appspot.com/results/1241937 > > New failing tests: > fast/canvas/canvas-currentPath.html > fast/canvas/canvas-path-object.html Oh there actually are updates needed.
Build Bot
Comment 6 2013-07-29 12:55:10 PDT
Comment on attachment 207630 [details] Patch Attachment 207630 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/1296074 New failing tests: fast/canvas/canvas-currentPath.html fast/canvas/canvas-path-object.html
Build Bot
Comment 7 2013-07-29 12:55:12 PDT
Created attachment 207667 [details] Archive of layout-test-results from webkit-ews-10 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: webkit-ews-10 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.4
Rashmi Shyamasundar
Comment 8 2013-07-30 00:41:46 PDT
Sorry for the confusion. Please ignore this bug. The tests are working fine. I had to update my javascript resources for the layouttests.
Csaba Osztrogonác
Comment 9 2013-11-05 09:03:45 PST
Comment on attachment 207630 [details] Patch Cleared review? from attachment 207630 [details] so that this bug does not appear in http://webkit.org/pending-review. If you would like this patch reviewed, please attach it to a new bug (or re-open this bug before marking it for review again).
Note You need to log in before you can comment on or make changes to this bug.