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

Issue 95044: allow window.addEventListener for events other than load (Closed)

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

Description

currently, window.addEventListener only works for 'load'. this change adds support for all the other valid events. I don't know how to add a test for this.

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+14 lines, -8 lines) Patch
M src/com/google/caja/plugin/domita.js View 1 chunk +14 lines, -8 lines 0 comments Download

Messages

Total messages: 2
felix8a
16 years, 10 months ago (2009-07-15 11:17:28 UTC) #1
ihab.awad
16 years, 10 months ago (2009-07-15 17:52:58 UTC) #2
LGTM++

For a test, could you add an event listener then dispatchEvent?

If no test, please add a TODO in the source saying we need some testing!
Sign in to reply to this message.

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