mark-errors.any.html
Details
- Test
/user-timing/mark-errors.any.html- Harness
- OK
Subtests
| Status | Subtest |
|---|---|
| FAIL | [performance.mark]: Number should be rejected as the mark-options. assert_throws_js: Number passed as a dict argument should cause type-error. function "function() { newMarkFunction("mark1", 123); }" did not throw |
| FAIL | [new PerformanceMark]: Number should be rejected as the mark-options. assert_throws_js: Number passed as a dict argument should cause type-error. function "function() { newMarkFunction("mark1", 123); }" did not throw |
| FAIL | [performance.mark]: NaN should be rejected as the mark-options. assert_throws_js: NaN passed as a dict argument should cause type-error. function "function() { newMarkFunction("mark1", NaN); }" did not throw |
| FAIL | [new PerformanceMark]: NaN should be rejected as the mark-options. assert_throws_js: NaN passed as a dict argument should cause type-error. function "function() { newMarkFunction("mark1", NaN); }" did not throw |
| FAIL | [performance.mark]: Infinity should be rejected as the mark-options. assert_throws_js: Infinity passed as a dict argument should cause type-error. function "function() { newMarkFunction("mark1", Infinity); }" did not throw |
| FAIL | [new PerformanceMark]: Infinity should be rejected as the mark-options. assert_throws_js: Infinity passed as a dict argument should cause type-error. function "function() { newMarkFunction("mark1", Infinity); }" did not throw |
| FAIL | [performance.mark]: String should be rejected as the mark-options. assert_throws_js: String passed as a dict argument should cause type-error. function "function() { newMarkFunction("mark1", "string"); }" did not throw |
| FAIL | [new PerformanceMark]: String should be rejected as the mark-options. assert_throws_js: String passed as a dict argument should cause type-error. function "function() { newMarkFunction("mark1", "string"); }" did not throw |
| FAIL | [performance.mark]: Negative startTime in mark-options should be rejected assert_throws_js: Negative startTime should cause type-error. function "function() { newMarkFunction("mark1", {startTime: -1}); }" threw object "SyntaxError: Failed to construct 'PerformanceMark': 'ma… |
| FAIL | [new PerformanceMark]: Negative startTime in mark-options should be rejected assert_throws_js: Negative startTime should cause type-error. function "function() { newMarkFunction("mark1", {startTime: -1}); }" threw object "SyntaxError: Failed to construct 'PerformanceMark': 'ma… |