Bug 233961

Summary: Web Inspector: evaluateScriptForExtension() incorrectly unwraps internal errors
Product: WebKit Reporter: Blaze Burg <bburg>
Component: Web InspectorAssignee: Blaze Burg <bburg>
Status: RESOLVED FIXED    
Severity: Normal CC: bburg, ews-watchlist, hi, inspector-bugzilla-changes, joepeck, pangle, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch v1.0
none
Patch v1.1 - for landing none

Blaze Burg
Reported 2021-12-07 16:56:15 PST
Splitting this change from 233935.
Attachments
Patch v1.0 (3.53 KB, patch)
2021-12-07 22:22 PST, Blaze Burg
no flags
Patch v1.1 - for landing (3.53 KB, patch)
2021-12-08 14:55 PST, Blaze Burg
no flags
Blaze Burg
Comment 1 2021-12-07 16:58:32 PST
Blaze Burg
Comment 2 2021-12-07 22:22:14 PST
Created attachment 446299 [details] Patch v1.0
Patrick Angle
Comment 3 2021-12-08 13:03:56 PST
Comment on attachment 446299 [details] Patch v1.0 View in context: https://bugs.webkit.org/attachment.cgi?id=446299&action=review r=me > Source/WebKit/WebProcess/Inspector/WebInspectorUIExtensionController.cpp:255 > + LOG(Inspector, "Internal error encountered while evaluating upon the frontend: at %s:%d:%d: %s", exceptionDetails.sourceURL.utf8().data(), exceptionDetails.lineNumber, exceptionDetails.columnNumber, exceptionDetails.message.utf8().data()); Nit: Odd placement of the first colon IMO... s/`frontend: at`/`frontend at`
Blaze Burg
Comment 4 2021-12-08 14:55:38 PST
Created attachment 446429 [details] Patch v1.1 - for landing
EWS
Comment 5 2021-12-08 16:07:12 PST
Committed r286747 (244992@main): <https://commits.webkit.org/244992@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 446429 [details].
Note You need to log in before you can comment on or make changes to this bug.