Bug 168707 - [User Timing] Throw a SyntaxError for performance.measure if mark name is not found
Summary: [User Timing] Throw a SyntaxError for performance.measure if mark name is not...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Joseph Pecoraro
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-21 21:15 PST by Joseph Pecoraro
Modified: 2017-02-21 21:45 PST (History)
3 users (show)

See Also:


Attachments
[PATCH] Proposed Fix (5.68 KB, patch)
2017-02-21 21:18 PST, Joseph Pecoraro
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Pecoraro 2017-02-21 21:15:25 PST
[User Timing] Throw a SyntaxError for performance.measure if mark name is not found

This used to be part of User Timing Level 1 and User Timing Level 2 didn't include the text. Lets just be consistent and throw a SyntaxError (other browsers I tested do).

There is an open issue on this:
https://github.com/w3c/user-timing/issues/21
Comment 1 Joseph Pecoraro 2017-02-21 21:18:44 PST
Created attachment 302365 [details]
[PATCH] Proposed Fix
Comment 2 WebKit Commit Bot 2017-02-21 21:45:38 PST
Comment on attachment 302365 [details]
[PATCH] Proposed Fix

Clearing flags on attachment: 302365

Committed r212806: <http://trac.webkit.org/changeset/212806>
Comment 3 WebKit Commit Bot 2017-02-21 21:45:42 PST
All reviewed patches have been landed.  Closing bug.