| OLD | NEW |
| 1 (function() { | 1 (function() { |
| 2 // Test is initiated from body.onload, so explicit done() call is required. | 2 // Test is initiated from body.onload, so explicit done() call is required. |
| 3 setup({ explicit_done: true }); | 3 setup({ explicit_done: true }); |
| 4 | 4 |
| 5 function checkSubtreeExpectedValues(t, parent, prefix) | 5 function checkSubtreeExpectedValues(t, parent, prefix) |
| 6 { | 6 { |
| 7 var checkedLayout = checkExpectedValues(t, parent, prefix); | 7 var checkedLayout = checkExpectedValues(t, parent, prefix); |
| 8 Array.prototype.forEach.call(parent.childNodes, function(node) { | 8 Array.prototype.forEach.call(parent.childNodes, function(node) { |
| 9 checkedLayout |= checkSubtreeExpectedValues(t, node, prefix); | 9 checkedLayout |= checkSubtreeExpectedValues(t, node, prefix); |
| 10 }); | 10 }); |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 181 } | 181 } |
| 182 }, selectorList + ' ' + String(++testNumber)); | 182 }, selectorList + ' ' + String(++testNumber)); |
| 183 }); | 183 }); |
| 184 if (!checkedLayout) { | 184 if (!checkedLayout) { |
| 185 console.error("No valid data-* attributes found in selector list : " + s
electorList); | 185 console.error("No valid data-* attributes found in selector list : " + s
electorList); |
| 186 } | 186 } |
| 187 done(); | 187 done(); |
| 188 }; | 188 }; |
| 189 | 189 |
| 190 })(); | 190 })(); |
| OLD | NEW |