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

Unified Diff: LayoutTests/perf/mouse-event.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
« no previous file with comments | « LayoutTests/perf/htmlcollection-last-item-expected.txt ('k') | LayoutTests/perf/mouse-event-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/perf/mouse-event.html
diff --git a/LayoutTests/perf/mouse-event.html b/LayoutTests/perf/mouse-event.html
deleted file mode 100644
index de2ebcdb1ac9483655734197a0d03c02d8d93f31..0000000000000000000000000000000000000000
--- a/LayoutTests/perf/mouse-event.html
+++ /dev/null
@@ -1,55 +0,0 @@
-<body>
-<script src="../resources/magnitude-perf.js"></script>
-<style>
- .outer {
- position: relative;
- margin: 0.25px;
- padding: 0.25px;
- }
- .inner {
- width: 100px;
- height: 100px;
- background: red;
- }
-</style>
-<div id="test"></div>
-<script>
-
-var innerElement, reportedPosition;
-var testElement = document.getElementById('test');
-
-function setupFunction(magnitude)
-{
- testElement.innerHTML = '';
- var element, parent = testElement;
- for (var i = 0; i < magnitude; i++) {
- element = document.createElement('div');
- element.className = 'outer';
- parent.appendChild(element);
- parent = element;
- }
- element = document.createElement('div');
- element.className = 'inner';
- parent.appendChild(element);
- element.onmouseover = function(e) {
- reportedPosition = e.offsetX + ', ' + e.offsetY;
- };
- innerElement = element;
-}
-
-function test(magnitude)
-{
- if (window.eventSender) {
- var rect = innerElement.getBoundingClientRect();
- eventSender.mouseMoveTo(0, 0);
- eventSender.mouseMoveTo(rect.left, rect.top);
- eventSender.mouseMoveTo(0, 0);
- }
-}
-
-Magnitude.description("Tests that mouse event dispatch is linear with respect to the number of parent elements.");
-Magnitude.initialExponent = 6;
-Magnitude.numPoints = 6;
-Magnitude.run(setupFunction, test, Magnitude.LINEAR);
-</script>
-</body>
« no previous file with comments | « LayoutTests/perf/htmlcollection-last-item-expected.txt ('k') | LayoutTests/perf/mouse-event-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698