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: LayoutTests/inspector/findBalancedCurlyBrackets.html

Issue 967853002: DevTools: n^2 -> n while loading heap snapshots and timeline files. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fixed the load test. Created 5 years, 10 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
« no previous file with comments | « no previous file | LayoutTests/inspector/findBalancedCurlyBrackets-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/inspector/findBalancedCurlyBrackets.html
diff --git a/LayoutTests/inspector/findBalancedCurlyBrackets.html b/LayoutTests/inspector/findBalancedCurlyBrackets.html
deleted file mode 100644
index 665f9076dfdac735b15e418875d24126a2e0d768..0000000000000000000000000000000000000000
--- a/LayoutTests/inspector/findBalancedCurlyBrackets.html
+++ /dev/null
@@ -1,34 +0,0 @@
-<html>
-<head>
-<script src="../http/tests/inspector/inspector-test.js"></script>
-
-<script>
-function test()
-{
- var testStrings = [
- {"odd back slashes with text around":"tes\\\"t"},
- {"escaped double quotes":"\"test\""},
- {"escaped back slash before double quote":"test\\"},
- {1:2},
- {"":""},
- {"nested brackets":{}},
- {"nested brackets with double quotes":{"":""}},
- {"etc":{"\\":"\""}},
- {"etc":{"\\\\":"\\"}},
- {"etc":{"\\\\\"":"\\\\\""}},
- ];
-
- for (var i = 0; i < testStrings.length; ++i) {
- var string = JSON.stringify(testStrings[i]);
- var index = WebInspector.TextUtils.findBalancedCurlyBrackets(string);
- InspectorTest.addResult((string === string.slice(0, index) ? "PASS: " : "FAIL: ") + " '" + string + "'");
- }
- InspectorTest.completeTest();
-}
-</script>
-
-<body onload="runTest()">
-Test that WebInspector.TextUtils.findBalancedCurlyBrackets correctly matches curly brackets and double quotes.
-</p>
-</body>
-</html>
« no previous file with comments | « no previous file | LayoutTests/inspector/findBalancedCurlyBrackets-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698