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

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: Fix nits 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..731d899a4d5a0c3ea577678506fe5ca3f8fb55da
--- /dev/null
+++ b/LayoutTests/fast/canvas/canvas-lineDash-input-sequence-expected.txt
@@ -0,0 +1,69 @@
+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 Uint8ClampedArray 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
+* Test passing a Date as input.
+PASS ctx.setLineDash(inputArray) threw exception TypeError: Type error.
+* Test passing a RegExp as input.
+PASS ctx.setLineDash(inputArray) threw exception TypeError: Type error.
+* Test passing an Object without length as input.
+PASS ctx.setLineDash(inputArray) threw exception TypeError: Type error.
+* Test passing a Number as input.
+PASS ctx.setLineDash(inputArray) threw exception TypeError: Type error.
+* Test passing a String as input.
+PASS ctx.setLineDash(inputArray) threw exception TypeError: Type error.
+* Test passing a Boolean as input.
+PASS ctx.setLineDash(inputArray) threw exception TypeError: Type error.
+* Test passing null as input.
+PASS ctx.setLineDash(inputArray) threw exception TypeError: Type error.
+* Test passing undefined as input.
+PASS ctx.setLineDash(inputArray) threw exception TypeError: Type error.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/fast/canvas/canvas-lineDash-input-sequence.html ('k') | Source/bindings/scripts/deprecated_code_generator_v8.pm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698