Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

updated README of Notification proxies with pros and cons

  • Loading branch information...
commit e0110a430f965de5d0ac52be43dc488f4e819b3b 1 parent 895ec72
@tvcutsem authored
Showing with 5 additions and 2 deletions.
  1. +5 −2 notification/
7 notification/
@@ -17,7 +17,9 @@ Pre-trap generic signature:
Post-trap generic signature:
`function(target, result) -> void`
-API of notification proxy handlers:
+Notification Proxy Handler API
onGetOwnPropertyDescriptor: function(target,name) // post-trap receives copy of the returned descriptor
onGetOwnPropertyNames: function(target) // post-trap receives copy of the returned array
@@ -41,7 +43,8 @@ onApply: function(target,thisArg,args)
onConstruct: function(target,args)
-== Why Notification Proxies? ==
+Why Notification Proxies?
* They avoid the need for costly invariant enforcement checks
* They forward operations automatically (no need for traps to forward manually to the target object)
Please sign in to comment.
Something went wrong with that request. Please try again.