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

Issue 10266: Implement cloneNode for DOMita. (Closed)

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

Description

Adds cloneNode code to DOMita that copies over custom properties, and information necessary to remove listeners, and implements a cloneNode operation in bridal to work around problems in IE.

Patch Set 1 #

Patch Set 2 : Implement cloneNode for DOMita. #

Patch Set 3 : Implement cloneNode for DOMita. #

Patch Set 4 : Implement cloneNode for DOMita. #

Patch Set 5 : Implement cloneNode for DOMita. #

Patch Set 6 : Implement cloneNode for DOMita. #

Patch Set 7 : Implement cloneNode for DOMita. #

Patch Set 8 : Implement cloneNode for DOMita. #

Patch Set 9 : Implement cloneNode for DOMita. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+561 lines, -66 lines) Patch
M src/com/google/caja/parser/quasiliteral/CajitaRewriter.java View 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/com/google/caja/parser/quasiliteral/DefaultValijaRewriter.java View 2 3 1 chunk +1 line, -1 line 0 comments Download
M src/com/google/caja/parser/quasiliteral/Rule.java View 2 3 2 chunks +2 lines, -2 lines 0 comments Download
M src/com/google/caja/plugin/bridal.js View 1 2 3 4 chunks +151 lines, -9 lines 0 comments Download
M src/com/google/caja/plugin/domita.js View 1 2 3 4 5 6 7 26 chunks +124 lines, -40 lines 0 comments Download
M tests/com/google/caja/plugin/domita_test_untrusted.html View 1 2 3 4 5 6 5 chunks +253 lines, -9 lines 0 comments Download
M tests/com/google/caja/plugin/jsunit.js View 2 3 1 chunk +29 lines, -4 lines 0 comments Download

Messages

Total messages: 9
MikeSamuel
17 years, 12 months ago (2008-12-10 06:09:50 UTC) #1
metaweta
http://codereview.appspot.com/10266/diff/1/4 File src/com/google/caja/plugin/bridal.js (right): http://codereview.appspot.com/10266/diff/1/4#newcode136 Line 136: console.log('CN3'); remove debug code http://codereview.appspot.com/10266/diff/1/3 File src/com/google/caja/plugin/domita.js (right): ...
17 years, 12 months ago (2008-12-10 17:24:49 UTC) #2
MikeSamuel
Fixed all the issues you identified, fleshed out test cases, and implemented a cloneNode that ...
17 years, 11 months ago (2008-12-12 07:07:44 UTC) #3
metaweta
Thanks, Mike! This looks great, and will help a lot. The only really substantive comment ...
17 years, 11 months ago (2008-12-12 18:51:28 UTC) #4
MikeSamuel
http://codereview.appspot.com/10266/diff/402/17 File src/com/google/caja/plugin/bridal.js (right): http://codereview.appspot.com/10266/diff/402/17#newcode229 Line 229: case 'string': case 'number': case 'boolean': Removed code ...
17 years, 11 months ago (2008-12-12 21:57:29 UTC) #5
MikeSamuel
I synced and picked up some changes to getAttribute/hasAttribute that broke tests on IE. I ...
17 years, 11 months ago (2008-12-12 23:18:38 UTC) #6
metaweta
LGTM modulo nits below. http://codereview.appspot.com/10266/diff/605/1016 File src/com/google/caja/plugin/domita.js (right): http://codereview.appspot.com/10266/diff/605/1016#newcode207 Line 207: } else if (typeof ...
17 years, 11 months ago (2008-12-12 23:46:22 UTC) #7
MikeSamuel
Changed to return null consistently for getAttribute on an unspecified&undefaulted or non-existent attribute on IE. ...
17 years, 11 months ago (2008-12-13 00:12:09 UTC) #8
MikeSamuel
17 years, 11 months ago (2008-12-13 00:50:54 UTC) #9
@3132
Sign in to reply to this message.

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