summaryrefslogtreecommitdiff
path: root/test/language/function-code/10.4.3-1-25gs.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/language/function-code/10.4.3-1-25gs.js')
-rw-r--r--test/language/function-code/10.4.3-1-25gs.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/language/function-code/10.4.3-1-25gs.js b/test/language/function-code/10.4.3-1-25gs.js
index 049e6b694..17dfe0167 100644
--- a/test/language/function-code/10.4.3-1-25gs.js
+++ b/test/language/function-code/10.4.3-1-25gs.js
@@ -7,12 +7,11 @@ description: >
Strict - checking 'this' from a global scope (New'ed object from
Anonymous FunctionExpression defined within strict mode)
flags: [onlyStrict]
-includes: [fnGlobalObject.js]
---*/
var obj = new (function () {
return this;
});
-if ((obj === fnGlobalObject()) || (typeof obj === "undefined")) {
+if ((obj === this) || (typeof obj === "undefined")) {
throw "'this' had incorrect value!";
}