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

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. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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
This is Rietveld 408576698