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

Unified Diff: LayoutTests/fast/js/function-length-expected.txt

Issue 14244017: Make length property return useful values for DOM bindings functions (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Replace [Optional] by optional Created 7 years, 8 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
« no previous file with comments | « LayoutTests/fast/js/function-length.html ('k') | Source/bindings/scripts/CodeGeneratorV8.pm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/js/function-length-expected.txt
diff --git a/LayoutTests/fast/js/function-length-expected.txt b/LayoutTests/fast/js/function-length-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..4a36b98f6b8c220824bb92ea085ac13a604b47ea
--- /dev/null
+++ b/LayoutTests/fast/js/function-length-expected.txt
@@ -0,0 +1,34 @@
+This tests the length property of functions.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS window.confirm.length is 0
+PASS window.open.length is 2
+PASS window.showModalDialog.length is 1
+PASS window.setTimeout.length is 1
+PASS window.clearTimeout.length is 0
+PASS window.addEventListener.length is 2
+PASS Array.prototype.concat.length is 1
+PASS Array.prototype.join.length is 1
+PASS Array.prototype.push.length is 1
+PASS Array.prototype.slice.length is 2
+PASS Date.UTC.length is 7
+PASS Date.prototype.setSeconds.length is 2
+PASS Date.prototype.setMinutes.length is 3
+PASS Date.prototype.setHours.length is 4
+PASS Date.prototype.setMonth.length is 2
+PASS Date.prototype.setFullYear.length is 3
+PASS Number.prototype.toExponential.length is 1
+PASS Number.prototype.toFixed.length is 1
+PASS Number.prototype.toPrecision.length is 1
+PASS Math.max.length is 2
+PASS Math.min.length is 2
+PASS Function.prototype.apply.length is 2
+PASS Function.prototype.call.length is 1
+PASS String.prototype.split.length is 2
+PASS String.prototype.substring.length is 2
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/fast/js/function-length.html ('k') | Source/bindings/scripts/CodeGeneratorV8.pm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698