Realm API and this != global

# Anne van Kesteren (11 years ago)

Given that we now expose realms to JavaScript, fixing this mismatch between HTML and JavaScript seems somewhat more important (although really, HTML explicitly overriding JavaScript should be a big warning sign): ecmascript#1898 Otherwise, the Realm API cannot really fulfill its intended use as "<iframe> without DOM".