Bug 239824

Summary: Web Inspector: Uncaught Exception: undefined is not an object (evaluating 'this.resource.hadLoadingError')
Product: WebKit Reporter: Devin Rousso <hi>
Component: Web InspectorAssignee: Devin Rousso <hi>
Status: RESOLVED FIXED    
Severity: Normal CC: hi, inspector-bugzilla-changes, pangle, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
URL: https://webkit.org/
Attachments:
Description Flags
Patch none

Description Devin Rousso 2022-04-27 13:38:42 PDT
Uncaught Exception in Web Inspector.


Uncaught Exceptions:
-----------------------
 - undefined is not an object (evaluating 'this.resource.hadLoadingError') (at LocalResourceOverrideTreeElement.js:113:26)
    updateStatus @ LocalResourceOverrideTreeElement.js:113:26
    _updateSourceCode @ SourceCodeTreeElement.js:207:26
    SourceCodeTreeElement @ SourceCodeTreeElement.js:34:31
    ResourceTreeElement @ ResourceTreeElement.js:35:14
    LocalResourceOverrideTreeElement @ LocalResourceOverrideTreeElement.js:32:14
    _addLocalOverride @ SourcesNavigationSidebarPanel.js:1494:79
    _handleLocalResourceOverrideAdded @ SourcesNavigationSidebarPanel.js:2261:31
    dispatch @ Object.js:134:35
    dispatchEventToListeners @ Object.js:142:17
    addLocalResourceOverride @ NetworkManager.js:391:38
    ? @ NetworkManager.js:92:50
    asyncFunctionResume @ [native code]
    ? @ [native code]
    promiseReactionJobWithoutPromise @ [native code]
    promiseReactionJob @ [native code]
-----------------------

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-04-27 13:42:11 PDT
Created attachment 458464 [details]
Patch
Comment 2 Patrick Angle 2022-04-27 13:43:06 PDT
Comment on attachment 458464 [details]
Patch

r=me
Comment 3 EWS 2022-04-27 16:55:24 PDT
Committed r293547 (250067@main): <https://commits.webkit.org/250067@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 458464 [details].
Comment 4 Radar WebKit Bug Importer 2022-04-27 16:56:14 PDT
<rdar://problem/92428519>