mirror of
https://github.com/google/nomulus
synced 2026-01-10 16:00:52 +00:00
Use goog.html.testing instead of legacy conversions in test
Tested:
TAP --sample for global presubmit queue
[] dr-foss-test passes
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=225189790
This commit is contained in:
@@ -21,7 +21,7 @@ goog.require('goog.dom.classlist');
|
||||
goog.require('goog.dom.xml');
|
||||
goog.require('goog.events.EventType');
|
||||
goog.require('goog.format.JsonPrettyPrinter');
|
||||
goog.require('goog.html.legacyconversions');
|
||||
goog.require('goog.html.testing');
|
||||
goog.require('goog.json');
|
||||
goog.require('goog.testing.asserts');
|
||||
goog.require('goog.testing.events');
|
||||
@@ -36,7 +36,7 @@ goog.require('goog.testing.net.XhrIo');
|
||||
registry.testing.addToDocument = function(html) {
|
||||
goog.global.document.body.appendChild(
|
||||
goog.dom.safeHtmlToNode(
|
||||
goog.html.legacyconversions.safeHtmlFromString(html)));
|
||||
goog.html.testing.newSafeHtmlForTest(html)));
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user