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

Issue 115084: allow <img onload=...> (Closed)

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

Description

html4 only defines the onload= attribute for a few elements. html5 defines onload= for all elements. in particular, <img onload=...> is useful and supported by most browsers. this change defines *::ONLOAD and adds it to the whitelist.

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -2 lines) Patch
M src/com/google/caja/lang/html/html4-attributes-extensions-defs.json View 1 chunk +13 lines, -2 lines 1 comment Download

Messages

Total messages: 8
felix8a
16 years, 6 months ago (2009-09-10 04:56:38 UTC) #1
MikeSamuel
http://codereview.appspot.com/115084/diff/1/2 File src/com/google/caja/lang/html/html4-attributes-extensions-defs.json (right): http://codereview.appspot.com/115084/diff/1/2#newcode16 Line 16: ], The javascript port scanner at http://www.securiteam.com/exploits/5DP010KJFE.html uses ...
16 years, 6 months ago (2009-09-10 16:59:27 UTC) #2
felix8a
On 2009/09/10 16:59:27, MikeSamuel wrote: > http://codereview.appspot.com/115084/diff/1/2 > File src/com/google/caja/lang/html/html4-attributes-extensions-defs.json > (right): > > http://codereview.appspot.com/115084/diff/1/2#newcode16 ...
16 years, 6 months ago (2009-09-10 19:51:21 UTC) #3
MikeSamuel
I was using the term "port scanning" incorrectly. I meant any kind of local network ...
16 years, 6 months ago (2009-09-10 20:08:28 UTC) #4
felix8a
> The linked code does use onload: > img.onload = img.onerror; > I think it ...
16 years, 6 months ago (2009-09-10 20:19:38 UTC) #5
MikeSamuel
LGTM
16 years, 6 months ago (2009-09-10 20:20:57 UTC) #6
felix8a
On 2009/09/10 20:20:57, MikeSamuel wrote: > LGTM @r3721
16 years, 6 months ago (2009-09-10 20:56:37 UTC) #7
felix8a
16 years, 6 months ago (2009-09-10 20:56:37 UTC) #8
On 2009/09/10 20:20:57, MikeSamuel wrote:
> LGTM

@r3721
Sign in to reply to this message.

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