(evt)
| 117 | |
| 118 | |
| 119 | function _checkProgressEvent(evt){ |
| 120 | var fail = false; |
| 121 | |
| 122 | if( isNaN(evt.loaded / evt.total) ){ |
| 123 | fail = true; |
| 124 | ok(false, "progress: evt.loaded/evt.total - is NaN"); |
| 125 | } |
| 126 | |
| 127 | if( isNaN(evt.loaded) ){ |
| 128 | fail = true; |
| 129 | ok(false, "progress: evt.loaded - is NaN"); |
| 130 | } |
| 131 | |
| 132 | if( isNaN(evt.total) ){ |
| 133 | fail = true; |
| 134 | ok(false, "progress: evt.total - is NaN"); |
| 135 | } |
| 136 | |
| 137 | return fail; |
| 138 | } |
| 139 | |
| 140 | console.log('\nStart testing\n'); |
| 141 |
no outgoing calls
no test coverage detected
searching dependent graphs…