RESOLVED FIXED Bug 121886
Sync toWebKitCSSShaderValue() behavior with other toCSSFooValue()
https://bugs.webkit.org/show_bug.cgi?id=121886
Summary Sync toWebKitCSSShaderValue() behavior with other toCSSFooValue()
Gyuyoung Kim
Reported 2013-09-24 17:50:32 PDT
As mentioned in https://bugs.webkit.org/show_bug.cgi?id=121776#c3, toWebKitCSSShaderValue() behavior is different from other toCSSFooValue(). We need to have same behavior pattern. Patch is coming.
Attachments
Patch (3.56 KB, patch)
2013-09-26 00:07 PDT, Gyuyoung Kim
no flags
Patch (3.57 KB, patch)
2013-09-26 02:02 PDT, Gyuyoung Kim
no flags
Archive of layout-test-results from webkit-ews-10 for mac-mountainlion-wk2 (717.11 KB, application/zip)
2013-09-26 02:54 PDT, Build Bot
no flags
Archive of layout-test-results from webkit-ews-06 for mac-mountainlion (728.25 KB, application/zip)
2013-09-26 03:08 PDT, Build Bot
no flags
Archive of layout-test-results from webkit-ews-05 for mac-mountainlion (733.02 KB, application/zip)
2013-09-26 04:11 PDT, Build Bot
no flags
Patch (3.71 KB, patch)
2013-09-26 09:34 PDT, Gyuyoung Kim
no flags
Gyuyoung Kim
Comment 1 2013-09-26 00:07:24 PDT
Early Warning System Bot
Comment 2 2013-09-26 00:12:04 PDT
Early Warning System Bot
Comment 3 2013-09-26 00:13:23 PDT
Build Bot
Comment 4 2013-09-26 00:34:12 PDT
Build Bot
Comment 5 2013-09-26 00:47:29 PDT
Gyuyoung Kim
Comment 6 2013-09-26 02:02:35 PDT
Build Bot
Comment 7 2013-09-26 02:54:51 PDT
Comment on attachment 212677 [details] Patch Attachment 212677 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/2233204 New failing tests: css3/filters/custom/custom-filter-animation.html css3/filters/custom/custom-filter-u-mesh-box.html css3/filters/custom/custom-filter-array-blending.html css3/filters/custom/custom-filter-matN.html css3/filters/custom/custom-filter-u-tile-size.html css3/filters/custom/custom-filter-property-computed-style.html css3/filters/custom/custom-filter-blend-modes.html css3/filters/custom/custom-filter-color.html css3/filters/custom/custom-filter-clamp-css-mix-color.html css3/filters/custom/custom-filter-array.html css3/filters/custom/custom-filter-u-texture-size.html css3/filters/custom/custom-filter-clamp-css-color-matrix.html css3/filters/custom/effect-custom-transform-parameters.html css3/filters/custom/custom-filter-transforms-animation.html css3/filters/custom/custom-filter-clamp-css-mix-color-negative.html css3/filters/custom/custom-filter-composite-fractional-source-alpha.html css3/filters/custom/custom-filter-clamp-css-color-matrix-negative.html css3/filters/custom/custom-filter-u-mesh-size.html css3/filters/custom/composited/custom-filter-blend-modes.html css3/filters/custom/custom-filter-change-blend-mode.html
Build Bot
Comment 8 2013-09-26 02:54:54 PDT
Created attachment 212682 [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.5
Build Bot
Comment 9 2013-09-26 03:08:43 PDT
Comment on attachment 212677 [details] Patch Attachment 212677 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/2393026 New failing tests: css3/filters/custom/custom-filter-animation.html css3/filters/custom/custom-filter-u-mesh-box.html css3/filters/custom/custom-filter-array-blending.html css3/filters/custom/custom-filter-matN.html css3/filters/custom/custom-filter-u-tile-size.html css3/filters/custom/custom-filter-property-computed-style.html css3/filters/custom/custom-filter-blend-modes.html css3/filters/custom/custom-filter-color.html css3/filters/custom/custom-filter-clamp-css-mix-color.html css3/filters/custom/custom-filter-array.html css3/filters/custom/custom-filter-u-texture-size.html css3/filters/custom/custom-filter-clamp-css-color-matrix.html css3/filters/custom/effect-custom-transform-parameters.html css3/filters/custom/custom-filter-transforms-animation.html css3/filters/custom/custom-filter-clamp-css-mix-color-negative.html css3/filters/custom/custom-filter-composite-fractional-source-alpha.html css3/filters/custom/custom-filter-clamp-css-color-matrix-negative.html css3/filters/custom/custom-filter-u-mesh-size.html css3/filters/custom/composited/custom-filter-blend-modes.html css3/filters/custom/custom-filter-change-blend-mode.html
Build Bot
Comment 10 2013-09-26 03:08:47 PDT
Created attachment 212684 [details] Archive of layout-test-results from webkit-ews-06 for mac-mountainlion The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: webkit-ews-06 Port: mac-mountainlion Platform: Mac OS X 10.8.5
Build Bot
Comment 11 2013-09-26 04:11:16 PDT
Comment on attachment 212677 [details] Patch Attachment 212677 [details] did not pass mac-ews (mac): Output: http://webkit-queues.appspot.com/results/2425040 New failing tests: css3/filters/custom/custom-filter-animation.html css3/filters/custom/custom-filter-u-mesh-box.html css3/filters/custom/custom-filter-array-blending.html css3/filters/custom/custom-filter-matN.html css3/filters/custom/custom-filter-u-tile-size.html css3/filters/custom/custom-filter-property-computed-style.html css3/filters/custom/custom-filter-blend-modes.html css3/filters/custom/custom-filter-color.html css3/filters/custom/custom-filter-clamp-css-mix-color.html css3/filters/custom/custom-filter-array.html css3/filters/custom/custom-filter-u-texture-size.html css3/filters/custom/custom-filter-clamp-css-color-matrix.html css3/filters/custom/effect-custom-transform-parameters.html css3/filters/custom/custom-filter-transforms-animation.html css3/filters/custom/custom-filter-clamp-css-mix-color-negative.html css3/filters/custom/custom-filter-composite-fractional-source-alpha.html css3/filters/custom/custom-filter-clamp-css-color-matrix-negative.html css3/filters/custom/custom-filter-u-mesh-size.html css3/filters/custom/composited/custom-filter-blend-modes.html css3/filters/custom/custom-filter-change-blend-mode.html
Build Bot
Comment 12 2013-09-26 04:11:19 PDT
Created attachment 212692 [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.5
Ryosuke Niwa
Comment 13 2013-09-26 06:53:12 PDT
Comment on attachment 212677 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=212677&action=review > Source/WebCore/css/StyleResolver.cpp:3626 > + if (!shadersList->itemWithoutBoundsCheck(0)->isWebKitCSSShaderValue()) Exiting early here changes the behavior
Gyuyoung Kim
Comment 14 2013-09-26 07:29:00 PDT
Comment on attachment 212677 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=212677&action=review >> Source/WebCore/css/StyleResolver.cpp:3626 >> + if (!shadersList->itemWithoutBoundsCheck(0)->isWebKitCSSShaderValue()) > > Exiting early here changes the behavior How about changing this as below ? WebKitCSSShaderValue* vertexShader = 0; WebKitCSSShaderValue* fragmentShader = 0; if (shadersList->itemWithoutBoundsCheck(0)->isWebKitCSSShaderValue()) vertexShader = toWebKitCSSShaderValue(shadersList->itemWithoutBoundsCheck(0));
Gyuyoung Kim
Comment 15 2013-09-26 09:34:00 PDT
Gyuyoung Kim
Comment 16 2013-09-26 16:25:40 PDT
(In reply to comment #13) > (From update of attachment 212677 [details]) > View in context: https://bugs.webkit.org/attachment.cgi?id=212677&action=review > > > Source/WebCore/css/StyleResolver.cpp:3626 > > + if (!shadersList->itemWithoutBoundsCheck(0)->isWebKitCSSShaderValue()) > > Exiting early here changes the behavior rniwa, what do you think about latest patch ?
WebKit Commit Bot
Comment 17 2013-09-26 20:25:41 PDT
Comment on attachment 212718 [details] Patch Clearing flags on attachment: 212718 Committed r156528: <http://trac.webkit.org/changeset/156528>
WebKit Commit Bot
Comment 18 2013-09-26 20:25:45 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.