| OLD | NEW |
| 1 // Copyright 2017 the V8 project authors. All rights reserved. | 1 // Copyright 2017 the V8 project authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 // TODO(titzer): update spec test suite to version 0x1 | |
| 6 if (false) { | |
| 7 | |
| 8 // TODO(eholk): Once we have stable test IDs, use those as the key instead. | 5 // TODO(eholk): Once we have stable test IDs, use those as the key instead. |
| 9 // See https://github.com/WebAssembly/spec/issues/415 | 6 // See https://github.com/WebAssembly/spec/issues/415 |
| 10 const known_failures = { | 7 const known_failures = { |
| 11 "'WebAssembly.Module.customSections' method": | 8 "'WebAssembly.Module.customSections' method": |
| 12 'https://bugs.chromium.org/p/v8/issues/detail?id=5815', | 9 'https://bugs.chromium.org/p/v8/issues/detail?id=5815', |
| 13 "'WebAssembly.Table.prototype.get' method": | 10 "'WebAssembly.Table.prototype.get' method": |
| 14 'https://bugs.chromium.org/p/v8/issues/detail?id=5507', | 11 'https://bugs.chromium.org/p/v8/issues/detail?id=5507', |
| 15 "'WebAssembly.Table.prototype.set' method": | 12 "'WebAssembly.Table.prototype.set' method": |
| 16 'https://bugs.chromium.org/p/v8/issues/detail?id=5507', | 13 'https://bugs.chromium.org/p/v8/issues/detail?id=5507', |
| 17 }; | 14 }; |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 72 } else { | 69 } else { |
| 73 print(` ${failures[i]}`); | 70 print(` ${failures[i]}`); |
| 74 unexpected = true; | 71 unexpected = true; |
| 75 } | 72 } |
| 76 } | 73 } |
| 77 if (unexpected) { | 74 if (unexpected) { |
| 78 quit(1); | 75 quit(1); |
| 79 } | 76 } |
| 80 } | 77 } |
| 81 }); | 78 }); |
| 82 | |
| 83 } | |
| OLD | NEW |