Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(89)

Issue 8700044: Remove ExpandoProxyHandler. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 10 months ago by kpreid2
Modified:
12 years, 10 months ago
CC:
google-caja-discuss_googlegroups.com
Base URL:
http://google-caja.googlecode.com/svn/trunk/
Visibility:
Public.

Description

ExpandoProxyHandler gives no benefit in the current taming architecture; it is a relic of times when we were supporting the notion of multiple views of the same feral DOM node which should share properties, and this capability is never used in the current architecture (and was only present on proxy-supporting platforms). Instead, the only Domado objects wrapped in proxies are those which need it (e.g. <form> elements' nodelistiness). The WeakMap support magic has a new home in ProxyHandler. Rough benchmarks: in ES5 mode, jQuery test 'traversing' takes 87% of its previous execution time, and 'manipulation' 80%. @r5393

Patch Set 1 #

Total comments: 4

Patch Set 2 : Remove ExpandoProxyHandler. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+131 lines, -310 lines) Patch
M src/com/google/caja/plugin/domado.js View 1 21 chunks +117 lines, -310 lines 0 comments Download
M tests/com/google/caja/plugin/es53-test-domado-dom-guest.html View 1 1 chunk +14 lines, -0 lines 0 comments Download

Messages

Total messages: 9
kpreid2
12 years, 10 months ago (2013-04-30 00:12:22 UTC) #1
ihab.awad
lgtm++ Please don't forget to add to the CL description some benchmarks of before and ...
12 years, 10 months ago (2013-04-30 17:09:27 UTC) #2
kpreid2
ExpandoProxyHandler gives no benefit in the current taming architecture; it is a relic of times ...
12 years, 10 months ago (2013-04-30 18:57:46 UTC) #3
kpreid2
New snapshot. https://codereview.appspot.com/8700044/diff/1/src/com/google/caja/plugin/domado.js File src/com/google/caja/plugin/domado.js (right): https://codereview.appspot.com/8700044/diff/1/src/com/google/caja/plugin/domado.js#newcode612 src/com/google/caja/plugin/domado.js:612: var weakMapMagicName = {}; On 2013/04/30 17:09:27, ...
12 years, 10 months ago (2013-04-30 18:57:52 UTC) #4
Mark S. Miller
On Tue, Apr 30, 2013 at 11:57 AM, <kpreid.switchb.org@gmail.com> wrote: > New snapshot. > > ...
12 years, 10 months ago (2013-04-30 22:13:25 UTC) #5
kpreid2
On 2013/04/30 22:13:25, Mark S. Miller wrote: > On Tue, Apr 30, 2013 at 11:57 ...
12 years, 10 months ago (2013-04-30 22:21:53 UTC) #6
MarkM
If you do it, I'll review it carefully. On Tue, Apr 30, 2013 at 3:21 ...
12 years, 10 months ago (2013-04-30 22:25:05 UTC) #7
kpreid2
On 2013/04/30 17:09:27, ihab.awad wrote: > Please don't forget to add to the CL description ...
12 years, 10 months ago (2013-05-02 19:04:18 UTC) #8
ihab.awad
12 years, 10 months ago (2013-05-02 19:40:24 UTC) #9
lgtm++
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b