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

Unified Diff: LayoutTests/fast/canvas/canvas-lineDash-input-sequence-expected.txt

Issue 19969004: Update toNativeArray() / toRefPtrNativeArray() do not match Web IDL specification (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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: LayoutTests/fast/canvas/canvas-lineDash-input-sequence-expected.txt
diff --git a/LayoutTests/fast/canvas/canvas-lineDash-input-sequence-expected.txt b/LayoutTests/fast/canvas/canvas-lineDash-input-sequence-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..3c92a20b2fc0d1a8aa3104dd960b7b9fabc3733a
--- /dev/null
+++ b/LayoutTests/fast/canvas/canvas-lineDash-input-sequence-expected.txt
@@ -0,0 +1,49 @@
+Test that setLineDash converts input argument into a Web IDL sequence
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+* Test passing a Array as input.
+PASS lineDash[0] is 5
+PASS lineDash[1] is 15
+PASS lineDash[2] is 25
+* Test passing a Int8Array as input.
+PASS lineDash[0] is 5
+PASS lineDash[1] is 15
+PASS lineDash[2] is 25
+* Test passing a Int16Array as input.
+PASS lineDash[0] is 5
+PASS lineDash[1] is 15
+PASS lineDash[2] is 25
+* Test passing a Int32Array as input.
+PASS lineDash[0] is 5
+PASS lineDash[1] is 15
+PASS lineDash[2] is 25
+* Test passing a Uint8Array as input.
+PASS lineDash[0] is 5
+PASS lineDash[1] is 15
+PASS lineDash[2] is 25
+* Test passing a Uint16Array as input.
+PASS lineDash[0] is 5
+PASS lineDash[1] is 15
+PASS lineDash[2] is 25
+* Test passing a Uint32Array as input.
+PASS lineDash[0] is 5
+PASS lineDash[1] is 15
+PASS lineDash[2] is 25
+* Test passing a Float32Array as input.
+PASS lineDash[0] is 5
+PASS lineDash[1] is 15
+PASS lineDash[2] is 25
+* Test passing a Float64Array as input.
+PASS lineDash[0] is 5
+PASS lineDash[1] is 15
+PASS lineDash[2] is 25
+* Test passing a Object as input.
+PASS lineDash[0] is 5
+PASS lineDash[1] is 15
+PASS lineDash[2] is 25
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698