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

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

Issue 1805763002: [DevTools] Do not linkify relative urls. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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: 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 803caaf1eeae8a5370ced9c636ce15618ecc11cd..787abf362a2f8af94baeee0736fe6f4f83678ce6 100644
--- a/third_party/WebKit/Source/devtools/front_end/platform/utilities.js
+++ b/third_party/WebKit/Source/devtools/front_end/platform/utilities.js
@@ -287,15 +287,6 @@ String.prototype.compareTo = function(other)
}
/**
- * @param {string} href
- * @return {?string}
- */
-function sanitizeHref(href)
-{
- return href && href.trim().toLowerCase().startsWith("javascript:") ? null : href;
-}
-
-/**
* @return {string}
*/
String.prototype.removeURLFragment = function()

Powered by Google App Engine
This is Rietveld 408576698