diff options
author | Mike Pennisi <mike@mikepennisi.com> | 2016-04-22 13:07:00 -0400 |
---|---|---|
committer | Gorkem Yakin <goyakin@microsoft.com> | 2016-04-25 11:09:21 -0700 |
commit | eb644bb2da80a294282c4d98ad6fdef0bde5562f (patch) | |
tree | da0ff0882600854fb373bda83fc2f3780361e206 /test/built-ins/Object/defineProperty/15.2.3.6-4-538-7.js | |
parent | 9aa4dced8d8afbe114b16650187ebb14c3e21e01 (diff) | |
download | qtdeclarative-testsuites-eb644bb2da80a294282c4d98ad6fdef0bde5562f.tar.gz |
Reduce reliance on `fnGlobalObject.js`
This harness function is not necessary in the majority of cases in which
it is used. Remove its usage to simplify tests and decrease the amount
of domain-specific knowledge necessary to contribute to the test suite.
Persist the harness function itself for use by future tests for ES2015
modules (such a helper is necessary for tests that are interpreted as
module code).
Diffstat (limited to 'test/built-ins/Object/defineProperty/15.2.3.6-4-538-7.js')
-rw-r--r-- | test/built-ins/Object/defineProperty/15.2.3.6-4-538-7.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/built-ins/Object/defineProperty/15.2.3.6-4-538-7.js b/test/built-ins/Object/defineProperty/15.2.3.6-4-538-7.js index 3e2c36f47..29b931fd2 100644 --- a/test/built-ins/Object/defineProperty/15.2.3.6-4-538-7.js +++ b/test/built-ins/Object/defineProperty/15.2.3.6-4-538-7.js @@ -7,10 +7,10 @@ description: > ES5 Attributes - Updating an indexed accessor property 'P' whose [[Configurable]] attribute is true to a data property is successful, 'O' is the global object -includes: [propertyHelper.js, fnGlobalObject.js] +includes: [propertyHelper.js] ---*/ -var obj = fnGlobalObject(); +var obj = this; obj.verifySetFunc = "data"; var getFunc = function () { |