measure_exceptions_navigation_timing.html

FAILExpected0 of 4 subtests pass890 ms

Details

Test
/user-timing/measure_exceptions_navigation_timing.html
Harness
OK

Subtests

StatusSubtestMessage
FAILwindow.performance.measure("measure", "loadEventEnd"), where "loadEventEnd" is a navigation timing attribute with a value of 0, throws a InvalidAccessError exception.
assert_throws_dom: function "function () { window.performance.measure("measure", zeroedNavTimingAtt); }" did not throw
assert_throws_dom: function "function () { window.performance.measure("measure", zeroedNavTimingAtt); }" did not throw
FAILwindow.performance.measure("measure", "loadEventEnd", "responseEnd"), where "loadEventEnd" is a navigation timing attribute with a value of 0, throws a InvalidAccessError exception.
assert_throws_dom: function "function () { window.performance.measure("measure", zeroedNavTimingAtt, "responseEnd"); }" did not throw
assert_throws_dom: function "function () { window.performance.measure("measure", zeroedNavTimingAtt, "responseEnd"); }" did not throw
FAILwindow.performance.measure("measure", "navigationStart", "loadEventEnd"), where "loadEventEnd" is a navigation timing attribute with a value of 0, throws a InvalidAccessError exception.
assert_throws_dom: function "function () { window.performance.measure("measure", "navigationStart", zeroedNavTimingAtt); }" did not throw
assert_throws_dom: function "function () { window.performance.measure("measure", "navigationStart", zeroedNavTimingAtt); }" did not throw
FAILwindow.performance.measure("measure", "loadEventEnd", "loadEventEnd"), where "loadEventEnd" is a navigation timing attribute with a value of 0, throws a InvalidAccessError exception.
assert_throws_dom: function "function () { window.performance.measure("measure", zeroedNavTimingAtt, zeroedNavTimingAtt); }" did not throw
assert_throws_dom: function "function () { window.performance.measure("measure", zeroedNavTimingAtt, zeroedNavTimingAtt); }" did not throw