mirror of https://github.com/tc39/test262.git
Remove case, no form of importing thing as namespace
This commit is contained in:
parent
fdcb06e093
commit
971ca8cc85
|
@ -1,33 +0,0 @@
|
|||
// Copyright (C) 2018 Rick Waldron. All rights reserved.
|
||||
// Copyright (C) 2018 the V8 project authors. All rights reserved.
|
||||
// This code is governed by the BSD license found in the LICENSE file.
|
||||
/*---
|
||||
desc: >
|
||||
Modifications to named bindings that occur after dependency has been
|
||||
evaluated are reflected in local binding
|
||||
info: |
|
||||
GetBindingValue (N, S)
|
||||
|
||||
[...]
|
||||
3. If the binding for N is an indirect binding, then
|
||||
a. Let M and N2 be the indirection values provided when this binding for
|
||||
N was created.
|
||||
b. Let targetEnv be M.[[Environment]].
|
||||
c. If targetEnv is undefined, throw a ReferenceError exception.
|
||||
d. Let targetER be targetEnv's EnvironmentRecord.
|
||||
e. Return ? targetER.GetBindingValue(N2, S).
|
||||
includes: [fnGlobalObject.js]
|
||||
template: default
|
||||
---*/
|
||||
|
||||
//- params
|
||||
'./eval-gtbndng-indirect-update-as_FIXTURE.js'
|
||||
//- body
|
||||
assert.sameValue(imported.x, 1);
|
||||
|
||||
// This function is exposed on the global scope (instead of as an imported
|
||||
// binding) in order to avoid possible false positives from assuming correct
|
||||
// behavior of the semantics under test.
|
||||
fnGlobalObject().test262update();
|
||||
|
||||
assert.sameValue(imported.x, 2);
|
Loading…
Reference in New Issue