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

Unified Diff: webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/js/function-apply-aliased-expected.txt

Issue 66042: New baselines for new tests with the 42324:42364 merge.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 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
Index: webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/js/function-apply-aliased-expected.txt
===================================================================
--- webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/js/function-apply-aliased-expected.txt (revision 0)
+++ webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/js/function-apply-aliased-expected.txt (revision 0)
@@ -0,0 +1,31 @@
+This tests that we can correctly call Function.prototype.apply
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS myObject.apply() is [myObject, "myObject.apply"]
+PASS forwarder(myObject) is [myObject, "myObject.apply"]
+PASS myFunction('arg1') is [this, "myFunction", "arg1"]
+PASS forwarder(myFunction, null, ['arg1']) is [this, "myFunction", "arg1"]
+PASS myFunction.apply(myObject, ['arg1']) is [myObject, "myFunction", "arg1"]
+PASS myFunction.apply(myObject, arg1Array) is [myObject, "myFunction", "arg1"]
+PASS forwarder(myFunction, myObject, arg1Array) is [myObject, "myFunction", "arg1"]
+PASS myFunction.apply() is [this, "myFunction", undefined]
+PASS myFunction.apply(null) is [this, "myFunction", undefined]
+PASS myFunction.apply(undefined) is [this, "myFunction", undefined]
+PASS myFunction.aliasedApply(myObject, ['arg1']) is [myObject, "myFunction", "arg1"]
+PASS myFunction.aliasedApply() is [this, "myFunction", undefined]
+PASS myFunction.aliasedApply(null) is [this, "myFunction", undefined]
+PASS myFunction.aliasedApply(undefined) is [this, "myFunction", undefined]
+PASS myFunctionWithApply.apply(myObject, ['arg1']) is [myFunctionWithApply, "myFunctionWithApply.apply", myObject]
+PASS myFunctionWithApply.aliasedApply(myObject, ['arg1']) is [myObject, "myFunctionWithApply", "arg1"]
+PASS myFunctionWithApply.apply(myObject, arg1Array) is [myFunctionWithApply, "myFunctionWithApply.apply", myObject]
+PASS forwarder(myFunctionWithApply, myObject, arg1Array) is [myFunctionWithApply, "myFunctionWithApply.apply", myObject]
+PASS myFunctionWithApply.aliasedApply(myObject, arg1Array) is [myObject, "myFunctionWithApply", "arg1"]
+PASS myFunction.apply(null, new Array(5000000)) threw exception RangeError: Function.prototype.apply cannot support 5000000 arguments.
+PASS myFunction.apply(null, new Array(1 << 30)) threw exception RangeError: Function.prototype.apply cannot support 1073741824 arguments.
+PASS recurseArguments.apply(null, new Array(50000)) threw exception RangeError: Function.prototype.apply cannot support 50000 arguments.
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
Property changes on: webkit\data\layout_tests\platform\chromium-win\LayoutTests\fast\js\function-apply-aliased-expected.txt
___________________________________________________________________
Added: svn:eol-style
+ native
« no previous file with comments | « webkit/data/layout_tests/platform/chromium-win/LayoutTests/fast/block/positioning/fixed-positioning-scrollbar-bug-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698