(status)
| 856 | |
| 857 | // Map WPT test status to strings |
| 858 | getTestStatus(status) { |
| 859 | switch (status) { |
| 860 | case 1: |
| 861 | return kFail; |
| 862 | case 2: |
| 863 | return kTimeout; |
| 864 | case 3: |
| 865 | return kIncomplete; |
| 866 | case NODE_UNCAUGHT: |
| 867 | return kUncaught; |
| 868 | default: |
| 869 | return kPass; |
| 870 | } |
| 871 | } |
| 872 | |
| 873 | /** |
| 874 | * Report the status of each specific test case (there could be multiple |
no outgoing calls
no test coverage detected