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

Unified Diff: LayoutTests/perf/typing-at-end-of-line.html

Issue 51383002: Delete perf tests that are WontFixed. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: try again Created 7 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: LayoutTests/perf/typing-at-end-of-line.html
diff --git a/LayoutTests/perf/typing-at-end-of-line.html b/LayoutTests/perf/typing-at-end-of-line.html
deleted file mode 100644
index 4a12af16de92bc429a087850dcd769914a07cf96..0000000000000000000000000000000000000000
--- a/LayoutTests/perf/typing-at-end-of-line.html
+++ /dev/null
@@ -1,39 +0,0 @@
-<body>
-<script src="../resources/magnitude-perf.js"></script>
-<script>
-document.designMode = 'on';
-
-function placeSelectionAfterFirstBr()
-{
- var children = document.body.childNodes;
- for (var i = 0, len = children.length; i < len; i++) {
- if (children[i].localName == 'br') {
- window.getSelection().setBaseAndExtent(document.body, i, document.body, i);
- return;
- }
- }
-}
-
-function setupFunction(magnitude)
-{
- window.getSelection().collapse(); // else setting slow: crbug.com/139552
- document.body.innerHTML = new Array(magnitude + 1).join('a<br>');
- placeSelectionAfterFirstBr();
-}
-
-function test(magnitude)
-{
- if (window.eventSender)
- eventSender.keyDown('z');
-}
-
-Magnitude.description("Tests that typing at the end of a line in innerHTML where the line-breaks are all BRs is linear in the number of lines.");
-Magnitude.numTrials = 5; // a bit noisy
-Magnitude.successThreshold = 0.40; // 2 out of 5
-Magnitude.initialExponent = 10;
-Magnitude.numPoints = 4;
-Magnitude.tolerance = 0.30;
-Magnitude.trim = 1;
-Magnitude.run(setupFunction, test, Magnitude.LINEAR);
-</script>
-</body>
« no previous file with comments | « LayoutTests/perf/table-rows-length-caching-expected.txt ('k') | LayoutTests/perf/typing-at-end-of-line-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698