Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(15)

Unified Diff: chrome/browser/resources/chromeos/chromevox/common/chromevox_json.js

Issue 2757623003: Initial support for accessible text fields and focus tracking in ARC++ (Closed)
Patch Set: Address nits. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/resources/chromeos/chromevox/common/chromevox_json.js
diff --git a/chrome/browser/resources/chromeos/chromevox/common/chromevox_json.js b/chrome/browser/resources/chromeos/chromevox/common/chromevox_json.js
index 96c78ca9f31ed05da13d6217c3e39d17f5846233..6f65d54f1816a2755d3cd53003e0602adf0e5b40 100644
--- a/chrome/browser/resources/chromeos/chromevox/common/chromevox_json.js
+++ b/chrome/browser/resources/chromeos/chromevox/common/chromevox_json.js
@@ -55,9 +55,9 @@ if (window.JSON && window.JSON.toString() == '[object JSON]') {
f(this.getUTCSeconds()) + 'Z' : 'null';
};
- String.prototype.toJSON =
+ Boolean.prototype.toJSON =
Number.prototype.toJSON =
- Boolean.prototype.toJSON = function(key) {
+ String.prototype.toJSON = function(key) {
return /** @type {string} */ (this.valueOf());
};
}

Powered by Google App Engine
This is Rietveld 408576698