Remove the last uses of goog.dom.classes.
As a positive side effect goog.dom.getAncestorByTagNameAndClass now supports SVG elements.

I tried to remove goog.require('goog.dom.classes'), but it mysteriously broke savedcaretrange_test in IE7. There may also be a few projects that use goog.dom.classes, but only depend on it through goog.dom.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=68019855
Automated g4 rollback of changelist 68019855.

*** Reason for rollback ***

This CL breaks the gmail build:

*** Original change description ***

Remove the last uses of goog.dom.classes.
As a positive side effect goog.dom.getAncestorByTagNameAndClass now supports SVG elements.

I tried to remove goog.require('goog.dom.classes'), but it mysteriously broke savedcaretrange_test in IE7. There may also be a few projects that use goog.dom.classes, but only depend on it through goog.dom.

***
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=68051621
Let SafeHtml.EMPTY compile to an empty string.

JSCompiler creates something like this for the current code:

var textAsString = "".implementsGoogStringTypedString ? "".getTypedStringValue() : "";
// ...

I'm not sure if it's a bug or a feature but this change fixes the problem too and it doesn't look significantly worse.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=68056776
Implement JsUnit Environments.

Summary: JsUnit environments provide an abstraction for modifying the lifecycle of basic JsUnit tests by patching the existing setUp(Page)/tearDown(Page) methods with additional logic that can be shared across multiple tests.

Design doc: https://docs.google.com/a/google.com/document/d/1SRh0ZRr1NYmtoJD8GNnJA-0qkiq_0b7GIXzo4JKrHq8/
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=68057562
Use SafeHtml in annotate.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=68062812
Remove innerHTML assignment in linkdialog.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=68065992
Make annotate callback type definition stricter.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=68105250
Add RIGHTCLICK to goog.events.eventtype. (used in google maps api).
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=68119675
Automated g4 rollback of changelist 67269314.

*** Reason for rollback ***

This is causing weird issues with sha1 encryption on kindle fire and several other 4.0.2 and 4.0.3 android devices.

*** Original change description ***

Performance optimization.  Use typed arrays, insert additional
'| 0' integer casts to reduce double to/from int conversions,
and make compress_ monomorphic (only accept arrays).  Improves
perf_sha1.html throughput by 15-100% on Firefox and 40-70% on Chrome
depending upon benchmark.  Closure compiler optimized code shows
comparable performance increases.

***
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=68138046
Make filtered menu preserve accelerators.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=68188963
goog.labs.net.xhr: make usable from web workers.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=68376199
Enable goog.ui.ButtonRenderer to clear button tooltips.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=68442342
Remove the test that checks whether goog.dom.createDom deduplicates class names.
It didn't promise deduplication and doesn't do that consistently.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=68461064