Bug 258878 - Uncaught Exception: Missing node for given nodeId
Summary: Uncaught Exception: Missing node for given nodeId
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (show other bugs)
Version: WebKit Nightly Build
Hardware: All All
: P2 Normal
Assignee: Nobody
URL: https://perfectmotionphysio.com/prices/
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-07-05 03:58 PDT by rob
Modified: 2023-08-18 10:13 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description rob 2023-07-05 03:58:54 PDT
Uncaught Exception in Web Inspector.

Steps to Reproduce:
1. What were you doing? Include setup or other preparations to reproduce the exception
2. Include explicit, accurate, and minimal steps taken. Do not include extraneous or irrelevant steps.
3. What did you expect to have happen? What actually happened?

I edited a node's tag in the Elements tab from <div to <details
The change performed as expected but the inspector crashed.

Uncaught Exceptions:
-----------------------
 - Missing node for given nodeId (at Connection.js:162:29)
    _dispatchResponseToPromise @ Connection.js:162:29
    _dispatchResponse @ Connection.js:124:44
    dispatch @ Connection.js:77:35
    dispatchMessageFromTarget @ TargetManager.js:176:39
    dispatchMessageFromTarget @ TargetObserver.js:47:51
    _dispatchEvent @ Connection.js:210:26
    dispatch @ Connection.js:79:32
    dispatch @ InspectorBackend.js:233:52
    ? @ MessageDispatcher.js:42:34
-----------------------

Notes: The inspector has been extremely unstable lately. I've been forced to do most things in Chromium.
Inspected URL:        https://perfectmotionphysio.com/prices/
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 Radar WebKit Bug Importer 2023-07-12 03:59:16 PDT
<rdar://problem/112131197>
Comment 2 Razvan Caliman 2023-08-18 10:13:21 PDT
(In reply to rob from comment #0)
> Uncaught Exception in Web Inspector.

> I edited a node's tag in the Elements tab from <div to <details
> The change performed as expected but the inspector crashed.
> Inspected URL:        https://perfectmotionphysio.com/prices/

Hi Rob, 

I could not reproduce the issue by trying to rename a few random DOM elements to `<details>` in the Elements tab by using Edit > HTML from the context menu or by double clicking a node tag and changing it inline.

Please share a set of steps to reproduce the issue so we can investigate.