DescriptionWhen running a simple event handler function call, don't pass more
arguments than the parsed call requested, by passing
plugin_dispatchEvent___ an argument count. (It was tempting to add a
generalized mechanism for allowing reordered and constant arguments,
but that would just be enhancing ES5/3 while we're trying to move away
from it.)
Incidental test suite fix: testExceptionInEventHandler does not
install an onerror handler until it is about to be invoked, so that
unexpected errors from other tests are not interfered with.
Fixes <https://code.google.com/p/google-caja/issues/detail?id=1483>.
@r5386
Patch Set 1 #Patch Set 2 : Don't pass extra arguments to simple event handlers. #MessagesTotal messages: 5
|