Skip to content

Commit

Permalink
Add test to assert Reflect.enumerate is now undefined
Browse files Browse the repository at this point in the history
Ref #495
  • Loading branch information
leobalter committed Feb 18, 2016
1 parent 9a9c72f commit b1ac539
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions test/built-ins/Proxy/enumerate/removed-does-not-trigger.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
/* global assert */
// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
Expand Down
10 changes: 10 additions & 0 deletions test/built-ins/Reflect/enumerate/undefined.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
// Copyright (C) 2016 the V8 project authors. All rights reserved.
// This code is governed by the BSD license found in the LICENSE file.
/*---
id: sec-reflect-object
description: >
Reflect.enumerate was removed and it's not a function anymore
---*/

assert.sameValue(Reflect.hasOwnProperty("enumerate"), false);
assert.sameValue(Reflect.enumerate, undefined);

0 comments on commit b1ac539

Please sign in to comment.