Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Side by Side Diff: LayoutTests/fast/performance/performance-measure-exceptions-expected.txt

Issue 22311011: Improve 'performance.{mark,measure} exception messages. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
(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
OLDNEW
« no previous file with comments | « LayoutTests/fast/performance/performance-measure-exceptions.html ('k') | Source/core/page/PerformanceUserTiming.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698