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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/html/dom/reflection.js

Issue 1984023002: Move web-platform-tests to wpt (part 1 of 2) (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
1 ReflectionTests = {}; 1 ReflectionTests = {};
2 2
3 ReflectionTests.start = new Date().getTime(); 3 ReflectionTests.start = new Date().getTime();
4 4
5 /** 5 /**
6 * Resolve the given URL to an absolute URL, relative to the current document's 6 * Resolve the given URL to an absolute URL, relative to the current document's
7 * address. There's no API that I know of that exposes this directly, so we 7 * address. There's no API that I know of that exposes this directly, so we
8 * actually just create an <a> element, set its href, and stitch together the 8 * actually just create an <a> element, set its href, and stitch together the
9 * various properties. Seems to work. We don't try to reimplement the 9 * various properties. Seems to work. We don't try to reimplement the
10 * algorithm here, because we're not concerned with its correctness -- we're 10 * algorithm here, because we're not concerned with its correctness -- we're
(...skipping 811 matching lines...) Expand 10 before | Expand all | Expand 10 after
822 var time = document.getElementById("time"); 822 var time = document.getElementById("time");
823 if (time) { 823 if (time) {
824 time.innerHTML = (new Date().getTime() - ReflectionTests.start)/1000; 824 time.innerHTML = (new Date().getTime() - ReflectionTests.start)/1000;
825 } 825 }
826 826
827 if (unimplemented.length) { 827 if (unimplemented.length) {
828 var p = document.createElement("p"); 828 var p = document.createElement("p");
829 p.textContent = "(Note: missing tests for types " + unimplemented.join(", ") + ".)"; 829 p.textContent = "(Note: missing tests for types " + unimplemented.join(", ") + ".)";
830 document.body.appendChild(p); 830 document.body.appendChild(p);
831 } 831 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698