Bug 204830 - Web Inspector: Uncaught Exception: undefined is not an object (evaluating 'navigationItem.parentNavigationBar')
Summary: Web Inspector: Uncaught Exception: undefined is not an object (evaluating 'na...
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-12-03 18:25 PST by Devin Rousso
Modified: 2019-12-03 19:29 PST (History)
5 users (show)

See Also:


Attachments
Patch (10.70 KB, patch)
2019-12-03 18:29 PST, 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 2019-12-03 18:25:11 PST
Uncaught Exception in Web Inspector.

Steps to Reproduce:
1. inspect <https://webkit.org/>
2. force dark appearance
3. navigate to <https://apple.com/>

Uncaught Exceptions:
-----------------------
 - undefined is not an object (evaluating 'navigationItem.parentNavigationBar') (at ContentBrowser.js:450:35)
    _removeAllNavigationItems @ ContentBrowser.js:450:35
    _updateContentViewNavigationItems @ ContentBrowser.js:399:43
    _currentContentViewDidChange @ ContentBrowser.js:515:47
    dispatch @ Object.js:165:30
    dispatchEventToListeners @ Object.js:172:17
    closeAllContentViews @ ContentViewContainer.js:303:38
    _showDOMTreeContentView @ ElementsTabContentView.js:115:70
    _mainResourceDidChange @ ElementsTabContentView.js:132:37
    dispatch @ Object.js:165:30
    dispatchEventToListeners @ Object.js:180:21
    _dispatchMainResourceDidChangeEvent @ Frame.js:492:38
    _processMainFrameResourceTreePayload @ NetworkManager.js:1197:64
    _processMainFrameResourceTreePayload @ [native code]
    _dispatchResponseToCallback @ Connection.js:137:27
    _dispatchResponse @ Connection.js:107:45
    dispatch @ Connection.js:62:35
    dispatchMessageFromTarget @ TargetManager.js:159:35
    dispatchMessageFromTarget @ TargetObserver.js:47:51
    _dispatchEvent @ Connection.js:195:26
    dispatch @ Connection.js:64:32
    dispatch @ InspectorBackend.js:219:52
    ? @ MessageDispatcher.js:42:34

Additional Details:
    cause --> An uncaught exception was thrown while dispatching response callback for command Page.getResourceTree.
-----------------------

Notes:
Inspected URL:        https://webkit.org/
Loading completed:    true
Frontend User Agent:  Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_4) AppleWebKit/605.1.15 (KHTML, like Gecko)
Comment 1 Devin Rousso 2019-12-03 18:29:30 PST
Created attachment 384776 [details]
Patch
Comment 2 WebKit Commit Bot 2019-12-03 19:26:40 PST
Comment on attachment 384776 [details]
Patch

Clearing flags on attachment: 384776

Committed r253085: <https://trac.webkit.org/changeset/253085>
Comment 3 WebKit Commit Bot 2019-12-03 19:26:42 PST
All reviewed patches have been landed.  Closing bug.
Comment 4 Radar WebKit Bug Importer 2019-12-03 19:29:24 PST
<rdar://problem/57612274>