OLD | NEW |
1 (function() { | 1 (function() { |
2 | 2 |
3 var files; | 3 var files; |
4 var browserId; | 4 var browserId; |
5 | 5 |
6 var socketEndpoint = window.location.protocol + '//' + window.location.host; | 6 var socketEndpoint = window.location.protocol + '//' + window.location.host; |
7 var thisFile = 'ci-support.js'; | 7 var thisFile = 'ci-support.js'; |
8 var thisScript = document.querySelector('script[src$="' + thisFile + '"]'); | 8 var thisScript = document.querySelector('script[src$="' + thisFile + '"]'); |
9 var base = thisScript.src.substring(0, thisScript.src.lastIndexOf('/')+1); | 9 var base = thisScript.src.substring(0, thisScript.src.lastIndexOf('/')+1); |
10 | 10 |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 error: cleanError(test.err), | 172 error: cleanError(test.err), |
173 }); | 173 }); |
174 }); | 174 }); |
175 runner.on('end', function() { | 175 runner.on('end', function() { |
176 emitEvent('browser-end'); | 176 emitEvent('browser-end'); |
177 }); | 177 }); |
178 } | 178 } |
179 | 179 |
180 window.runTests = runTests; | 180 window.runTests = runTests; |
181 })(); | 181 })(); |
OLD | NEW |