OLD | NEW |
1 This tests that 'performance.measure' throws exceptions with reasonable messages
. | 1 This tests that 'performance.measure' throws exceptions with reasonable messages
. |
2 | 2 |
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
4 | 4 |
5 | 5 |
6 PASS window.performance.measure("DoesNotExist", "AlsoDoesNotExist") threw except
ion SyntaxError: The mark 'AlsoDoesNotExist' does not exist.. | 6 PASS window.performance.measure("DoesNotExist", "AlsoDoesNotExist") threw except
ion SyntaxError: Failed to execute 'measure' on 'Performance': The mark 'AlsoDoe
sNotExist' 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.. | 7 PASS window.performance.measure("measuring", 'unloadEventStart', "mark") threw e
xception InvalidAccessError: Failed to execute 'measure' on 'Performance': 'unlo
adEventStart' is empty: either the event hasn't happened yet, or it would provid
e 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.. | 8 PASS window.performance.measure("measuring", 'unloadEventEnd', "mark") threw exc
eption InvalidAccessError: Failed to execute 'measure' on 'Performance': 'unload
EventEnd' is empty: either the event hasn't happened yet, or it would provide cr
oss-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.. | 9 PASS window.performance.measure("measuring", 'redirectStart', "mark") threw exce
ption InvalidAccessError: Failed to execute 'measure' on 'Performance': 'redirec
tStart' is empty: either the event hasn't happened yet, or it would provide cros
s-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.. | 10 PASS window.performance.measure("measuring", 'redirectEnd', "mark") threw except
ion InvalidAccessError: Failed to execute 'measure' on 'Performance': 'redirectE
nd' is empty: either the event hasn't happened yet, or it would provide cross-or
igin 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.. | 11 PASS window.performance.measure("measuring", 'secureConnectionStart', "mark") th
rew exception InvalidAccessError: Failed to execute 'measure' on 'Performance':
'secureConnectionStart' is empty: either the event hasn't happened yet, or it wo
uld 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.. | 12 PASS window.performance.measure("measuring", 'domInteractive', "mark") threw exc
eption InvalidAccessError: Failed to execute 'measure' on 'Performance': 'domInt
eractive' is empty: either the event hasn't happened yet, or it would provide cr
oss-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.. | 13 PASS window.performance.measure("measuring", 'domContentLoadedEventStart', "mark
") threw exception InvalidAccessError: Failed to execute 'measure' on 'Performan
ce': 'domContentLoadedEventStart' is empty: either the event hasn't happened yet
, or it would provide cross-origin timing information.. |
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.. | 14 PASS window.performance.measure("measuring", 'domContentLoadedEventEnd', "mark")
threw exception InvalidAccessError: Failed to execute 'measure' on 'Performance
': 'domContentLoadedEventEnd' is empty: either the event hasn't happened yet, or
it would provide cross-origin timing information.. |
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.. | 15 PASS window.performance.measure("measuring", 'domComplete', "mark") threw except
ion InvalidAccessError: Failed to execute 'measure' on 'Performance': 'domComple
te' is empty: either the event hasn't happened yet, or it would provide cross-or
igin 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.. | 16 PASS window.performance.measure("measuring", 'loadEventStart', "mark") threw exc
eption InvalidAccessError: Failed to execute 'measure' on 'Performance': 'loadEv
entStart' is empty: either the event hasn't happened yet, or it would provide cr
oss-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.. | 17 PASS window.performance.measure("measuring", 'loadEventEnd', "mark") threw excep
tion InvalidAccessError: Failed to execute 'measure' on 'Performance': 'loadEven
tEnd' is empty: either the event hasn't happened yet, or it would provide cross-
origin timing information.. |
18 PASS successfullyParsed is true | 18 PASS successfullyParsed is true |
19 | 19 |
20 TEST COMPLETE | 20 TEST COMPLETE |
21 | 21 |
OLD | NEW |