Automated g4 rollback of changelist 80223252.

*** Reason for rollback ***

New compiler release has gone out.

*** Original change description ***

Quote displayName property, to fix open source version of Closure until the
next release of the Closure Compiler.

***
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=80847251
Add goog.html.silverlight.createObject() for creating <object> for Silverlight.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81150033
Avoid deopts in goog.base which shows up in profiles of uncompiled code a lot. Brings perf of compiled code more in line with uncompiled code.

See cr/80683109 for a related change.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81157343
Add a flag to Closure that can be set by code that does not want to co-exist with test code.

This allows goog.setTestOnly to throw errors in uncompiled code in projects that choose to set the flag.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81172663
Tighten type to improve type inference.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81172864
Adds accessible labeling to the text fields in the link dialog.

Note: The ids should be created and used together with makeId() and getElementByFragment() but sadly they need to be kept in sync with https://cs.corp.google.com/#piper///depot/google3/java/com/google/documentsuggest/client/scribe/trogedit/linkdialogplugin.js&q=goog.ui.editor.LinkDialog.Id_&dr=C&l=366. While this design is flawed nobody complained about it and this CL does not add to the injury. Having these input fields labelled would be an a11y win for all products using the link dialog.

Depends on CL 81139033 (genjsdeps.sh).
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81173633
goog.debug.LogRecord: remove exceptionText_.

Currently, LogRecord has an exception_ field and a related exceptionText_ field that can be trivially reconstructed from exception_.

cl/80209863 proposed adding a new exceptionStackTrace_ field to LogRecord. In a comment to that CL, I suggested removing all exception presentation details from LogRecord, including exceptionText_ and exceptionStackTrace_. Callers should be able to retrieve the basic exception_ object from the LogRecord and format it however they want.

I asked on closure-tech if anyone objected to this change, and no one did.

Over the last week, I've removed all callers of getExceptionText and setExceptionText outside of Closure (cl/80740442, cl/80509605, cl/80504568, cl/80502571).

This CL removes all remaining uses of those methods from Closure, and deletes the underlying field.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81254136
Replace string concatenation and use of innerHTML in goog.dom.createTable() with goog.html.SafeHtml and goog.dom.safe.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81259008
Automated g4 rollback of changelist 81259008.

*** Reason for rollback ***

Increased GWS JS codesize by a significant amount

*** Original change description ***

Replace string concatenation and use of innerHTML in goog.dom.createTable() with goog.html.SafeHtml and goog.dom.safe.

***
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81274094
Automated g4 rollback of changelist 81254136.

*** Reason for rollback ***

causes Caribou FF tests to time out

*** Original change description ***

goog.debug.LogRecord: remove exceptionText_.

Currently, LogRecord has an exception_ field and a related exceptionText_ field that can be trivially reconstructed from exception_.

cl/80209863 proposed adding a new exceptionStackTrace_ field to LogRecord. In a comment to that CL, I suggested removing all exception presentation details from LogRecord, including exceptionText_ and exceptionStackTrace_. Callers should be able to retrieve the basic exception_ object from the LogRecord and format it h...

***
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81280564
Introduce goog.dom.safeHtmlToNode.

This doesn't use a legacy conversion for goog.dom.htmlToDocumentFragment because some applications using it don't allow legacy conversions.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81285427
Use safeHtmlToNode instead of htmlToDocumentFragment.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81291198
Allows leading/trailing whitespace when creating a link from text
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81323104
Roll-forward 81254136 (goog.debug.LogRecord: remove exceptionText_).

The original CL was rolled back (cl/81280564) after causing test timeouts in Firefox.

The Firefox test timeouts were fixed in cl/81289245, so the original CL should be safe to roll forward now.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81342571
Kill duplicated code in useragenttestutil.js
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81342783
Change goog.ui.Button to listen for goog.events.KeyHandler.EventType.KEY events on SPACE instead of goog.events.EventType.KEYUP events. This fixes an issue where hitting SPACE on a button inside of a goog.ui.Container (ex. toolbar) does not trigger the button, since goog.ui.Container does not listen for goog.events.EventType.KEYUP events (only goog.events.KeyHandler.EventType.KEY).

As an FYI, the change to listen for KEYUP events for SPACE happened in cr/8612470 to fix  b/1397374. But since the goog.events.KeyHandler that goog.ui components use bundles up all of the key events into one single goog.events.KeyHandler.EventType.KEY event, this is probably what we should be looking for instead.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81383445
Correct previously undetected type error
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81387244
Move mockControl.$tearDown from tearDownPage to tearDown.

When the environment creates a mockControl object, it should take full ownership of it and manage its state correctly. Previously it could happen that one test affected another because the mockControl.$tearDown was not automatically executed on env.tearDown.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81402364
Update depswriter for goog.module.

Fixes #382 on github
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81435962
Automated g4 rollback of changelist 81383445.

*** Reason for rollback ***

Breaks i18n address widget

*** Original change description ***

Change goog.ui.Button to listen for goog.events.KeyHandler.EventType.KEY events on SPACE instead of goog.events.EventType.KEYUP events. This fixes an issue where hitting SPACE on a button inside of a goog.ui.Container (ex. toolbar) does not trigger the button, since goog.ui.Container does not listen for goog.events.EventType.KEYUP events (only goog.events.KeyHandler.EventType.KEY).

As an FYI, the change to listen for KEYUP events for SPACE happened in cr/8612470 to fix  b/1397374. But since the...

***
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=81437164