Bug 239824 - Web Inspector: Uncaught Exception: undefined is not an object (evaluating 'this.resource.hadLoadingError')
Summary: Web Inspector: Uncaught Exception: undefined is not an object (evaluating 'th...
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: 2022-04-27 13:38 PDT by Devin Rousso
Modified: 2022-04-27 16:56 PDT (History)
4 users (show)

See Also:


Attachments
Patch (1.62 KB, patch)
2022-04-27 13:42 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 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>