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

Unified Diff: third_party/WebKit/Source/devtools/front_end/platform/utilities.js

Issue 2418813005: DevTools: [Persistence] implement automapping (Closed)
Patch Set: address comments Created 4 years, 2 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: third_party/WebKit/Source/devtools/front_end/platform/utilities.js
diff --git a/third_party/WebKit/Source/devtools/front_end/platform/utilities.js b/third_party/WebKit/Source/devtools/front_end/platform/utilities.js
index 0b72d6ab0856ab52c0802eb251a6c7d37af0d968..0601d43581b0125da4e07f008e1f60b54b105159 100644
--- a/third_party/WebKit/Source/devtools/front_end/platform/utilities.js
+++ b/third_party/WebKit/Source/devtools/front_end/platform/utilities.js
@@ -69,6 +69,14 @@ String.prototype.findAll = function(string)
/**
* @return {string}
*/
+String.prototype.reverse = function()
+{
+ return this.split("").reverse().join("");
+}
+
+/**
+ * @return {string}
+ */
String.prototype.replaceControlCharacters = function()
{
// Replace C0 and C1 control character sets with printable character.

Powered by Google App Engine
This is Rietveld 408576698