Remove excess leading whitespace

This commit is contained in:
André Bargull 2023-09-13 13:34:46 +02:00 committed by Ms2ger
parent c140af3cb3
commit 1bd99bf069
89 changed files with 336 additions and 334 deletions

View File

@ -7,7 +7,6 @@ description: Strict Mode - arguments object is immutable
flags: [onlyStrict]
---*/
assert.throws(SyntaxError, function() {
(function fun() {
eval("arguments = 10");

View File

@ -7,7 +7,6 @@ description: Strict Mode - arguments object is immutable in eval'ed functions
flags: [onlyStrict]
---*/
assert.throws(SyntaxError, function() {
eval("(function _10_5_7_b_1_fun() { arguments = 10;} ());");
});

View File

@ -12,6 +12,7 @@ flags: [onlyStrict]
var argObj = function () {
return arguments;
} ();
assert.throws(TypeError, function() {
argObj.callee = {};
});

View File

@ -7,7 +7,6 @@ description: "'length property of arguments object exists"
---*/
function testcase() {
var desc = Object.getOwnPropertyDescriptor(arguments,"length");
assert.notSameValue(desc, undefined);
}

View File

@ -18,6 +18,5 @@ flags: [noStrict]
return typeof(this);
}
assert.sameValue(foo.call(1), 'number', 'foo.call(1)');
assert.sameValue(bar.call(1), 'object', 'bar.call(1)');

View File

@ -18,6 +18,5 @@ flags: [noStrict]
return typeof(this);
}
assert.sameValue(foo.call('1'), 'string', 'foo.call("1")');
assert.sameValue(bar.call('1'), 'object', 'bar.call("1")');

View File

@ -18,6 +18,5 @@ flags: [noStrict]
return typeof(this);
}
assert.sameValue(foo.call(true), 'boolean', 'foo.call(true)');
assert.sameValue(bar.call(true), 'object', 'bar.call(true)');

View File

@ -13,7 +13,6 @@ description: >
flags: [noStrict]
---*/
assert.throws(SyntaxError, function() {
eval("var _13_0_13_fun = new Function(\" \", \"'use strict'; eval = 42;\"); _13_0_13_fun();");
});

View File

@ -13,7 +13,6 @@ description: >
flags: [noStrict]
---*/
assert.throws(SyntaxError, function() {
var _13_0_14_fun = new Function(" ", "'use strict'; eval = 42; ");
_13_0_14_fun();

View File

@ -13,7 +13,6 @@ description: >
flags: [noStrict]
---*/
assert.throws(SyntaxError, function() {
eval("'use strict'; function _13_0_15_fun() {eval = 42;};");
_13_0_15_fun();

View File

@ -13,7 +13,6 @@ description: >
flags: [noStrict]
---*/
assert.throws(SyntaxError, function() {
eval("'use strict'; function _13_0_7_fun() {eval = 42;};");
_13_0_7_fun();

View File

@ -14,7 +14,6 @@ description: >
flags: [onlyStrict]
---*/
assert.throws(SyntaxError, function() {
eval("var _13_1_2_fun = function (eval) { }");
});

View File

@ -14,7 +14,6 @@ description: >
flags: [onlyStrict]
---*/
assert.throws(SyntaxError, function() {
eval("var _13_1_4_fun = function (arguments) { };");
});

View File

@ -10,6 +10,7 @@ flags: [noStrict]
---*/
var _13_1_41_s = {};
assert.throws(SyntaxError, function() {
eval("'use strict'; _13_1_41_s.x = function arguments() {};");
});

View File

@ -9,6 +9,7 @@ description: >
---*/
var foo = Function("'use strict';");
assert.throws(TypeError, function() {
foo.caller = 41;
});

View File

@ -9,6 +9,7 @@ description: >
---*/
var foo = new Function("'use strict';");
assert.throws(TypeError, function() {
var temp = foo.arguments;
});

View File

@ -9,6 +9,7 @@ description: >
---*/
var foo = new Function("'use strict';");
assert.throws(TypeError, function() {
foo.arguments = 41;
});

View File

@ -9,6 +9,7 @@ description: >
---*/
var foo = Function("'use strict';");
assert.throws(TypeError, function() {
var temp = foo.arguments;
});

View File

@ -9,6 +9,7 @@ description: >
---*/
var foo = Function("'use strict';");
assert.throws(TypeError, function() {
foo.arguments = 41;
});

View File

@ -10,6 +10,7 @@ flags: [noStrict]
---*/
function foo () {"use strict";}
assert.throws(TypeError, function() {
var temp = foo.caller;
});

View File

@ -10,6 +10,7 @@ flags: [noStrict]
---*/
function foo () {"use strict";}
assert.throws(TypeError, function() {
foo.caller = 41;
});

View File

@ -10,6 +10,7 @@ flags: [noStrict]
---*/
function foo () {"use strict";}
assert.throws(TypeError, function() {
var temp = foo.arguments;
});

View File

@ -10,6 +10,7 @@ flags: [noStrict]
---*/
function foo () {"use strict";}
assert.throws(TypeError, function() {
foo.arguments = 41;
});

View File

@ -10,6 +10,7 @@ flags: [noStrict]
---*/
var foo = new Function("'use strict';");
assert.throws(TypeError, function() {
var temp = foo.caller;
});

View File

@ -10,6 +10,7 @@ flags: [noStrict]
---*/
var foo = new Function("'use strict';");
assert.throws(TypeError, function() {
foo.caller = 41;
});

View File

@ -10,6 +10,7 @@ flags: [noStrict]
---*/
var foo = Function("'use strict';");
assert.throws(TypeError, function() {
var temp = foo.caller;
});