Skip to content
Snippets Groups Projects
Commit 7630235d authored by Leo Balter's avatar Leo Balter Committed by Rick Waldron
Browse files

Re-generate tests

parent 31f7b3e2
Branches
No related tags found
No related merge requests found
Showing
with 100 additions and 70 deletions
......@@ -37,7 +37,9 @@ eval(
'var global = fnGlobalObject();\
assert.sameValue(f, undefined, "binding is initialized to `undefined`");\
\
verifyEnumerable(global, "f");\
verifyWritable(global, "f");\
verifyNotConfigurable(global, "f");{ function f() { } }'
verifyProperty(global, "f", {\
enumerable: true,\
writable: true,\
configurable: false\
});{ function f() { } }'
);
......@@ -21,8 +21,9 @@ eval(
'var global = fnGlobalObject();\
assert.sameValue(f, undefined, "binding is initialized to `undefined`");\
\
verifyEnumerable(global, "f");\
verifyWritable(global, "f");\
verifyConfigurable(global, "f");\
{ function f() { } }'
verifyProperty(global, "f", {\
enumerable: true,\
writable: true,\
configurable: true\
});{ function f() { } }'
);
......@@ -46,7 +46,9 @@ eval(
'var global = fnGlobalObject();\
assert.sameValue(f, undefined, "binding is initialized to `undefined`");\
\
verifyEnumerable(global, "f");\
verifyWritable(global, "f");\
verifyNotConfigurable(global, "f");if (true) function f() { } else function _f() {}'
verifyProperty(global, "f", {\
enumerable: true,\
writable: true,\
configurable: false\
});if (true) function f() { } else function _f() {}'
);
......@@ -30,8 +30,9 @@ eval(
'var global = fnGlobalObject();\
assert.sameValue(f, undefined, "binding is initialized to `undefined`");\
\
verifyEnumerable(global, "f");\
verifyWritable(global, "f");\
verifyConfigurable(global, "f");\
if (true) function f() { } else function _f() {}'
verifyProperty(global, "f", {\
enumerable: true,\
writable: true,\
configurable: true\
});if (true) function f() { } else function _f() {}'
);
......@@ -46,7 +46,9 @@ eval(
'var global = fnGlobalObject();\
assert.sameValue(f, undefined, "binding is initialized to `undefined`");\
\
verifyEnumerable(global, "f");\
verifyWritable(global, "f");\
verifyNotConfigurable(global, "f");if (false) function _f() {} else function f() { }'
verifyProperty(global, "f", {\
enumerable: true,\
writable: true,\
configurable: false\
});if (false) function _f() {} else function f() { }'
);
......@@ -30,8 +30,9 @@ eval(
'var global = fnGlobalObject();\
assert.sameValue(f, undefined, "binding is initialized to `undefined`");\
\
verifyEnumerable(global, "f");\
verifyWritable(global, "f");\
verifyConfigurable(global, "f");\
if (false) function _f() {} else function f() { }'
verifyProperty(global, "f", {\
enumerable: true,\
writable: true,\
configurable: true\
});if (false) function _f() {} else function f() { }'
);
......@@ -46,7 +46,9 @@ eval(
'var global = fnGlobalObject();\
assert.sameValue(f, undefined, "binding is initialized to `undefined`");\
\
verifyEnumerable(global, "f");\
verifyWritable(global, "f");\
verifyNotConfigurable(global, "f");if (true) function f() { } else ;'
verifyProperty(global, "f", {\
enumerable: true,\
writable: true,\
configurable: false\
});if (true) function f() { } else ;'
);
......@@ -30,8 +30,9 @@ eval(
'var global = fnGlobalObject();\
assert.sameValue(f, undefined, "binding is initialized to `undefined`");\
\
verifyEnumerable(global, "f");\
verifyWritable(global, "f");\
verifyConfigurable(global, "f");\
if (true) function f() { } else ;'
verifyProperty(global, "f", {\
enumerable: true,\
writable: true,\
configurable: true\
});if (true) function f() { } else ;'
);
......@@ -46,7 +46,9 @@ eval(
'var global = fnGlobalObject();\
assert.sameValue(f, undefined, "binding is initialized to `undefined`");\
\
verifyEnumerable(global, "f");\
verifyWritable(global, "f");\
verifyNotConfigurable(global, "f");if (true) function f() { }'
verifyProperty(global, "f", {\
enumerable: true,\
writable: true,\
configurable: false\
});if (true) function f() { }'
);
......@@ -30,8 +30,9 @@ eval(
'var global = fnGlobalObject();\
assert.sameValue(f, undefined, "binding is initialized to `undefined`");\
\
verifyEnumerable(global, "f");\
verifyWritable(global, "f");\
verifyConfigurable(global, "f");\
if (true) function f() { }'
verifyProperty(global, "f", {\
enumerable: true,\
writable: true,\
configurable: true\
});if (true) function f() { }'
);
......@@ -46,7 +46,9 @@ eval(
'var global = fnGlobalObject();\
assert.sameValue(f, undefined, "binding is initialized to `undefined`");\
\
verifyEnumerable(global, "f");\
verifyWritable(global, "f");\
verifyNotConfigurable(global, "f");if (false) ; else function f() { }'
verifyProperty(global, "f", {\
enumerable: true,\
writable: true,\
configurable: false\
});if (false) ; else function f() { }'
);
......@@ -30,8 +30,9 @@ eval(
'var global = fnGlobalObject();\
assert.sameValue(f, undefined, "binding is initialized to `undefined`");\
\
verifyEnumerable(global, "f");\
verifyWritable(global, "f");\
verifyConfigurable(global, "f");\
if (false) ; else function f() { }'
verifyProperty(global, "f", {\
enumerable: true,\
writable: true,\
configurable: true\
});if (false) ; else function f() { }'
);
......@@ -37,9 +37,11 @@ eval(
'var global = fnGlobalObject();\
assert.sameValue(f, undefined, "binding is initialized to `undefined`");\
\
verifyEnumerable(global, "f");\
verifyWritable(global, "f");\
verifyNotConfigurable(global, "f");switch (1) {' +
verifyProperty(global, "f", {\
enumerable: true,\
writable: true,\
configurable: false\
});switch (1) {' +
' case 1:' +
' function f() { }' +
'}\
......
......@@ -21,10 +21,11 @@ eval(
'var global = fnGlobalObject();\
assert.sameValue(f, undefined, "binding is initialized to `undefined`");\
\
verifyEnumerable(global, "f");\
verifyWritable(global, "f");\
verifyConfigurable(global, "f");\
switch (1) {' +
verifyProperty(global, "f", {\
enumerable: true,\
writable: true,\
configurable: true\
});switch (1) {' +
' case 1:' +
' function f() { }' +
'}\
......
......@@ -37,9 +37,11 @@ eval(
'var global = fnGlobalObject();\
assert.sameValue(f, undefined, "binding is initialized to `undefined`");\
\
verifyEnumerable(global, "f");\
verifyWritable(global, "f");\
verifyNotConfigurable(global, "f");switch (1) {' +
verifyProperty(global, "f", {\
enumerable: true,\
writable: true,\
configurable: false\
});switch (1) {' +
' default:' +
' function f() { }' +
'}\
......
......@@ -21,10 +21,11 @@ eval(
'var global = fnGlobalObject();\
assert.sameValue(f, undefined, "binding is initialized to `undefined`");\
\
verifyEnumerable(global, "f");\
verifyWritable(global, "f");\
verifyConfigurable(global, "f");\
switch (1) {' +
verifyProperty(global, "f", {\
enumerable: true,\
writable: true,\
configurable: true\
});switch (1) {' +
' default:' +
' function f() { }' +
'}\
......
......@@ -37,7 +37,9 @@ Object.defineProperty(fnGlobalObject(), 'f', {
'var global = fnGlobalObject();\
assert.sameValue(f, undefined, "binding is initialized to `undefined`");\
\
verifyEnumerable(global, "f");\
verifyWritable(global, "f");\
verifyNotConfigurable(global, "f");{ function f() { } }'
verifyProperty(global, "f", {\
enumerable: true,\
writable: true,\
configurable: false\
});{ function f() { } }'
);
......@@ -21,8 +21,9 @@ info: |
'var global = fnGlobalObject();\
assert.sameValue(f, undefined, "binding is initialized to `undefined`");\
\
verifyEnumerable(global, "f");\
verifyWritable(global, "f");\
verifyConfigurable(global, "f");\
{ function f() { } }'
verifyProperty(global, "f", {\
enumerable: true,\
writable: true,\
configurable: true\
});{ function f() { } }'
);
......@@ -46,7 +46,9 @@ Object.defineProperty(fnGlobalObject(), 'f', {
'var global = fnGlobalObject();\
assert.sameValue(f, undefined, "binding is initialized to `undefined`");\
\
verifyEnumerable(global, "f");\
verifyWritable(global, "f");\
verifyNotConfigurable(global, "f");if (true) function f() { } else function _f() {}'
verifyProperty(global, "f", {\
enumerable: true,\
writable: true,\
configurable: false\
});if (true) function f() { } else function _f() {}'
);
......@@ -30,8 +30,9 @@ info: |
'var global = fnGlobalObject();\
assert.sameValue(f, undefined, "binding is initialized to `undefined`");\
\
verifyEnumerable(global, "f");\
verifyWritable(global, "f");\
verifyConfigurable(global, "f");\
if (true) function f() { } else function _f() {}'
verifyProperty(global, "f", {\
enumerable: true,\
writable: true,\
configurable: true\
});if (true) function f() { } else function _f() {}'
);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment