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

Unified Diff: third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-getContext2D-expected.txt

Issue 1748163003: Add rendering context and rendering 2D context to OffscreenCanvas (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Make OffscreenCanvasRenderingContext Modules exportable" Created 4 years, 9 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/fast/canvas/OffscreenCanvas-getContext2D-expected.txt
diff --git a/third_party/WebKit/LayoutTests/fast/forms/calendar-picker/calendar-picker-should-not-change-datetimelocal-time-expected.txt b/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-getContext2D-expected.txt
similarity index 26%
copy from third_party/WebKit/LayoutTests/fast/forms/calendar-picker/calendar-picker-should-not-change-datetimelocal-time-expected.txt
copy to third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-getContext2D-expected.txt
index 364dd36e15dc97474b8bf14d1419a44444c3e3aa..6894f5c036ed528f20745e82bf09e48349b8674e 100644
--- a/third_party/WebKit/LayoutTests/fast/forms/calendar-picker/calendar-picker-should-not-change-datetimelocal-time-expected.txt
+++ b/third_party/WebKit/LayoutTests/fast/canvas/OffscreenCanvas-getContext2D-expected.txt
@@ -1,12 +1,19 @@
-Test for crbug.com/271451. The calendar picker should not change the time part of datetime-local field.
+Tests basic functionalities of offscreenCanvas.getContext on the main thread
On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-PASS getUserAgentShadowTextContent(input) is "1999-07-31 12:59"
-PASS getUserAgentShadowTextContent(input) is "1999-07-31 12:59"
-PASS highlightedValue() is "1999-08-01"
-PASS getUserAgentShadowTextContent(input) is "1999-08-01 12:59"
+PASS aCanvas.width is 40
+PASS aCanvas.height is 60
+PASS aCanvas.width is 110
+PASS aCanvas.height is 90
+PASS aCanvas.width is 0
+PASS ctx = aCanvas.getContext('2d') did not throw exception.
+PASS ctx is an instance of OffscreenCanvasRenderingContext2D
+PASS ctx2 is null
+PASS ctx3 is non-null.
+PASS ctx3 == ctx is true
+PASS bogusCtx is null
PASS successfullyParsed is true
TEST COMPLETE

Powered by Google App Engine
This is Rietveld 408576698