Extend PerformanceTimer to support asynchronous test functions.

Note that I checked that {function()} is considered a subtype of
{function(function()=)} by the Closure compiler, so the type change of
the test function should be safe.

R=nicksantos,zachlloyd
DELTA=205  (175 added, 9 deleted, 21 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5722


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

Introduce alternative to goog.dom.classes:  goog.dom.classlist that is ideally a thin wrapper around Element.classList (DOMTokenList)

R=gboyer,arv
DELTA=401  (401 added, 0 deleted, 0 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5723


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

Remove the header:
<meta http-equiv="X-UA-Compatible" content="IE=edge">
from the tests that want to exercise quirks mode.
Found while working on a pending cl.

R=chrishenry
DELTA=14  (0 added, 6 deleted, 8 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5724


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

Correct function signature for goog.object.filter and goog.object.some

R=gboyer
DELTA=2  (0 added, 0 deleted, 2 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5725


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

Automated g4 rollback 

*** Reason for rollback ***

broke things

*** Original change description ***

Correct function signature for goog.object.filter and goog.object.some


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5726


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

Automated g4 rollback

*** Reason for rollback ***

Revealed problem was fixed.

*** Original change description ***

Automated g4 rollback

*** Reason for rollback ***

broke things

*** Original change description ***

Correct function signature for goog.object.filter and goog.object.some

R=gboyer
DELTA=2  (0 added, 0 deleted, 2 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5727


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

Fix some code which I suspect was leading to the browser channel sometimes publishing bogus server reachability events.  ChannelRequest was reading an XhrIo's http status code without checking that it had raised an http status error.

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


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5728


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

The JSCompiler is going to start validate where @type annotations are
allowed and this requires being stricter about casts.  Casts should be
in the form of "/** @type {TypeName} */ (expr)".


R=gboyer
DELTA=10  (0 added, 0 deleted, 10 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5729


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

The responseArray can be null, which causes js errors.

R=dbk
DELTA=9  (4 added, 0 deleted, 5 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5730


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

goog.soy to check that templates are either returning string or
SanitizedHtml and not other types.

Add an @define for projects to force Strict mode.

Move soydata.SanitizedContentKind definitions into Closure's Soy
directory goog.soy can depend on it.  Have soydata.SanitizedContentKind
just alias the goog.soy.data.SanitizedContentKind.  This is how other
Soy primitives work in Closure.

R=kai
DELTA=478  (367 added, 94 deleted, 17 changed)


Revision created by MOE tool push_codebase.
MOE_MIGRATION=5731


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