Prototype functional tests for the Event module

log empty

A basic event test - click here

click to stop observing the first test

click to ensure generic Event methods work on inline handlers

Scope test - scope of the handler should be this element

Event object test - should be present as a first argument

Hijack link test (preventDefault)


Mouse click: left middle right

Context menu event (tries to prevent default)

Event.element() test

Event.currentTarget test

Event.findElement() test

Stop propagation test (bubbling)

Keyup test - focus on the textarea and type

bindAsEventListener() test

Object.inspect(event) test

Add unload events