Chromium Code Reviews

Unified Diff: src/js/proxy.js

Issue 1530293004: [proxies] Better print for proxies in d8 (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: do not expose intrinsics directly Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: src/js/proxy.js
diff --git a/src/js/proxy.js b/src/js/proxy.js
index b859415f0672238878487ea3ab7b9cb217c6fa34..842bac02525dfba5af65c4f753b4a9582ff74d00 100644
--- a/src/js/proxy.js
+++ b/src/js/proxy.js
@@ -22,7 +22,7 @@ utils.Import(function(from) {
function ProxyCreateRevocable(target, handler) {
var p = new GlobalProxy(target, handler);
- return {proxy: p, revoke: () => %RevokeProxy(p)};
+ return {proxy: p, revoke: () => %JSProxyRevoke(p)};
}
// -------------------------------------------------------------------
« src/d8.js ('K') | « src/js/object-observe.js ('k') | src/js/v8natives.js » ('j') | no next file with comments »

Powered by Google App Engine