Commit 0b5363e4 authored by Walter Korman's avatar Walter Korman

Auto-rebaseline for r374703

https://chromium.googlesource.com/chromium/src/+/0c7e2f7bc

BUG=581355
TBR=fmalita@chromium.org

Review URL: https://codereview.chromium.org/1690803002 .

Cr-Commit-Position: refs/heads/master@{#374776}
parent e9141131
...@@ -1363,29 +1363,6 @@ crbug.com/571762 [ Mac10.7 ] inspector/console/inspect-html-all-collection.html ...@@ -1363,29 +1363,6 @@ crbug.com/571762 [ Mac10.7 ] inspector/console/inspect-html-all-collection.html
crbug.com/580378 [ Mac ] fast/replaced/width100percent-searchfield.html [ Failure Pass ] crbug.com/580378 [ Mac ] fast/replaced/width100percent-searchfield.html [ Failure Pass ]
crbug.com/571765 [ Linux Trusty Mac10.9 ] inspector/console/worker-eval-contains-stack.html [ Timeout Crash Pass ] crbug.com/571765 [ Linux Trusty Mac10.9 ] inspector/console/worker-eval-contains-stack.html [ Timeout Crash Pass ]
# SK_SUPPORT_LEGACY_HQ_DOWNSAMPLING
crbug.com/581355 tables/mozilla/bugs/bug4523.html [ NeedsRebaseline ]
crbug.com/581355 tables/mozilla/bugs/bug56563.html [ NeedsRebaseline ]
crbug.com/581355 tables/mozilla/bugs/bug625.html [ NeedsRebaseline ]
crbug.com/581355 tables/mozilla/bugs/bug6404.html [ NeedsRebaseline ]
crbug.com/581355 tables/mozilla/bugs/bug97383.html [ NeedsRebaseline ]
crbug.com/581355 tables/mozilla/core/bloomberg.html [ NeedsRebaseline ]
crbug.com/581355 tables/mozilla/core/col_widths_auto_autoFix.html [ NeedsRebaseline ]
crbug.com/581355 tables/mozilla/core/misc.html [ NeedsRebaseline ]
crbug.com/581355 tables/mozilla/other/cell_widths.html [ NeedsRebaseline ]
crbug.com/581355 tables/mozilla_expected_failures/bugs/bug6933.html [ NeedsRebaseline ]
crbug.com/581355 virtual/android/fullscreen/full-screen-iframe-allowed-video.html [ NeedsRebaseline ]
crbug.com/581355 virtual/android/fullscreen/video-controls-timeline.html [ NeedsRebaseline ]
crbug.com/581355 virtual/android/fullscreen/video-scrolled-iframe.html [ NeedsRebaseline ]
crbug.com/581355 virtual/display_list_2d_canvas/fast/canvas/canvas-imageSmoothingQuality-pixel.html [ NeedsRebaseline ]
crbug.com/581355 virtual/display_list_2d_canvas/fast/canvas/canvas-imageSmoothingQuality.html [ NeedsRebaseline ]
crbug.com/581355 virtual/gpu/fast/canvas/canvas-imageSmoothingQuality.html [ NeedsRebaseline ]
crbug.com/581355 virtual/pointerevent/fast/events/pointer-events-2.html [ NeedsRebaseline ]
crbug.com/581355 virtual/prefer_compositing_to_lcd_text/scrollbars/listbox-scrollbar-combinations.html [ NeedsRebaseline ]
crbug.com/581355 virtual/rootlayerscrolls/scrollbars/listbox-scrollbar-combinations.html [ NeedsRebaseline ]
crbug.com/581355 virtual/threaded/compositing/visibility/visibility-image-layers.html [ NeedsRebaseline ]
crbug.com/581355 virtual/trustedeventsdefaultaction/fast/events/pointer-events-2.html [ NeedsRebaseline ]
crbug.com/571773 inspector/console/worker-exception-message-contains-stack.html [ Failure Timeout Crash Pass ] crbug.com/571773 inspector/console/worker-exception-message-contains-stack.html [ Failure Timeout Crash Pass ]
crbug.com/399951 http/tests/mime/javascript-mimetype-usecounters.html [ Pass Failure ] crbug.com/399951 http/tests/mime/javascript-mimetype-usecounters.html [ Pass Failure ]
......
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 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
...@@ -13,12 +13,12 @@ PASS mediumContext.imageSmoothingQuality is 'medium' ...@@ -13,12 +13,12 @@ PASS mediumContext.imageSmoothingQuality is 'medium'
PASS highContext.imageSmoothingQuality is 'high' PASS highContext.imageSmoothingQuality is 'high'
FAIL lowData should not be {"0":0,"1":0,"2":0,"3":201}. FAIL lowData should not be {"0":0,"1":0,"2":0,"3":201}.
FAIL mediumData should not be {"0":0,"1":0,"2":0,"3":201}. PASS mediumData is highData
FAIL lowData should not be {"0":0,"1":0,"2":0,"3":201}. FAIL lowData should not be {"0":0,"1":0,"2":0,"3":201}.
FAIL sampleAlpha(noFilterData) should be > sampleAlpha(lowData). Was 201 (of type number). FAIL sampleAlpha(noFilterData) should be > sampleAlpha(lowData). Was 201 (of type number).
FAIL sampleAlpha(lowData) should be > sampleAlpha(mediumData). Was 201 (of type number). FAIL sampleAlpha(lowData) should be > sampleAlpha(mediumData). Was 201 (of type number).
FAIL sampleAlpha(mediumData) should be > sampleAlpha(highData). Was 201 (of type number). PASS sampleAlpha(mediumData) is sampleAlpha(highData)
On setting, it must be set to the new value. On setting, it must be set to the new value.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment