RESOLVED DUPLICATE of bug 67458 66276
"new WebKitCSSMatrix()" should generate a default matrix when undefined, null or an empty string is passed
https://bugs.webkit.org/show_bug.cgi?id=66276
Summary "new WebKitCSSMatrix()" should generate a default matrix when undefined, null...
Kentaro Hara
Reported 2011-08-15 22:01:50 PDT
A Web IDL Constructor extended attribute should be implemented in V8 (bug 65839). We are going to split the patch for bug 65839 into the following eleven steps in order to avoid regressions. This patch is for [3]. Spec: http://www.w3.org/TR/css3-3d-transforms/ (Look at the setMatrixValue section) [1] "new EventSource()" should throw SYNTAX_ERR when an invalid argument is passed. [2] "new SharedWorker()" should throw SYNTAX_ERR when an invalid argument is passed. [3] "new WebKitCSSMatrix()" should throw SYNTAX_ERR when an invalid argument is passed. [4] "new Worker()" should throw SYNTAX_ERR when an invalid argument is passed. [5] Implement the Web IDL Constructor extended attribute in IDLParser.pm and CodeGeneratorV8.pm. [6] Replace the EventSource constructor in V8 with the Web IDL Constructor extended attribute. [7] Replace the FileReader constructor in V8 with the Web IDL Constructor extended attribute. [8] Replace the SharedWorker constructor in V8 with the Web IDL Constructor extended attribute. [9] Replace the WebKitCSSMatrix constructor in V8 with the Web IDL Constructor extended attribute. [10] Replace the Worker constructor in V8 with the Web IDL Constructor extended attribute. [11] Replace the XSLTProcessor constructor in V8 with the Web IDL Constructor extended attribute. Dependencies: [6][7][8][9][10][11] depends on [1][2][3][4][5]. We can land [1][2][3][4][5] concurrently, and then can land [6][7][8][9][10][11] concurrently.
Attachments
Patch (6.33 KB, patch)
2011-08-16 04:34 PDT, Kentaro Hara
ap: review-
Kentaro Hara
Comment 1 2011-08-16 04:34:34 PDT
Alexey Proskuryakov
Comment 2 2011-08-16 11:14:25 PDT
Could you please explain why this change is correct in more detail? I suspect that it's not quite correct, for the same reason as in bug 66274.
Kentaro Hara
Comment 3 2011-08-18 00:56:06 PDT
(In reply to comment #2) > Could you please explain why this change is correct in more detail? I suspect that it's not quite correct, for the same reason as in bug 66274. I am sorry. I confirmed that this is not a bug and thus should not be fixed.
Alexey Proskuryakov
Comment 4 2011-08-18 08:46:14 PDT
Comment on attachment 104024 [details] Patch Marking r- per the above discussion.
Kentaro Hara
Comment 5 2011-10-12 01:34:01 PDT
*** This bug has been marked as a duplicate of bug 67458 ***
Note You need to log in before you can comment on or make changes to this bug.