Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(170)

Unified Diff: third_party/WebKit/LayoutTests/platform/android/fast/canvas/canvas-imageSmoothingQuality-expected.txt

Issue 2679083003: Use testharness.js instead of js-test.js in LayoutTests/fast/canvas tests. (Closed)
Patch Set: Adding virtual/gpu/fast/canvas/canvas-imageSmoothingQuality.html to TestExpectations Created 3 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/LayoutTests/platform/android/fast/canvas/canvas-imageSmoothingQuality-expected.txt
diff --git a/third_party/WebKit/LayoutTests/platform/android/fast/canvas/canvas-imageSmoothingQuality-expected.txt b/third_party/WebKit/LayoutTests/platform/android/fast/canvas/canvas-imageSmoothingQuality-expected.txt
deleted file mode 100644
index feaa9a708fb30dbb187a45a4d7206bd8a167556a..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/platform/android/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'
-
-PASS lowData is not mediumData
-PASS mediumData is not highData
-PASS lowData is not highData
-
-PASS sampleAlpha(noFilterData) is > sampleAlpha(lowData)
-PASS sampleAlpha(lowData) is > sampleAlpha(mediumData)
-PASS sampleAlpha(mediumData) is > sampleAlpha(highData)
-
-
-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
-

Powered by Google App Engine
This is Rietveld 408576698