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

Issue 8783043: [APICHANGE] HtmlEmitter: Emit real <script> elements in ES5 mode. (Closed)

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

Description

Changes: * <script> element processing (including execution) happens within insertion mode logic rather than before. This means that an implicit <html> and <head> will be constructed if they have not (fixes issue <https://code.google.com/p/google-caja/issues/detail?id=1628>). * <script> elements will appear as DOM nodes as well as being executed. Their text content is not yet preserved. Impact: * <script> elements are now present (in ES5 mode) where they were discarded before (in all modes), which may confuse code written for prior versions of Caja which manipulates the DOM from within a <script> element. * Some unexplained regressions in jQuery and jQuery UI tests. @r5358

Patch Set 1 #

Total comments: 10

Patch Set 2 : [APICHANGE] HtmlEmitter: Emit real <script> elements in ES5 mode. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+209 lines, -77 lines) Patch
M src/com/google/caja/plugin/domado.js View 1 1 chunk +1 line, -0 lines 0 comments Download
M src/com/google/caja/plugin/html-emitter.js View 1 10 chunks +139 lines, -43 lines 0 comments Download
M tests/com/google/caja/plugin/JQueryTest.java View 1 5 chunks +5 lines, -5 lines 0 comments Download
M tests/com/google/caja/plugin/JQueryUITest.java View 1 3 chunks +3 lines, -3 lines 0 comments Download
M tests/com/google/caja/plugin/es53-test-domado-dom-guest.html View 1 7 chunks +34 lines, -10 lines 0 comments Download
M tests/com/google/caja/plugin/es53-test-domado-global.js View 1 2 chunks +27 lines, -16 lines 0 comments Download

Messages

Total messages: 5
kpreid2
12 years, 11 months ago (2013-04-15 23:23:59 UTC) #1
ihab.awad
lgtm https://codereview.appspot.com/8783043/diff/1/src/com/google/caja/plugin/html-emitter.js File src/com/google/caja/plugin/html-emitter.js (right): https://codereview.appspot.com/8783043/diff/1/src/com/google/caja/plugin/html-emitter.js#newcode517 src/com/google/caja/plugin/html-emitter.js:517: // TODO(kpreid): This is pulled out as part ...
12 years, 11 months ago (2013-04-17 00:00:59 UTC) #2
kpreid2
Changes: * <script> element processing (including execution) happens within insertion mode logic rather than before. ...
12 years, 11 months ago (2013-04-17 17:08:28 UTC) #3
kpreid2
https://codereview.appspot.com/8783043/diff/1/src/com/google/caja/plugin/html-emitter.js File src/com/google/caja/plugin/html-emitter.js (right): https://codereview.appspot.com/8783043/diff/1/src/com/google/caja/plugin/html-emitter.js#newcode517 src/com/google/caja/plugin/html-emitter.js:517: // TODO(kpreid): This is pulled out as part of ...
12 years, 11 months ago (2013-04-17 17:08:39 UTC) #4
ihab.awad
12 years, 11 months ago (2013-04-17 17:44:53 UTC) #5
lgtm
Sign in to reply to this message.

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