Changeset 126027 in webkit
- Timestamp:
- Aug 20, 2012 8:04:59 AM (12 years ago)
- Location:
- trunk/LayoutTests
- Files:
-
- 3 deleted
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r126026 r126027 1 2012-08-20 Thiago Marcos P. Santos <thiago.santos@intel.com> 2 3 Update canvas tests that are using CanvasPixelArray 4 https://bugs.webkit.org/show_bug.cgi?id=94474 5 6 Reviewed by Andreas Kling. 7 8 CanvasPixelArray is deprecated. W3C already updated these tests on the 9 approved tests repository. Using Uint8ClampedArray, they now pass on 10 WebKit. 11 12 * canvas/philip/tests/2d.imageData.create1.type.html: 13 * canvas/philip/tests/2d.imageData.create2.type.html: 14 * canvas/philip/tests/2d.imageData.get.type.html: 15 * platform/chromium/TestExpectations: 16 * platform/efl/Skipped: 17 * platform/gtk/TestExpectations: 18 * platform/mac/canvas/philip/tests/2d.imageData.create1.type-expected.txt: Removed. 19 * platform/mac/canvas/philip/tests/2d.imageData.create2.type-expected.txt: Removed. 20 * platform/mac/canvas/philip/tests/2d.imageData.get.type-expected.txt: Removed. 21 * platform/qt/Skipped: 22 1 23 2012-08-20 Allan Sandfeld Jensen <allan.jensen@nokia.com> 2 24 -
trunk/LayoutTests/canvas/philip/tests/2d.imageData.create1.type.html
r71481 r126027 14 14 15 15 _assertDifferent(window.ImageData, undefined, "window.ImageData", "undefined"); 16 _assertDifferent(window. CanvasPixelArray, undefined, "window.CanvasPixelArray", "undefined");16 _assertDifferent(window.Uint8ClampedArray, undefined, "window.Uint8ClampedArray", "undefined"); 17 17 window.ImageData.prototype.thisImplementsImageData = true; 18 window. CanvasPixelArray.prototype.thisImplementsCanvasPixelArray = true;18 window.Uint8ClampedArray.prototype.thisImplementsUint8ClampedArray = true; 19 19 var imgdata = ctx.createImageData(ctx.createImageData(1, 1)); 20 20 _assert(imgdata.thisImplementsImageData, "imgdata.thisImplementsImageData"); 21 _assert(imgdata.data.thisImplements CanvasPixelArray, "imgdata.data.thisImplementsCanvasPixelArray");21 _assert(imgdata.data.thisImplementsUint8ClampedArray, "imgdata.data.thisImplementsUint8ClampedArray"); 22 22 23 23 -
trunk/LayoutTests/canvas/philip/tests/2d.imageData.create2.type.html
r71481 r126027 14 14 15 15 _assertDifferent(window.ImageData, undefined, "window.ImageData", "undefined"); 16 _assertDifferent(window. CanvasPixelArray, undefined, "window.CanvasPixelArray", "undefined");16 _assertDifferent(window.Uint8ClampedArray, undefined, "window.Uint8ClampedArray", "undefined"); 17 17 window.ImageData.prototype.thisImplementsImageData = true; 18 window. CanvasPixelArray.prototype.thisImplementsCanvasPixelArray = true;18 window.Uint8ClampedArray.prototype.thisImplementsUint8ClampedArray = true; 19 19 var imgdata = ctx.createImageData(1, 1); 20 20 _assert(imgdata.thisImplementsImageData, "imgdata.thisImplementsImageData"); 21 _assert(imgdata.data.thisImplements CanvasPixelArray, "imgdata.data.thisImplementsCanvasPixelArray");21 _assert(imgdata.data.thisImplementsUint8ClampedArray, "imgdata.data.thisImplementsUint8ClampedArray"); 22 22 23 23 -
trunk/LayoutTests/canvas/philip/tests/2d.imageData.get.type.html
r71481 r126027 14 14 15 15 _assertDifferent(window.ImageData, undefined, "window.ImageData", "undefined"); 16 _assertDifferent(window. CanvasPixelArray, undefined, "window.CanvasPixelArray", "undefined");16 _assertDifferent(window.Uint8ClampedArray, undefined, "window.Uint8ClampedArray", "undefined"); 17 17 window.ImageData.prototype.thisImplementsImageData = true; 18 window. CanvasPixelArray.prototype.thisImplementsCanvasPixelArray = true;19 var imgdata = ctx. getImageData(0, 0,1, 1);18 window.Uint8ClampedArray.prototype.thisImplementsUint8ClampedArray = true; 19 var imgdata = ctx.createImageData(1, 1); 20 20 _assert(imgdata.thisImplementsImageData, "imgdata.thisImplementsImageData"); 21 _assert(imgdata.data.thisImplements CanvasPixelArray, "imgdata.data.thisImplementsCanvasPixelArray");21 _assert(imgdata.data.thisImplementsUint8ClampedArray, "imgdata.data.thisImplementsUint8ClampedArray"); 22 22 23 23 -
trunk/LayoutTests/platform/chromium/TestExpectations
r126023 r126027 1866 1866 BUGWK45991 : platform/chromium/virtual/gpu/canvas/philip/tests/2d.drawImage.broken.html = TEXT 1867 1867 1868 BUGWK39212 : canvas/philip/tests/2d.imageData.create1.type.html = TEXT1869 BUGWK39212 : canvas/philip/tests/2d.imageData.create2.type.html = TEXT1870 BUGWK39212 : canvas/philip/tests/2d.imageData.get.type.html = TEXT1871 BUGWK39212 : platform/chromium/virtual/gpu/canvas/philip/tests/2d.imageData.create1.type.html = TEXT1872 BUGWK39212 : platform/chromium/virtual/gpu/canvas/philip/tests/2d.imageData.create2.type.html = TEXT1873 BUGWK39212 : platform/chromium/virtual/gpu/canvas/philip/tests/2d.imageData.get.type.html = TEXT1874 1875 1868 BUGWK94246 : canvas/philip/tests/2d.imageData.object.round.html = TEXT 1876 1869 BUGWK94246 : platform/chromium/virtual/gpu/canvas/philip/tests/2d.imageData.object.round.html = TEXT -
trunk/LayoutTests/platform/efl/Skipped
r126023 r126027 309 309 canvas/philip/tests/2d.fillStyle.parse.rgb-eof.html 310 310 canvas/philip/tests/2d.fillStyle.parse.rgba-eof.html 311 canvas/philip/tests/2d.imageData.create1.type.html312 canvas/philip/tests/2d.imageData.create2.type.html313 canvas/philip/tests/2d.imageData.get.type.html314 311 canvas/philip/tests/2d.missingargs.html 315 312 canvas/philip/tests/2d.pattern.image.broken.html -
trunk/LayoutTests/platform/gtk/TestExpectations
r126024 r126027 910 910 BUGWKGTK : canvas/philip/tests/2d.fillStyle.parse.rgb-eof.html = TEXT 911 911 BUGWKGTK : canvas/philip/tests/2d.fillStyle.parse.rgba-eof.html = TEXT 912 BUGWKGTK : canvas/philip/tests/2d.imageData.create1.type.html = TEXT913 BUGWKGTK : canvas/philip/tests/2d.imageData.create2.type.html = TEXT914 BUGWKGTK : canvas/philip/tests/2d.imageData.get.type.html = TEXT915 912 BUGWKGTK : canvas/philip/tests/2d.missingargs.html = TEXT 916 913 BUGWKGTK : canvas/philip/tests/2d.pattern.image.broken.html = TEXT -
trunk/LayoutTests/platform/qt/Skipped
r126023 r126027 2095 2095 canvas/philip/tests/2d.gradient.radial.touch2.html 2096 2096 canvas/philip/tests/2d.gradient.radial.touch3.html 2097 canvas/philip/tests/2d.imageData.create1.type.html2098 canvas/philip/tests/2d.imageData.create2.type.html2099 canvas/philip/tests/2d.imageData.get.type.html2100 2097 canvas/philip/tests/2d.imageData.object.wrap.html 2101 2098 canvas/philip/tests/2d.imageData.put.unchanged.html
Note: See TracChangeset
for help on using the changeset viewer.