mirror of
https://github.com/LadybirdBrowser/ladybird
synced 2026-04-25 17:25:08 +02:00
Previously it used `realm.[[GlobalObject]]` instead of `realm.[[GlobalEnv]].[[GlobalThisValue]]`. In LibWeb, that corresponds to Window and WindowProxy respectively.
10 lines
351 B
Plaintext
10 lines
351 B
Plaintext
globalThis === window: true
|
|
globalThis === self: true
|
|
globalThis === frames: true
|
|
globalThis === this: true
|
|
iframe contentWindow === iframe globalThis: true
|
|
iframe globalThis === iframe self: true
|
|
iframe realm globalThis === window: true
|
|
globalThis !== iframe globalThis: true
|
|
Object.getPrototypeOf(globalThis) === Object.getPrototypeOf(window): true
|