test262/test
Mike Pennisi 1ec40f349a Re-write tests for Promise.prototype internal slots
The original implementation of the test for the absense of a
[[PromiseState]] internal slot did not actually assert the documented
semantics. Re-implement the test to rely on the IsPromise abstract
operation (via `Promise.prototype.then`) to accurately ensure that the
object does not have a [[PromiseState]] internal slot.

In relying on the semantics of the `instanceof` operator, the original
test for the [[Prototype]] internal slot was imprecise (the assertion
could be satisfied if additional objects were incorrectly defined on the
prototype chain). Re-write the test to assert the value of the
[[Prototype]] internal slot directly.
2016-06-27 15:31:01 -04:00
..
annexB Add tests for Annex B `Object.prototype` methods (#626) 2016-06-08 12:41:26 -04:00
built-ins Re-write tests for Promise.prototype internal slots 2016-06-27 15:31:01 -04:00
harness Add harness for byte conversion values 2016-05-25 10:10:50 -04:00
intl402 Add tests for Intl.getCanonicalLocales 2016-06-07 14:52:04 -04:00
language Remove redundant tests 2016-06-21 12:22:50 -04:00