| Index: test/cctest/test-api-interceptors.cc
|
| diff --git a/test/cctest/test-api-interceptors.cc b/test/cctest/test-api-interceptors.cc
|
| index 7cedf398c854392ea9c7d70758b066f10654a813..a1894fad1adce45332c10042038131bde0ffe0c1 100644
|
| --- a/test/cctest/test-api-interceptors.cc
|
| +++ b/test/cctest/test-api-interceptors.cc
|
| @@ -2270,34 +2270,33 @@
|
| // This order is not mandated by the spec, so this test is just
|
| // documenting our behavior.
|
| CHECK_EQ(17u, result->Length());
|
| - // Indexed properties.
|
| - CHECK(v8_str("5")
|
| + // Indexed properties + indexed interceptor properties in numerical order.
|
| + CHECK(v8_str("0")
|
| ->Equals(context.local(),
|
| result->Get(context.local(), v8::Integer::New(isolate, 0))
|
| .ToLocalChecked())
|
| .FromJust());
|
| - CHECK(v8_str("10")
|
| + CHECK(v8_str("1")
|
| ->Equals(context.local(),
|
| result->Get(context.local(), v8::Integer::New(isolate, 1))
|
| .ToLocalChecked())
|
| .FromJust());
|
| - CHECK(v8_str("140000")
|
| + CHECK(v8_str("5")
|
| ->Equals(context.local(),
|
| result->Get(context.local(), v8::Integer::New(isolate, 2))
|
| .ToLocalChecked())
|
| .FromJust());
|
| - CHECK(v8_str("4294967294")
|
| + CHECK(v8_str("10")
|
| ->Equals(context.local(),
|
| result->Get(context.local(), v8::Integer::New(isolate, 3))
|
| .ToLocalChecked())
|
| .FromJust());
|
| - // Indexed Interceptor properties
|
| - CHECK(v8_str("0")
|
| + CHECK(v8_str("140000")
|
| ->Equals(context.local(),
|
| result->Get(context.local(), v8::Integer::New(isolate, 4))
|
| .ToLocalChecked())
|
| .FromJust());
|
| - CHECK(v8_str("1")
|
| + CHECK(v8_str("4294967294")
|
| ->Equals(context.local(),
|
| result->Get(context.local(), v8::Integer::New(isolate, 5))
|
| .ToLocalChecked())
|
|
|