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

Unified Diff: third_party/WebKit/LayoutTests/editing/context-menu-leak-document.html

Issue 1964403002: Retire leak-check.js. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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: third_party/WebKit/LayoutTests/editing/context-menu-leak-document.html
diff --git a/third_party/WebKit/LayoutTests/editing/context-menu-leak-document.html b/third_party/WebKit/LayoutTests/editing/context-menu-leak-document.html
deleted file mode 100644
index 66f85aada1b0d3edf318855744749f85aca2a27b..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/editing/context-menu-leak-document.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<!DOCTYPE html>
-<html>
-<body>
- <script id='targetHTML' type='text/html'>
- <div id="target" contentEditable style='width:100px; height:100px;'></div>
- </script>
-
- <script id='targetJS' type='text/html'>
- var target = document.getElementById('target');
- var x = target.offsetParent.offsetLeft + target.offsetLeft + 5;
- var y = target.offsetParent.offsetTop + target.offsetTop + target.offsetHeight / 2;
- eventSender.mouseMoveTo(x, y);
- eventSender.contextClick();
- </script>
-
- <script src="../resources/js-test.js"></script>
- <script src="../resources/leak-check.js"></script>
- <script>
- var target = grabScriptText('targetHTML')+
- '<script>'+grabScriptText('targetJS')+'<'+'/script>';
- var tolerance = {'numberOfLiveDocuments': 0};
-
- doLeakTest(htmlToUrl(target), tolerance);
- </script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698