From 537ef018825775d513b396f115991d1b4f28a8fb Mon Sep 17 00:00:00 2001
From: Rick Waldron <waldron.rick@gmail.com>
Date: Fri, 23 Jun 2017 11:09:46 -0400
Subject: [PATCH] harness test: fnGlobalObject.js

Signed-off-by: Rick Waldron <waldron.rick@gmail.com>
---
 test/harness/fnGlobalObject.js | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 test/harness/fnGlobalObject.js

diff --git a/test/harness/fnGlobalObject.js b/test/harness/fnGlobalObject.js
new file mode 100644
index 0000000000..30198a9f64
--- /dev/null
+++ b/test/harness/fnGlobalObject.js
@@ -0,0 +1,17 @@
+// Copyright (C) 2017 Rick Waldron. All rights reserved.
+// This code is governed by the BSD license found in the LICENSE file.
+/*---
+description: >
+    Including fnGlobalObject.js will expose a function:
+
+        fnGlobalObject
+
+    fnGlobalObject returns a reference to the global object.
+
+includes: [fnGlobalObject.js]
+---*/
+
+var gO = fnGlobalObject();
+
+assert(typeof gO === "object");
+assert.sameValue(gO, this);
-- 
GitLab