LayoutTests/ChangeLog

 12010-09-23 James Robinson <jamesr@chromium.org>
 2
 3 Reviewed by NOBODY (OOPS!).
 4
 5 Canvas: radialGradient with negative radius should throw exception
 6 https://bugs.webkit.org/show_bug.cgi?id=37176
 7
 8 Remove test from skipped lists now that it passes.
 9
 10 * platform/chromium/test_expectations.txt:
 11 * platform/gtk/Skipped:
 12 * platform/mac/Skipped:
 13 * platform/qt/Skipped:
 14
1152010-09-22 Kinuko Yasuda <kinuko@chromium.org>
216
317 Unreviewed, temporarily disabling the new filesystem test on chromium.

238252 * fast/js/regexp-bol.html: Added.
239253 * fast/js/script-tests/regexp-bol.js: Added.
240254
 2552010-09-22 James Robinson <jamesr@chromium.org>
 256
 257 Reviewed by NOBODY (OOPS!).
 258
 259 Throw INDEX_SIZE_ERR exception if createRadialGradient is called with a negative radius
 260 https://bugs.webkit.org/show_bug.cgi?id=46323
 261
 262 Unskips canvas/philip/tests/2d.gradient.radial.negative.html since we now pass.
 263
 264 * platform/chromium/test_expectations.txt:
 265 * platform/mac/Skipped:
 266
2412672010-09-21 Kent Tamura <tkent@chromium.org>
242268
243269 Unreviewed, text expectation update.

LayoutTests/platform/chromium/test_expectations.txt

@@BUG45991 : canvas/philip/tests/2d.fillStyle.parse.current.changed.html = TEXT
25142514BUG45991 : canvas/philip/tests/2d.fillStyle.parse.current.removed.html = TEXT
25152515BUG45991 : canvas/philip/tests/2d.fillStyle.parse.system.html = TEXT
25162516BUG45991 : canvas/philip/tests/2d.gradient.radial.cone.top.html = TEXT TIMEOUT
2517 BUG45991 : canvas/philip/tests/2d.gradient.radial.negative.html = TEXT
25182517BUG45991 : canvas/philip/tests/2d.imageData.create1.type.html = TEXT
25192518BUG45991 : canvas/philip/tests/2d.imageData.create2.type.html = TEXT
25202519BUG45991 : canvas/philip/tests/2d.imageData.get.source.negative.html = TEXT

LayoutTests/platform/gtk/Skipped

@@canvas/philip/tests/2d.gradient.radial.cone.front.html
56145614canvas/philip/tests/2d.gradient.radial.cone.top.html
56155615canvas/philip/tests/2d.gradient.radial.inside2.html
56165616canvas/philip/tests/2d.gradient.radial.inside3.html
5617 canvas/philip/tests/2d.gradient.radial.negative.html
56185617canvas/philip/tests/2d.gradient.radial.outside1.html
56195618canvas/philip/tests/2d.imageData.create1.type.html
56205619canvas/philip/tests/2d.imageData.create2.type.html

LayoutTests/platform/mac/Skipped

@@canvas/philip/tests/2d.gradient.radial.cone.front.html
193193canvas/philip/tests/2d.gradient.radial.cone.top.html
194194canvas/philip/tests/2d.gradient.radial.inside2.html
195195canvas/philip/tests/2d.gradient.radial.inside3.html
196 canvas/philip/tests/2d.gradient.radial.negative.html
197196canvas/philip/tests/2d.gradient.radial.outside1.html
198197canvas/philip/tests/2d.imageData.create1.type.html
199198canvas/philip/tests/2d.imageData.create2.type.html

LayoutTests/platform/qt/Skipped

@@canvas/philip/tests/2d.gradient.radial.cone.bottom.html
52335233canvas/philip/tests/2d.gradient.radial.cone.cylinder.html
52345234canvas/philip/tests/2d.gradient.radial.cone.shape2.html
52355235canvas/philip/tests/2d.gradient.radial.cone.top.html
5236 canvas/philip/tests/2d.gradient.radial.negative.html
52375236canvas/philip/tests/2d.gradient.radial.touch1.html
52385237canvas/philip/tests/2d.gradient.radial.touch2.html
52395238canvas/philip/tests/2d.gradient.radial.touch3.html

WebCore/ChangeLog

 12010-09-22 James Robinson <jamesr@chromium.org>
 2
 3 Reviewed by NOBODY (OOPS!).
 4
 5 Canvas: radialGradient with negative radius should throw exception
 6 https://bugs.webkit.org/show_bug.cgi?id=37176
 7
 8 This matches the canvas 2d specification, Opera, IE9 beta and our behavior for arc()
 9 and arcTo().
 10
 11 Test: canvas/philip/tests/2d.gradient.radial.negative.html
 12
 13 * html/canvas/CanvasRenderingContext2D.cpp:
 14 (WebCore::CanvasRenderingContext2D::createRadialGradient):
 15
1162010-09-22 Ruben <chromium@hybridsource.org>
217
318 Reviewed by Tony Chang.

WebCore/html/canvas/CanvasRenderingContext2D.cpp

@@PassRefPtr<CanvasGradient> CanvasRenderingContext2D::createRadialGradient(float
14521452 ec = NOT_SUPPORTED_ERR;
14531453 return 0;
14541454 }
 1455 if (r0 < 0 || r1 < 0) {
 1456 ec = INDEX_SIZE_ERR;
 1457 return 0;
 1458 }
14551459 PassRefPtr<CanvasGradient> gradient = CanvasGradient::create(FloatPoint(x0, y0), r0, FloatPoint(x1, y1), r1);
14561460 prepareGradientForDashboard(gradient.get());
14571461 return gradient;