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

Unified Diff: third_party/WebKit/LayoutTests/inspector/components/linkifier.html

Issue 2485963005: [Devtools] Fixed regression with linkifier regex (Closed)
Patch Set: Created 4 years, 1 month 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/components/Linkifier.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/inspector/components/linkifier.html
diff --git a/third_party/WebKit/LayoutTests/inspector/components/linkifier.html b/third_party/WebKit/LayoutTests/inspector/components/linkifier.html
index d9146f2c6b1bf2b3a2d006040d6d07855348659d..628ecdf4b25bcd8f74dda2298be426081ccc2feb 100644
--- a/third_party/WebKit/LayoutTests/inspector/components/linkifier.html
+++ b/third_party/WebKit/LayoutTests/inspector/components/linkifier.html
@@ -53,6 +53,10 @@ function test()
InspectorTest.addResult("Disposed linkifier");
dumpLiveLocationsCount();
+ // Ensures urls with lots of slashes does not bog down the regex.
+ WebInspector.linkifyStringAsFragment("/".repeat(1000));
+ WebInspector.linkifyStringAsFragment("/a/".repeat(1000));
+
InspectorTest.completeTest();
}
« no previous file with comments | « no previous file | third_party/WebKit/Source/devtools/front_end/components/Linkifier.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698