| OLD | NEW |
| (Empty) | |
| 1 This tests that 'performance.measure' throws exceptions with reasonable messages
. |
| 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 |
| 5 |
| 6 PASS window.performance.measure("DoesNotExist", "AlsoDoesNotExist") threw except
ion SyntaxError: The mark 'AlsoDoesNotExist' does not exist.. |
| 7 PASS window.performance.measure("measuring", 'unloadEventStart', "mark") threw e
xception InvalidAccessError: 'unloadEventStart' is empty: either the event hasn'
t happened yet, or it would provide cross-origin timing information.. |
| 8 PASS window.performance.measure("measuring", 'unloadEventEnd', "mark") threw exc
eption InvalidAccessError: 'unloadEventEnd' is empty: either the event hasn't ha
ppened yet, or it would provide cross-origin timing information.. |
| 9 PASS window.performance.measure("measuring", 'redirectStart', "mark") threw exce
ption InvalidAccessError: 'redirectStart' is empty: either the event hasn't happ
ened yet, or it would provide cross-origin timing information.. |
| 10 PASS window.performance.measure("measuring", 'redirectEnd', "mark") threw except
ion InvalidAccessError: 'redirectEnd' is empty: either the event hasn't happened
yet, or it would provide cross-origin timing information.. |
| 11 PASS window.performance.measure("measuring", 'secureConnectionStart', "mark") th
rew exception InvalidAccessError: 'secureConnectionStart' is empty: either the e
vent hasn't happened yet, or it would provide cross-origin timing information.. |
| 12 PASS window.performance.measure("measuring", 'domInteractive', "mark") threw exc
eption InvalidAccessError: 'domInteractive' is empty: either the event hasn't ha
ppened yet, or it would provide cross-origin timing information.. |
| 13 PASS window.performance.measure("measuring", 'domContentLoadedEventStart', "mark
") threw exception InvalidAccessError: 'domContentLoadedEventStart' is empty: ei
ther the event hasn't happened yet, or it would provide cross-origin timing info
rmation.. |
| 14 PASS window.performance.measure("measuring", 'domContentLoadedEventEnd', "mark")
threw exception InvalidAccessError: 'domContentLoadedEventEnd' is empty: either
the event hasn't happened yet, or it would provide cross-origin timing informat
ion.. |
| 15 PASS window.performance.measure("measuring", 'domComplete', "mark") threw except
ion InvalidAccessError: 'domComplete' is empty: either the event hasn't happened
yet, or it would provide cross-origin timing information.. |
| 16 PASS window.performance.measure("measuring", 'loadEventStart', "mark") threw exc
eption InvalidAccessError: 'loadEventStart' is empty: either the event hasn't ha
ppened yet, or it would provide cross-origin timing information.. |
| 17 PASS window.performance.measure("measuring", 'loadEventEnd', "mark") threw excep
tion InvalidAccessError: 'loadEventEnd' is empty: either the event hasn't happen
ed yet, or it would provide cross-origin timing information.. |
| 18 PASS successfullyParsed is true |
| 19 |
| 20 TEST COMPLETE |
| 21 |
| OLD | NEW |