Bug 199564 - Uncaught Exception: Unexpected enum value: CPU
Summary: Uncaught Exception: Unexpected enum value: CPU
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Devin Rousso
URL: https://webkit.org/
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-07-07 15:14 PDT by Simon Fraser (smfr)
Modified: 2019-07-08 19:23 PDT (History)
6 users (show)

See Also:


Attachments
Patch (1.60 KB, patch)
2019-07-07 19:20 PDT, Devin Rousso
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Simon Fraser (smfr) 2019-07-07 15:14:48 PDT
I was inspecting shipping Safari showing webkit.org (macOS 10.14) with a WebKit TOT release build.

-------
Inspected URL:        https://webkit.org/
Loading completed:    true
Frontend User Agent:  Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14) AppleWebKit/605.1.15 (KHTML, like Gecko)

Uncaught Exceptions:
 - Unexpected enum value: CPU (at Connection.js:158:29)
    _dispatchResponseToPromise @ Connection.js:158:29
    _dispatchResponse @ Connection.js:120:44
    dispatch @ Connection.js:70:35
    dispatch @ InspectorBackend.js:178:52
    ? @ MessageDispatcher.js:42:34
-------

* STEPS TO REPRODUCE
1. What were you doing? Include setup or other preparations to reproduce the exception.
2. Include explicit, accurate, and minimal steps taken. Do not include extraneous or irrelevant steps.

* NOTES
Document any additional information that might be useful in resolving the problem, such as screen shots or other included attachments.
Comment 1 Devin Rousso 2019-07-07 19:20:17 PDT
Created attachment 373614 [details]
Patch

This is a very well educated guess, as I'm not running macOS 10.14 and therefore can't test with the same reproduction :(
Comment 2 Joseph Pecoraro 2019-07-08 14:36:26 PDT
Comment on attachment 373614 [details]
Patch

r=me
Comment 3 WebKit Commit Bot 2019-07-08 19:22:36 PDT
Comment on attachment 373614 [details]
Patch

Clearing flags on attachment: 373614

Committed r247249: <https://trac.webkit.org/changeset/247249>
Comment 4 WebKit Commit Bot 2019-07-08 19:22:38 PDT
All reviewed patches have been landed.  Closing bug.
Comment 5 Radar WebKit Bug Importer 2019-07-08 19:23:15 PDT
<rdar://problem/52810830>