mirror of
https://github.com/Samsung/escargot.git
synced 2026-06-29 10:02:14 +00:00
Implement GlobalObjectProxyObject for support external project
Signed-off-by: Seonghyun Kim <sh8281.kim@samsung.com>
This commit is contained in:
parent
2ed90b206b
commit
5fe34d5b04
16 changed files with 340 additions and 14 deletions
|
|
@ -52,7 +52,7 @@ public:
|
|||
// if thisArgument is null or undefined, then
|
||||
// Let thisValue be calleeRealm.[[globalThis]]
|
||||
if (thisArgument.isUndefinedOrNull()) {
|
||||
return calleeState.context()->globalObject();
|
||||
return calleeState.context()->globalObjectProxy();
|
||||
} else {
|
||||
// Else
|
||||
// Let thisValue be ToObject(thisArgument).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue