aboutsummaryrefslogtreecommitdiffstats
path: root/test/suite/ch10/10.4/10.4.3/10.4.3-1-9gs.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/suite/ch10/10.4/10.4.3/10.4.3-1-9gs.js')
-rw-r--r--test/suite/ch10/10.4/10.4.3/10.4.3-1-9gs.js38
1 files changed, 20 insertions, 18 deletions
diff --git a/test/suite/ch10/10.4/10.4.3/10.4.3-1-9gs.js b/test/suite/ch10/10.4/10.4.3/10.4.3-1-9gs.js
index 56c150c89..4ed3fd47a 100644
--- a/test/suite/ch10/10.4/10.4.3/10.4.3-1-9gs.js
+++ b/test/suite/ch10/10.4/10.4.3/10.4.3-1-9gs.js
@@ -1,18 +1,20 @@
-/// Copyright (c) 2012 Ecma International. All rights reserved.
-/// Ecma International makes this code available under the terms and conditions set
-/// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
-/// "Use Terms"). Any redistribution of this code must retain the above
-/// copyright and this notice and otherwise comply with the Use Terms.
-/**
- * @path ch10/10.4/10.4.3/10.4.3-1-9gs.js
- * @description Strict - checking 'this' from a global scope (FunctionExpression defined within strict mode)
- * @onlyStrict
- */
-
-"use strict";
-var f = function () {
- return typeof this;
-}
-if (f() !== "undefined") {
- throw "'this' had incorrect value!";
-} \ No newline at end of file
+// Copyright (c) 2012 Ecma International. All rights reserved.
+// Ecma International makes this code available under the terms and conditions set
+// forth on http://hg.ecmascript.org/tests/test262/raw-file/tip/LICENSE (the
+// "Use Terms"). Any redistribution of this code must retain the above
+// copyright and this notice and otherwise comply with the Use Terms.
+
+/*---
+description: >
+ Strict - checking 'this' from a global scope (FunctionExpression
+ defined within strict mode)
+flags: [onlyStrict]
+---*/
+
+"use strict";
+var f = function () {
+ return typeof this;
+}
+if (f() !== "undefined") {
+ throw "'this' had incorrect value!";
+}