Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(86)

Unified Diff: test/mjsunit/es6/proxies-keys.js

Issue 2169593002: Revert "Version 5.2.361.44 (cherry-pick)" (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@5.2
Patch Set: Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/objects.cc ('k') | test/mjsunit/regress/regress-5174.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/mjsunit/es6/proxies-keys.js
diff --git a/test/mjsunit/es6/proxies-keys.js b/test/mjsunit/es6/proxies-keys.js
index 2635ac3407379948c9075a3fd3ffa00a66c7b659..65dea6a5992c2debe1a141bcf60af621c7e4ea41 100644
--- a/test/mjsunit/es6/proxies-keys.js
+++ b/test/mjsunit/es6/proxies-keys.js
@@ -48,31 +48,3 @@ assertEquals(["target"], Object.keys(proxy2));
assertEquals(["1","2"], Object.getOwnPropertyNames(p));
assertEquals([symbol], Object.getOwnPropertySymbols(p));
})();
-
-(function testNoProxyTraps() {
- var test_sym = Symbol("sym1");
- var test_sym2 = Symbol("sym2");
- var target = {
- one: 1,
- two: 2,
- [test_sym]: 4,
- 0: 0,
- };
- Object.defineProperty(
- target, "non-enum",
- { enumerable: false, value: "nope", configurable: true, writable: true });
- target.__proto__ = {
- target_proto: 3,
- 1: 1,
- [test_sym2]: 5
- };
- Object.defineProperty(
- target.__proto__, "non-enum2",
- { enumerable: false, value: "nope", configurable: true, writable: true });
- var proxy = new Proxy(target, {});
-
- assertEquals(["0", "one", "two"], Object.keys(proxy));
- assertEquals(["0", "one", "two", "non-enum"],
- Object.getOwnPropertyNames(proxy));
- assertEquals([test_sym], Object.getOwnPropertySymbols(proxy));
-})();
« no previous file with comments | « src/objects.cc ('k') | test/mjsunit/regress/regress-5174.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698