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

Side by Side Diff: third_party/WebKit/LayoutTests/editing/spelling/spellcheck-queue-testrunner-leak-request.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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <body>
4 <script id="targetHTML" type="text/html">
5 <div id="source">foo bar</div>
6 <input type="text" id="target0" />
7 <input type="text" id="target1" />
8 </script>
9
10 <script id="targetJS" type="text/html">
11 window.getSelection().selectAllChildren(document.getElementById('source' ));
12 document.execCommand("Copy");
13
14 for (var i = 0; i < 2; ++i) {
15 var target = document.getElementById('target'+i);
16 target.focus();
17 document.execCommand("Paste");
18 target.blur();
19 }
20 </script>
21
22 <script src="../../resources/js-test.js"></script>
23 <script src="../../resources/leak-check.js"></script>
24 <script>
25 var target = grabScriptText('targetHTML')+'<script>'+grabScriptText('tar getJS')+'<'+'/script>';
26 var tolerance = {'numberOfLiveDocuments': 0};
27
28 doLeakTest(htmlToUrl(target), tolerance);
29 </script>
30 </body>
31 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698