| Index: third_party/WebKit/LayoutTests/platform/android/virtual/gpu/fast/canvas/canvas-imageSmoothingQuality-expected.txt
|
| diff --git a/third_party/WebKit/LayoutTests/platform/android/virtual/gpu/fast/canvas/canvas-imageSmoothingQuality-expected.txt b/third_party/WebKit/LayoutTests/platform/android/virtual/gpu/fast/canvas/canvas-imageSmoothingQuality-expected.txt
|
| deleted file mode 100644
|
| index 4bbed49acfcff3f777eb7a55918b0fa124e51ce6..0000000000000000000000000000000000000000
|
| --- a/third_party/WebKit/LayoutTests/platform/android/virtual/gpu/fast/canvas/canvas-imageSmoothingQuality-expected.txt
|
| +++ /dev/null
|
| @@ -1,68 +0,0 @@
|
| -CONSOLE WARNING: The provided value '3223' is not a valid enum value of type ImageSmoothingQuality.
|
| -CONSOLE WARNING: The provided value 'bad_input' is not a valid enum value of type ImageSmoothingQuality.
|
| -CONSOLE WARNING: The provided value 'LOW' is not a valid enum value of type ImageSmoothingQuality.
|
| -CONSOLE WARNING: The provided value 'Medium' is not a valid enum value of type ImageSmoothingQuality.
|
| -Tests for the imageSmoothingQuality attribute.
|
| -
|
| -On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
|
| -
|
| -
|
| -On getting, must return the last value it was set to.
|
| -PASS lowContext.imageSmoothingQuality is 'low'
|
| -PASS mediumContext.imageSmoothingQuality is 'medium'
|
| -PASS highContext.imageSmoothingQuality is 'high'
|
| -
|
| -FAIL lowData should not be {"0":0,"1":0,"2":0,"3":100}.
|
| -FAIL mediumData should not be {"0":0,"1":0,"2":0,"3":100}.
|
| -FAIL lowData should not be {"0":0,"1":0,"2":0,"3":100}.
|
| -
|
| -FAIL sampleAlpha(noFilterData) should be > sampleAlpha(lowData). Was 0 (of type number).
|
| -FAIL sampleAlpha(lowData) should be > sampleAlpha(mediumData). Was 100 (of type number).
|
| -FAIL sampleAlpha(mediumData) should be > sampleAlpha(highData). Was 100 (of type number).
|
| -
|
| -
|
| -On setting, it must be set to the new value.
|
| -highContext.imageSmoothingQuality = 'medium';
|
| -PASS highContext.imageSmoothingQuality is 'medium'
|
| -PASS scaleImageData(highCanvas, highCanvas.imageSmoothingQuality); is mediumData
|
| -highContext.imageSmoothingQuality = 'high';
|
| -PASS highContext.imageSmoothingQuality is 'high'
|
| -PASS scaleImageData(highCanvas, highCanvas.imageSmoothingQuality); is highData
|
| -
|
| -
|
| -When the CanvasRenderingContext2D object is created, the attribute must be set to 'low'.
|
| -PASS document.getElementById("default").getContext("2d").imageSmoothingQuality is 'low'
|
| -
|
| -
|
| -ImageSmoothingQuality can be set without real effect when imageSmoothingEnabled is false.
|
| -highContext.imageSmoothingEnabled = false;
|
| -PASS highContext.imageSmoothingQuality is 'high'
|
| -PASS scaleImageData(highCanvas, highCanvas.imageSmoothingQuality) is noFilterData
|
| -highContext.imageSmoothingQuality = 'medium'
|
| -PASS highContext.imageSmoothingQuality is 'medium'
|
| -PASS scaleImageData(highCanvas, highCanvas.imageSmoothingQuality) is noFilterData
|
| -
|
| -
|
| -Invalid Input is not accpeted.
|
| -highContext.imageSmoothingEnabled = true; highContext.imageSmoothingQuality = 'high';
|
| -PASS scaleImageData(highCanvas, '3223') did not throw exception.
|
| -PASS highContext.imageSmoothingQuality is 'high'
|
| -PASS scaleImageData(highCanvas, 'bad_input') did not throw exception.
|
| -PASS highContext.imageSmoothingQuality is 'high'
|
| -PASS scaleImageData(highCanvas, 'LOW') did not throw exception.
|
| -PASS highContext.imageSmoothingQuality is 'high'
|
| -PASS scaleImageData(highCanvas, 'Medium') did not throw exception.
|
| -PASS highContext.imageSmoothingQuality is 'high'
|
| -
|
| -
|
| -The save() and restore() should work.
|
| -highContext.save(); highContext.imageSmoothingQuality = 'medium';
|
| -PASS highContext.imageSmoothingQuality is 'medium'
|
| -PASS scaleImageData(highCanvas, highCanvas.imageSmoothingQuality); is mediumData
|
| -PASS highContext.restore(); highContext.imageSmoothingQuality is 'high'
|
| -PASS scaleImageData(highCanvas, highCanvas.imageSmoothingQuality); is highData
|
| -
|
| -PASS successfullyParsed is true
|
| -
|
| -TEST COMPLETE
|
| -
|
|
|