Make goog.async.Deferred throw an UnhandledError if there is an unhandled exception.,

Use this Error in closure's errorreporter in order to propagate the original error.

R=brenneman,nweiz,mknichel
DELTA=67  (47 added, 6 deleted, 14 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4402


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

Clean up Result tests and use MockClock instead of asyncTestCase.

R=nnaze
DELTA=188  (62 added, 37 deleted, 89 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4403


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

First implementation of goog.labs.async.chain

R=nnaze
DELTA=258  (257 added, 0 deleted, 1 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4404


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

Initial implementation of goog.labs.async.transform

R=nnaze
DELTA=200  (200 added, 0 deleted, 0 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4405


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

Add removeInstanceForWindow() function to clean up the windowInstanceMap_ when the window being monitored is disposed.

R=chrishenry
DELTA=28  (28 added, 0 deleted, 0 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4406


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

Added a @noflip annotation to the new menuitem RTL styles so they aren't changed by the CSS compiler.

R=chrishenry,efernandez
DELTA=18  (17 added, 0 deleted, 1 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4407


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

Add defaultPrevented property (implemented in DOM Level 3 as documented here:http://www.w3.org/TR/DOM-Level-3-Events/#events-event-type-defaultPrevented) to goog.events.Event

R=nnaze,arv
DELTA=46  (43 added, 0 deleted, 3 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4408


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

Remove the redundant isDefaultPrevented method.

R=loreena,nnaze,arv
DELTA=19  (3 added, 10 deleted, 6 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4409


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

Clean up combine tests to use goog.testing.MockClock instead of goog.testing.AsyncTestCase. Also abstract out boilerplate.

R=nnaze
DELTA=319  (316 added, 0 deleted, 3 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4412


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

Make goog.ui.Component.prototype.removeChildren return the children that were removed.

R=chrishenry
DELTA=50  (46 added, 0 deleted, 4 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4413


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

Put a try block around the invokation of the callbacks, so we can clean
up the XHR even if one of the callbacks throws an exception.

R=arv
DELTA=34  (23 added, 2 deleted, 9 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=4414


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