| OLD | NEW |
| 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 Loading... |
| 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 } |
| OLD | NEW |