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

Side by Side Diff: LayoutTests/fast/harness/resources/results-test.js

Issue 414253003: [Nit] Updating the comment in results-test.js the file json_results.html was renamed as results.htm… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 4 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // To run these tests, load json_results.html in a browser. 1 // To run these tests, load results.html in a browser.
2 // You should see a series of PASS lines. 2 // You should see a series of PASS lines.
3 if (window.testRunner) 3 if (window.testRunner)
4 testRunner.dumpAsText(); 4 testRunner.dumpAsText();
5 5
6 var testStyles = document.createElement('style'); 6 var testStyles = document.createElement('style');
7 testStyles.innerText = ".test-pass { color: green; } .test-fail { color: red; }" ; 7 testStyles.innerText = ".test-pass { color: green; } .test-fail { color: red; }" ;
8 document.querySelector('head').appendChild(testStyles); 8 document.querySelector('head').appendChild(testStyles);
9 9
10 var g_testIndex = 0; 10 var g_testIndex = 0;
11 var g_log = ["You should see a series of PASS lines."]; 11 var g_log = ["You should see a series of PASS lines."];
(...skipping 792 matching lines...) Expand 10 before | Expand all | Expand 10 after
804 results.tests['foo'].has_repaint_overlay = true; 804 results.tests['foo'].has_repaint_overlay = true;
805 runTest(results, function() { 805 runTest(results, function() {
806 assertTrue(document.querySelector('tbody td:nth-child(2)').textContent.i ndexOf('overlay') != -1); 806 assertTrue(document.querySelector('tbody td:nth-child(2)').textContent.i ndexOf('overlay') != -1);
807 }) 807 })
808 808
809 document.body.innerHTML = '<pre>' + g_log.join('\n') + '</pre>'; 809 document.body.innerHTML = '<pre>' + g_log.join('\n') + '</pre>';
810 } 810 }
811 811
812 var originalGeneratePage = generatePage; 812 var originalGeneratePage = generatePage;
813 generatePage = runTests; 813 generatePage = runTests;
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698