Description

This test validates exception scenarios of invoking mark() and measure() without parameter.

Summary

Harness status: OK

Found 2 tests

Details

ResultTest NameMessage
Passwindow.performance.mark() throws a TypeError exception when invoke without a parameter.
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function () { window.performance.mark() }")
    at Test.<anonymous> ( /user-timing/invoke_without_parameter.html:18:5)
Passwindow.performance.measure() throws a TypeError exception when invoke without a parameter.
Asserts run
Pass
assert_throws_js(function "function TypeError() { [native code] }", function "function () { window.performance.measure(); }")
    at Test.<anonymous> ( /user-timing/invoke_without_parameter.html:22:5)