archives

« Bugzilla Issues Index

#180 — Need more thorough coverage for 'this===undefined' in various strict mode scenarios


Current checks on 'this===undefined' in test262 strict mode tests seems to mostly revolve around either Function.prototype.call(undefined)/Function.prototype.apply calls or strict mode at the global level. We also need to make sure scenarios such as:
(function (){"use strict"; return this===undefined;}();
are adequately covered. Specifically, we should look into mutating cases found under 10.4.3 and 11.1.1.


I've created tests which we'll contribute to test262 with the next contribution from Microsoft.


Tests are now live on test262.ecmascript.org.