Bug 241987

Summary: Web Inspector: REGRESSION(251279@main): Uncaught Exception: ReferenceError: Can't find variable: sourceCode
Product: WebKit Reporter: Devin Rousso <hi>
Component: Web InspectorAssignee: Devin Rousso <hi>
Status: RESOLVED FIXED    
Severity: Normal CC: hi, inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
URL: https://webkit.org/

Description Devin Rousso 2022-06-24 15:01:02 PDT
Uncaught Exception in Web Inspector.

STEPS TO REPRODUCE
1. inspect any page
2. create a response local override
3. trigger the override
4. click the "Reveal" button

Uncaught Exceptions:
-----------------------
 - ReferenceError: Can't find variable: sourceCode (at LocalResourceOverrideWarningView.js:66:96)
    ? @ LocalResourceOverrideWarningView.js:66:96
-----------------------

Notes:
Inspected URL:        https://webkit.org/
Loading completed:    true
Frontend User Agent:  Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko)
Comment 1 Devin Rousso 2022-06-24 15:54:26 PDT
Pull request: https://github.com/WebKit/WebKit/pull/1787
Comment 2 EWS 2022-06-24 15:59:41 PDT
Committed 251839@main (d95aece0e847): <https://commits.webkit.org/251839@main>

Reviewed commits have been landed. Closing PR #1787 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2022-06-24 16:00:19 PDT
<rdar://problem/95886212>