test262/test
Mike Pennisi 219bdc6f73 Promise: Add tests to disallow faulty optimization
Add tests that assert behavior when a Promise is resolved with another
Promise whose `then` method has been overridden. Because all objects
with a `then` method are treated equivalently, the presence of a
[[PromiseState]] internal slot should have no effect on program
behavior.

These tests guard against a faulty optimization originally implemented
in V8:

https://bugs.chromium.org/p/v8/issues/detail?id=3641
2016-02-10 13:38:03 -05:00
..
annexB Add missing tests for "length" and "name" properties of AnnexB built-in functions 2016-01-15 18:11:38 +01:00
built-ins Promise: Add tests to disallow faulty optimization 2016-02-10 13:38:03 -05:00
harness Update handling of directive prologues 2015-06-18 17:38:34 -04:00
intl402 Add tests for special case mappings 2015-09-07 18:22:07 +02:00
language Merge pull request from bocoup/reorg-obj 2016-02-05 09:04:40 -08:00