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

Side by Side Diff: test/webkit/fast/js/basic-strict-mode-expected.txt

Issue 2430383004: Remove the 'caller' property from the strict-mode arguments map (Closed)
Patch Set: Mark some test262 tests as FAIL Created 4 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « test/webkit/fast/js/basic-strict-mode.js ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 the V8 project authors. All rights reserved. 1 # Copyright 2013 the V8 project authors. All rights reserved.
2 # Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved. 2 # Copyright (C) 2005, 2006, 2007, 2008, 2009 Apple Inc. All rights reserved.
3 # 3 #
4 # Redistribution and use in source and binary forms, with or without 4 # Redistribution and use in source and binary forms, with or without
5 # modification, are permitted provided that the following conditions 5 # modification, are permitted provided that the following conditions
6 # are met: 6 # are met:
7 # 1. Redistributions of source code must retain the above copyright 7 # 1. Redistributions of source code must retain the above copyright
8 # notice, this list of conditions and the following disclaimer. 8 # notice, this list of conditions and the following disclaimer.
9 # 2. Redistributions in binary form must reproduce the above copyright 9 # 2. Redistributions in binary form must reproduce the above copyright
10 # notice, this list of conditions and the following disclaimer in the 10 # notice, this list of conditions and the following disclaimer in the
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 PASS (function (){(function (a, a){'use strict';})}) threw exception SyntaxError : Duplicate parameter name not allowed in this context. 73 PASS (function (){(function (a, a){'use strict';})}) threw exception SyntaxError : Duplicate parameter name not allowed in this context.
74 PASS (function (a){'use strict'; delete a;})() threw exception SyntaxError: Dele te of an unqualified identifier in strict mode.. 74 PASS (function (a){'use strict'; delete a;})() threw exception SyntaxError: Dele te of an unqualified identifier in strict mode..
75 PASS (function (){(function (a){'use strict'; delete a;})()}) threw exception Sy ntaxError: Delete of an unqualified identifier in strict mode.. 75 PASS (function (){(function (a){'use strict'; delete a;})()}) threw exception Sy ntaxError: Delete of an unqualified identifier in strict mode..
76 PASS (function (){'use strict'; var a; delete a;})() threw exception SyntaxError : Delete of an unqualified identifier in strict mode.. 76 PASS (function (){'use strict'; var a; delete a;})() threw exception SyntaxError : Delete of an unqualified identifier in strict mode..
77 PASS (function (){(function (){'use strict'; var a; delete a;})()}) threw except ion SyntaxError: Delete of an unqualified identifier in strict mode.. 77 PASS (function (){(function (){'use strict'; var a; delete a;})()}) threw except ion SyntaxError: Delete of an unqualified identifier in strict mode..
78 PASS (function (){var a; function f() {'use strict'; delete a;} })() threw excep tion SyntaxError: Delete of an unqualified identifier in strict mode.. 78 PASS (function (){var a; function f() {'use strict'; delete a;} })() threw excep tion SyntaxError: Delete of an unqualified identifier in strict mode..
79 PASS (function (){(function (){var a; function f() {'use strict'; delete a;} })( )}) threw exception SyntaxError: Delete of an unqualified identifier in strict m ode.. 79 PASS (function (){(function (){var a; function f() {'use strict'; delete a;} })( )}) threw exception SyntaxError: Delete of an unqualified identifier in strict m ode..
80 PASS (function (){'use strict'; with(1){};}) threw exception SyntaxError: Strict mode code may not include a with statement. 80 PASS (function (){'use strict'; with(1){};}) threw exception SyntaxError: Strict mode code may not include a with statement.
81 PASS (function (){(function (){'use strict'; with(1){};})}) threw exception Synt axError: Strict mode code may not include a with statement. 81 PASS (function (){(function (){'use strict'; with(1){};})}) threw exception Synt axError: Strict mode code may not include a with statement.
82 PASS (function (){'use strict'; arguments.callee; })() threw exception TypeError : 'caller', 'callee', and 'arguments' properties may not be accessed on strict m ode functions or the arguments objects for calls to them. 82 PASS (function (){'use strict'; arguments.callee; })() threw exception TypeError : 'caller', 'callee', and 'arguments' properties may not be accessed on strict m ode functions or the arguments objects for calls to them.
83 PASS (function (){'use strict'; arguments.caller; })() threw exception TypeError : 'caller', 'callee', and 'arguments' properties may not be accessed on strict m ode functions or the arguments objects for calls to them. 83 PASS (function (){'use strict'; arguments.caller; })() is undefined.
84 PASS (function f(){'use strict'; f.arguments; })() threw exception TypeError: 'c aller' and 'arguments' are restricted function properties and cannot be accessed in this context.. 84 PASS (function f(){'use strict'; f.arguments; })() threw exception TypeError: 'c aller' and 'arguments' are restricted function properties and cannot be accessed in this context..
85 PASS (function f(){'use strict'; f.caller; })() threw exception TypeError: 'call er' and 'arguments' are restricted function properties and cannot be accessed in this context.. 85 PASS (function f(){'use strict'; f.caller; })() threw exception TypeError: 'call er' and 'arguments' are restricted function properties and cannot be accessed in this context..
86 PASS (function f(){'use strict'; f.arguments=5; })() threw exception TypeError: 'caller' and 'arguments' are restricted function properties and cannot be access ed in this context.. 86 PASS (function f(){'use strict'; f.arguments=5; })() threw exception TypeError: 'caller' and 'arguments' are restricted function properties and cannot be access ed in this context..
87 PASS (function f(){'use strict'; f.caller=5; })() threw exception TypeError: 'ca ller' and 'arguments' are restricted function properties and cannot be accessed in this context.. 87 PASS (function f(){'use strict'; f.caller=5; })() threw exception TypeError: 'ca ller' and 'arguments' are restricted function properties and cannot be accessed in this context..
88 PASS (function (arg){'use strict'; arguments.callee; })() threw exception TypeEr ror: 'caller', 'callee', and 'arguments' properties may not be accessed on stric t mode functions or the arguments objects for calls to them. 88 PASS (function (arg){'use strict'; arguments.callee; })() threw exception TypeEr ror: 'caller', 'callee', and 'arguments' properties may not be accessed on stric t mode functions or the arguments objects for calls to them.
89 PASS (function (arg){'use strict'; arguments.caller; })() threw exception TypeEr ror: 'caller', 'callee', and 'arguments' properties may not be accessed on stric t mode functions or the arguments objects for calls to them. 89 PASS (function (arg){'use strict'; arguments.caller; })() is undefined.
90 PASS (function f(arg){'use strict'; f.arguments; })() threw exception TypeError: 'caller' and 'arguments' are restricted function properties and cannot be acces sed in this context.. 90 PASS (function f(arg){'use strict'; f.arguments; })() threw exception TypeError: 'caller' and 'arguments' are restricted function properties and cannot be acces sed in this context..
91 PASS (function f(arg){'use strict'; f.caller; })() threw exception TypeError: 'c aller' and 'arguments' are restricted function properties and cannot be accessed in this context.. 91 PASS (function f(arg){'use strict'; f.caller; })() threw exception TypeError: 'c aller' and 'arguments' are restricted function properties and cannot be accessed in this context..
92 PASS (function f(arg){'use strict'; f.arguments=5; })() threw exception TypeErro r: 'caller' and 'arguments' are restricted function properties and cannot be acc essed in this context.. 92 PASS (function f(arg){'use strict'; f.arguments=5; })() threw exception TypeErro r: 'caller' and 'arguments' are restricted function properties and cannot be acc essed in this context..
93 PASS (function f(arg){'use strict'; f.caller=5; })() threw exception TypeError: 'caller' and 'arguments' are restricted function properties and cannot be access ed in this context.. 93 PASS (function f(arg){'use strict'; f.caller=5; })() threw exception TypeError: 'caller' and 'arguments' are restricted function properties and cannot be access ed in this context..
94 PASS "caller" in function(){"use strict"} is true 94 PASS "caller" in function(){"use strict"} is true
95 PASS (function(){"use strict";}).hasOwnProperty("caller") is false 95 PASS (function(){"use strict";}).hasOwnProperty("caller") is false
96 PASS (function(){"use strict";}).__proto__.hasOwnProperty("caller") is true 96 PASS (function(){"use strict";}).__proto__.hasOwnProperty("caller") is true
97 PASS "arguments" in function(){"use strict"} is true 97 PASS "arguments" in function(){"use strict"} is true
98 PASS (function(){"use strict";}).hasOwnProperty("arguments") is false 98 PASS (function(){"use strict";}).hasOwnProperty("arguments") is false
99 PASS (function(){"use strict";}).__proto__.hasOwnProperty("arguments") is true 99 PASS (function(){"use strict";}).__proto__.hasOwnProperty("arguments") is true
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
193 PASS (function (){'use strict'; var local; (function (){local;})(); arguments[0 ]=true; return arguments; })(false)[0] is true 193 PASS (function (){'use strict'; var local; (function (){local;})(); arguments[0 ]=true; return arguments; })(false)[0] is true
194 PASS (function (a){'use strict'; var local; (function (){local;})(); arguments[0 ]=true; a=false; return arguments; })()[0] is true 194 PASS (function (a){'use strict'; var local; (function (){local;})(); arguments[0 ]=true; a=false; return arguments; })()[0] is true
195 PASS (function (a){'use strict'; var local; (function (){local;})(); arguments[0 ]=true; return arguments; })()[0] is true 195 PASS (function (a){'use strict'; var local; (function (){local;})(); arguments[0 ]=true; return arguments; })()[0] is true
196 PASS (function (a){'use strict'; var local; (function (){local;})(); arguments[0 ]=false; a=true; return a; })() is true 196 PASS (function (a){'use strict'; var local; (function (){local;})(); arguments[0 ]=false; a=true; return a; })() is true
197 PASS (function (){'use strict'; var local; (function (){local;})(); arguments[0 ]=true; return arguments; })()[0] is true 197 PASS (function (){'use strict'; var local; (function (){local;})(); arguments[0 ]=true; return arguments; })()[0] is true
198 PASS 'use strict'; (function (){var a = true; eval('var a = false'); return a; } )() is true 198 PASS 'use strict'; (function (){var a = true; eval('var a = false'); return a; } )() is true
199 PASS (function (){var a = true; eval('"use strict"; var a = false'); return a; } )() is true 199 PASS (function (){var a = true; eval('"use strict"; var a = false'); return a; } )() is true
200 PASS (function f(arg){'use strict'; return Object.getOwnPropertyDescriptor(f.__p roto__, 'arguments').value; })() is undefined. 200 PASS (function f(arg){'use strict'; return Object.getOwnPropertyDescriptor(f.__p roto__, 'arguments').value; })() is undefined.
201 PASS (function f(arg){'use strict'; return Object.getOwnPropertyDescriptor(f.__p roto__, 'caller').value; })() is undefined. 201 PASS (function f(arg){'use strict'; return Object.getOwnPropertyDescriptor(f.__p roto__, 'caller').value; })() is undefined.
202 PASS (function f(arg){'use strict'; return Object.getOwnPropertyDescriptor(argum ents, 'callee').value; })() is undefined. 202 PASS (function f(arg){'use strict'; return Object.getOwnPropertyDescriptor(argum ents, 'callee').value; })() is undefined.
203 PASS (function f(arg){'use strict'; return Object.getOwnPropertyDescriptor(argum ents, 'caller').value; })() is undefined. 203 PASS (function f(arg){'use strict'; return Object.getOwnPropertyDescriptor(argum ents, 'caller'); })() is undefined.
204 PASS (function f(arg){'use strict'; var descriptor = Object.getOwnPropertyDescri ptor(arguments, 'caller'); return descriptor.get === descriptor.set; })() is tru e
205 PASS (function f(arg){'use strict'; var descriptor = Object.getOwnPropertyDescri ptor(arguments, 'callee'); return descriptor.get === descriptor.set; })() is tru e 204 PASS (function f(arg){'use strict'; var descriptor = Object.getOwnPropertyDescri ptor(arguments, 'callee'); return descriptor.get === descriptor.set; })() is tru e
206 PASS (function f(arg){'use strict'; var descriptor = Object.getOwnPropertyDescri ptor(f.__proto__, 'caller'); return descriptor.get === descriptor.set; })() is t rue 205 PASS (function f(arg){'use strict'; var descriptor = Object.getOwnPropertyDescri ptor(f.__proto__, 'caller'); return descriptor.get === descriptor.set; })() is t rue
207 PASS (function f(arg){'use strict'; var descriptor = Object.getOwnPropertyDescri ptor(f.__proto__, 'arguments'); return descriptor.get === descriptor.set; })() i s true 206 PASS (function f(arg){'use strict'; var descriptor = Object.getOwnPropertyDescri ptor(f.__proto__, 'arguments'); return descriptor.get === descriptor.set; })() i s true
208 PASS 'use strict'; (function f() { for(var i in this); })(); true; is true 207 PASS 'use strict'; (function f() { for(var i in this); })(); true; is true
209 PASS 'use strict'̻ threw exception SyntaxError: Invalid or unexpected token. 208 PASS 'use strict'̻ threw exception SyntaxError: Invalid or unexpected token.
210 PASS (function (){'use strict'̻}) threw exception SyntaxError: Invalid or unexpe cted token. 209 PASS (function (){'use strict'̻}) threw exception SyntaxError: Invalid or unexpe cted token.
211 PASS 'use strict'5.f threw exception SyntaxError: Invalid or unexpected token. 210 PASS 'use strict'5.f threw exception SyntaxError: Invalid or unexpected token.
212 PASS (function (){'use strict'5.f}) threw exception SyntaxError: Invalid or unex pected token. 211 PASS (function (){'use strict'5.f}) threw exception SyntaxError: Invalid or unex pected token.
213 PASS 'use strict';̻ threw exception SyntaxError: Invalid or unexpected token. 212 PASS 'use strict';̻ threw exception SyntaxError: Invalid or unexpected token.
214 PASS (function (){'use strict';̻}) threw exception SyntaxError: Invalid or unexp ected token. 213 PASS (function (){'use strict';̻}) threw exception SyntaxError: Invalid or unexp ected token.
(...skipping 15 matching lines...) Expand all
230 PASS try { throw 1; } catch (e) { aGlobal = true; } is true 229 PASS try { throw 1; } catch (e) { aGlobal = true; } is true
231 PASS (function () { try { throw 1; } catch (e) { aGlobal = true; }})(); aGlobal; is true 230 PASS (function () { try { throw 1; } catch (e) { aGlobal = true; }})(); aGlobal; is true
232 PASS (function () {try { throw 1; } catch (e) { aGlobal = true; }})(); aGlobal; is true 231 PASS (function () {try { throw 1; } catch (e) { aGlobal = true; }})(); aGlobal; is true
233 FAIL String(Object.getOwnPropertyDescriptor((function() { "use strict"; }).__pro to__, "caller").get) should be function () { 232 FAIL String(Object.getOwnPropertyDescriptor((function() { "use strict"; }).__pro to__, "caller").get) should be function () {
234 [native code] 233 [native code]
235 }. Was function ThrowTypeError() { [native code] }. 234 }. Was function ThrowTypeError() { [native code] }.
236 PASS successfullyParsed is true 235 PASS successfullyParsed is true
237 236
238 TEST COMPLETE 237 TEST COMPLETE
239 238
OLDNEW
« no previous file with comments | « test/webkit/fast/js/basic-strict-mode.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698