| OLD | NEW |
| 1 /* | 1 /* |
| 2 * THIS FILE INTENTIONALLY LEFT BLANK | 2 * THIS FILE INTENTIONALLY LEFT BLANK |
| 3 * | 3 * |
| 4 * More specifically, this file is intended for vendors to implement | 4 * More specifically, this file is intended for vendors to implement |
| 5 * code needed to integrate testharness.js tests with their own test systems. | 5 * code needed to integrate testharness.js tests with their own test systems. |
| 6 * | 6 * |
| 7 * Typically such integration will attach callbacks when each test is | 7 * Typically such integration will attach callbacks when each test is |
| 8 * has run, using add_result_callback(callback(test)), or when the whole test fi
le has | 8 * has run, using add_result_callback(callback(test)), or when the whole test fi
le has |
| 9 * completed, using add_completion_callback(callback(tests, harness_status)). | 9 * completed, using add_completion_callback(callback(tests, harness_status)). |
| 10 * | 10 * |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 132 // another completion callback might generate more results. So, we | 132 // another completion callback might generate more results. So, we |
| 133 // don't dump the results immediately. | 133 // don't dump the results immediately. |
| 134 setTimeout(done, 0); | 134 setTimeout(done, 0); |
| 135 } else { | 135 } else { |
| 136 // Parsing the test HTML isn't finished yet. | 136 // Parsing the test HTML isn't finished yet. |
| 137 window.addEventListener('load', done); | 137 window.addEventListener('load', done); |
| 138 } | 138 } |
| 139 }); | 139 }); |
| 140 | 140 |
| 141 })(); | 141 })(); |
| OLD | NEW |