Add goog.testing.events.mixinListenable to allow mixing in
listenable capability to objects in tests. This can be used to
make mock object be able to also handle events properly.

R=nicksantos
DELTA=99 (93 added, 2 deleted, 4 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6231


git-svn-id: http://closure-library.googlecode.com/svn/trunk@2490 0b95b8e8-c90f-11de-9d4f-f947ee5921c8
Remove double goog.require of goog.events.Listenable.

R=dpapad
DELTA=4 (1 added, 2 deleted, 1 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6232


git-svn-id: http://closure-library.googlecode.com/svn/trunk@2491 0b95b8e8-c90f-11de-9d4f-f947ee5921c8
Fix an issue where getScrollLeft() returns an incorrect value in
non-gecko/non-IE browsers (e.g. Webkit) when the element has overflow
visible.

R=nicksantos
DELTA=27 (25 added, 0 deleted, 2 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6233


git-svn-id: http://closure-library.googlecode.com/svn/trunk@2492 0b95b8e8-c90f-11de-9d4f-f947ee5921c8
Fixed tests that will be broken by goog.events refactoring,
which is reversing the role of goog.events and
goog.events.EventTarget. goog.events now delegate to
goog.events.EventTarget.

The fixes are usually variations of the following issues:
1) Use-after-dispose of an event target -- this no longer works.
2) Overly strick mock -- we now may call methods such as listen,
listenOnce, etc. on the event target.
3) Improperly set up mock -- if a mock is passed to e.g.
goog.events.listen before calling $replay, it will
incorrectly sets up expectation for listen() calls (because
goog.events.listen now calls EventTarget#listen).
4) Wrong calls/parameters in the first place. (EventTarget is
slightly stricter than goog.events.)

If you are unsure about what problem I am fixing exactly, feel
free to ping me on the CL thread.

This is part of goog.events leaking listeners clean up effort.

R=loreena
DELTA=1 (1 added, 0 deleted, 0 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6234


git-svn-id: http://closure-library.googlecode.com/svn/trunk@2493 0b95b8e8-c90f-11de-9d4f-f947ee5921c8
Add the ability to specify the current intended filename via a global
variable to goog.debug and change the module compiler to set this
when compiling in the "one eval per file mode".

This improves error reporting in the case of syntax errors, which happen
before the //@ sourceURL annotation in the eval is parsed.

R=nicksantos
DELTA=8 (5 added, 0 deleted, 3 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6235


git-svn-id: http://closure-library.googlecode.com/svn/trunk@2494 0b95b8e8-c90f-11de-9d4f-f947ee5921c8
Fixed missing required statements for goog.a11y.aria.State and goog.a11y.aria.Role (and goog.a11y.aria).
This is required because a following step in the goog.a11y.aria
refactoring is to split the goog.a11y.aria.Role and goog.a11y.aria.State in separate files.
A further refactoring will be to autogenerate the enums, so they should not be mixed with
not autogenerated content.
This change should not affect any BUILD files, as the goog.a11y.aria.State and goog.a11y.aria.Role are still
in the aria.js file. The next change will affect only BUILD files.
The changes are made by applying sed replacement transformations, so please double check the additions.


Thanks a lot for your cooperation!

Nelly

R=dnadasi
DELTA=2 (1 added, 0 deleted, 1 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=6236


git-svn-id: http://closure-library.googlecode.com/svn/trunk@2495 0b95b8e8-c90f-11de-9d4f-f947ee5921c8