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(); |
} |