Description

This test validates exception scenarios of invoking mark() and measure() with timing attributes as value.

Summary

Harness status: OK

Found 42 tests

Details

ResultTest NameMessage
Passperformance.mark should throw if used with timing attribute navigationStart
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() { window.performance.mark(attrName); }")
    at Test.<anonymous> ( /user-timing/invoke_with_timing_attributes.html:18:9)
Passperformance.mark should throw if used with timing attribute unloadEventStart
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() { window.performance.mark(attrName); }")
    at Test.<anonymous> ( /user-timing/invoke_with_timing_attributes.html:18:9)
Passperformance.mark should throw if used with timing attribute unloadEventEnd
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() { window.performance.mark(attrName); }")
    at Test.<anonymous> ( /user-timing/invoke_with_timing_attributes.html:18:9)
Passperformance.mark should throw if used with timing attribute redirectStart
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() { window.performance.mark(attrName); }")
    at Test.<anonymous> ( /user-timing/invoke_with_timing_attributes.html:18:9)
Passperformance.mark should throw if used with timing attribute redirectEnd
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() { window.performance.mark(attrName); }")
    at Test.<anonymous> ( /user-timing/invoke_with_timing_attributes.html:18:9)
Passperformance.mark should throw if used with timing attribute fetchStart
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() { window.performance.mark(attrName); }")
    at Test.<anonymous> ( /user-timing/invoke_with_timing_attributes.html:18:9)
Passperformance.mark should throw if used with timing attribute domainLookupStart
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() { window.performance.mark(attrName); }")
    at Test.<anonymous> ( /user-timing/invoke_with_timing_attributes.html:18:9)
Passperformance.mark should throw if used with timing attribute domainLookupEnd
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() { window.performance.mark(attrName); }")
    at Test.<anonymous> ( /user-timing/invoke_with_timing_attributes.html:18:9)
Passperformance.mark should throw if used with timing attribute connectStart
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() { window.performance.mark(attrName); }")
    at Test.<anonymous> ( /user-timing/invoke_with_timing_attributes.html:18:9)
Passperformance.mark should throw if used with timing attribute connectEnd
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() { window.performance.mark(attrName); }")
    at Test.<anonymous> ( /user-timing/invoke_with_timing_attributes.html:18:9)
Passperformance.mark should throw if used with timing attribute secureConnectionStart
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() { window.performance.mark(attrName); }")
    at Test.<anonymous> ( /user-timing/invoke_with_timing_attributes.html:18:9)
Passperformance.mark should throw if used with timing attribute requestStart
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() { window.performance.mark(attrName); }")
    at Test.<anonymous> ( /user-timing/invoke_with_timing_attributes.html:18:9)
Passperformance.mark should throw if used with timing attribute responseStart
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() { window.performance.mark(attrName); }")
    at Test.<anonymous> ( /user-timing/invoke_with_timing_attributes.html:18:9)
Passperformance.mark should throw if used with timing attribute responseEnd
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() { window.performance.mark(attrName); }")
    at Test.<anonymous> ( /user-timing/invoke_with_timing_attributes.html:18:9)
Passperformance.mark should throw if used with timing attribute domLoading
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() { window.performance.mark(attrName); }")
    at Test.<anonymous> ( /user-timing/invoke_with_timing_attributes.html:18:9)
Passperformance.mark should throw if used with timing attribute domInteractive
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() { window.performance.mark(attrName); }")
    at Test.<anonymous> ( /user-timing/invoke_with_timing_attributes.html:18:9)
Passperformance.mark should throw if used with timing attribute domContentLoadedEventStart
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() { window.performance.mark(attrName); }")
    at Test.<anonymous> ( /user-timing/invoke_with_timing_attributes.html:18:9)
Passperformance.mark should throw if used with timing attribute domContentLoadedEventEnd
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() { window.performance.mark(attrName); }")
    at Test.<anonymous> ( /user-timing/invoke_with_timing_attributes.html:18:9)
Passperformance.mark should throw if used with timing attribute domComplete
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() { window.performance.mark(attrName); }")
    at Test.<anonymous> ( /user-timing/invoke_with_timing_attributes.html:18:9)
Passperformance.mark should throw if used with timing attribute loadEventStart
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() { window.performance.mark(attrName); }")
    at Test.<anonymous> ( /user-timing/invoke_with_timing_attributes.html:18:9)
Passperformance.mark should throw if used with timing attribute loadEventEnd
Asserts run
Pass
assert_throws_dom("SyntaxError", function "function() { window.performance.mark(attrName); }")
    at Test.<anonymous> ( /user-timing/invoke_with_timing_attributes.html:18:9)
Passperformance.measure should not throw if used with timing attribute navigationStart
Asserts runNo asserts ran
Passperformance.measure should not throw if used with timing attribute unloadEventStart
Asserts runNo asserts ran
Passperformance.measure should not throw if used with timing attribute unloadEventEnd
Asserts runNo asserts ran
Passperformance.measure should not throw if used with timing attribute redirectStart
Asserts runNo asserts ran
Passperformance.measure should not throw if used with timing attribute redirectEnd
Asserts runNo asserts ran
Passperformance.measure should not throw if used with timing attribute fetchStart
Asserts runNo asserts ran
Passperformance.measure should not throw if used with timing attribute domainLookupStart
Asserts runNo asserts ran
Passperformance.measure should not throw if used with timing attribute domainLookupEnd
Asserts runNo asserts ran
Passperformance.measure should not throw if used with timing attribute connectStart
Asserts runNo asserts ran
Passperformance.measure should not throw if used with timing attribute connectEnd
Asserts runNo asserts ran
Passperformance.measure should not throw if used with timing attribute secureConnectionStart
Asserts runNo asserts ran
Passperformance.measure should not throw if used with timing attribute requestStart
Asserts runNo asserts ran
Passperformance.measure should not throw if used with timing attribute responseStart
Asserts runNo asserts ran
Passperformance.measure should not throw if used with timing attribute responseEnd
Asserts runNo asserts ran
Passperformance.measure should not throw if used with timing attribute domLoading
Asserts runNo asserts ran
Passperformance.measure should not throw if used with timing attribute domInteractive
Asserts runNo asserts ran
Passperformance.measure should not throw if used with timing attribute domContentLoadedEventStart
Asserts runNo asserts ran
Passperformance.measure should not throw if used with timing attribute domContentLoadedEventEnd
Asserts runNo asserts ran
Passperformance.measure should not throw if used with timing attribute domComplete
Asserts runNo asserts ran
Passperformance.measure should not throw if used with timing attribute loadEventStart
Asserts runNo asserts ran
Passperformance.measure should not throw if used with timing attribute loadEventEnd
Asserts runNo asserts ran