Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add Proxy, WeakMap, Set, and Map to list of known globals so testing …

…with --harmony is possible.
  • Loading branch information...
commit bae19ced54fac13d85e2bf36c7fdf8fbd9c34d65 1 parent 8804b36
Brandon Benvie authored
Showing with 14 additions and 0 deletions.
  1. +14 −0 test/common.js
14 test/common.js
View
@@ -119,6 +119,20 @@ process.on('exit', function() {
knownGlobals.push(DataView);
}
+ if (global.Proxy) {
+ knownGlobals.push(Proxy);
+ }
+
+ if (global.WeakMap) {
+ knownGlobals.push(WeakMap);
+ }
+
+ if (global.Map) {
+ knownGlobals.push(Map);
+ knownGlobals.push(Set);
+ }
+
+
for (var x in global) {
var found = false;
Please sign in to comment.
Something went wrong with that request. Please try again.