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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/canvas/canvas-imageSmoothingEnabled-expected.txt

Issue 1990683002: [DevTools] Capture call stacks for deprecation console messages. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 4 years, 7 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 unified diff | Download patch
OLDNEW
1 CONSOLE WARNING: 'CanvasRenderingContext2D.webkitImageSmoothingEnabled' is depre cated. Please use 'CanvasRenderingContext2D.imageSmoothingEnabled' instead. 1 CONSOLE WARNING: line 1: 'CanvasRenderingContext2D.webkitImageSmoothingEnabled' is deprecated. Please use 'CanvasRenderingContext2D.imageSmoothingEnabled' inste ad.
2 Tests for the imageSmoothingEnabled attribute. 2 Tests for the imageSmoothingEnabled attribute.
3 3
4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 4 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
5 5
6 6
7 Test that the default value is true. 7 Test that the default value is true.
8 PASS ctx.imageSmoothingEnabled is true 8 PASS ctx.imageSmoothingEnabled is true
9 PASS ctx.webkitImageSmoothingEnabled is true 9 PASS ctx.webkitImageSmoothingEnabled is true
10 Test that false is returned after a the attribute is set to false. 10 Test that false is returned after a the attribute is set to false.
11 PASS ctx.imageSmoothingEnabled is false 11 PASS ctx.imageSmoothingEnabled is false
(...skipping 14 matching lines...) Expand all
26 PASS left_of_center_pixel.data[1] !== 0 is true 26 PASS left_of_center_pixel.data[1] !== 0 is true
27 PASS left_of_center_pixel.data[2] !== 0 is true 27 PASS left_of_center_pixel.data[2] !== 0 is true
28 Test that restoring actually changes smoothing and not just the attribute value. We are restoring to a point where imageSmoothingEnabled is set to false. 28 Test that restoring actually changes smoothing and not just the attribute value. We are restoring to a point where imageSmoothingEnabled is set to false.
29 PASS left_of_center_pixel.data[0] is 0 29 PASS left_of_center_pixel.data[0] is 0
30 PASS left_of_center_pixel.data[1] is 0 30 PASS left_of_center_pixel.data[1] is 0
31 PASS left_of_center_pixel.data[2] is 0 31 PASS left_of_center_pixel.data[2] is 0
32 PASS successfullyParsed is true 32 PASS successfullyParsed is true
33 33
34 TEST COMPLETE 34 TEST COMPLETE
35 35
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698