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

Issue 88115: document.documentElement.innerHTML has a weird value (Closed)

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

Description

If you cajole this in the testbed <script>document.documentElement.innerHTML</script> you get back a weird value: "<head>function () {\n return this.innerHTMLGetter___();\n}</head><body></body>" This change fixes it.

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -1 line) Patch
M src/com/google/caja/plugin/domita.js View 1 chunk +2 lines, -1 line 1 comment Download
M tests/com/google/caja/plugin/domita_test_untrusted.html View 1 chunk +4 lines, -0 lines 0 comments Download

Messages

Total messages: 2
felix8a
16 years, 9 months ago (2009-07-07 00:29:49 UTC) #1
ihab.awad
16 years, 9 months ago (2009-07-08 05:54:16 UTC) #2
LGTM

http://codereview.appspot.com/88115/diff/1/3
File src/com/google/caja/plugin/domita.js (right):

http://codereview.appspot.com/88115/diff/1/3#newcode2964
Line 2964: return ('<head>' + tameHeadElement.getInnerHTML()
Yablast!
Sign in to reply to this message.

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