Fix code sample to correctly reference foo.bar.Person datatype.
@@ -10256,17 +10256,18 @@ goog.html.SafeUrl.prototype.getDirection = function() {
if (goog.DEBUG) {
/**
- * Returns a debug string-representation of this value.
+ * Returns a string-representation of this value.
*
* To obtain the actual string value wrapped in a SafeUrl, use
* `goog.html.SafeUrl.unwrap`.
*
+ * @return {string}
* @see goog.html.SafeUrl#unwrap
* @override
*/
goog.html.SafeUrl.prototype.toString = function() {
'use strict';
- return 'SafeUrl{' + this.privateDoNotAccessOrElseSafeUrlWrappedValue_ + '}';
+ return this.privateDoNotAccessOrElseSafeUrlWrappedValue_.toString();
};
}
@@ -15366,6 +15367,7 @@ goog.dom.safe.setNonceForScriptElement_ = function(script) {
* assigned to.
* @param {string|!goog.html.SafeUrl} url The URL to assign.
* @see goog.html.SafeUrl#sanitize
+
*/
goog.dom.safe.setLocationHref = function(loc, url) {
'use strict';
