4

Steps to reproduce:

  1. Visit https://docs.family.co/connectkit/auth-with-nextjs#siwe-nextjs-implementation-1-install
  2. Open the web inspector and try to inspect a few DOM elements
  3. The Web Inspector crashes with the following error:
TypeError:​ null is not an object (evaluating 'style.ownerStyleSheet.isInspectorStyleSheet')​ (at StyleOriginView.js:​52:​42)​
    update @ StyleOriginView.js:​52:​42
    layout @ SpreadsheetCSSStyleDeclarationSection.js:​192:​37
    _layoutSubtree @ View.js:​304:​20
    _layoutSubtree @ View.js:​315:​32
    _layoutSubtree @ View.js:​315:​32
    _layoutSubtree @ View.js:​315:​32
    _visitViewTreeForLayout @ View.js:​383:​36

This issue also occurs when compatibility mode is ON.

Expected behavior:

The web inspector should not crash.

Orion, OS version; hardware type:

Orion 0.99.122-beta (WebKit 615.1.11.7)
macOS Version 13.0.1 (Build 22A400)
MacBookPro18,3

Image/Video:

  • Vlad replied to this.
    4 days later

    paco not able to reproduce. Did you try compatibility mode?

      7 months later

      Steps to reproduce:

      1. Open Web Inspector and select an element in the DOM tree
      2. Edit a CSS rule

      Expected behavior:
      The rule should update as usual, but sometimes the Web Inspector crashes and I can't think of any reason it does vs the times it updates correctly.

      Here's the exception stack trace:

      Missing style sheet for given styleSheetId (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

      Orion, OS version; hardware type:
      Orion 0.99.124.4.1-beta (WebKit 616.1.14.11.1)
      macOS Version 13.4.1 (Build 22F82)
      Mac14,5

      Image/Video:

      (DOM hidden for privacy reasons)

        I experiencing it yesterday too. I just reopen the inspect element. Not identical, but it's crashing, because I forgot to screenshot, I forgot the detail, but it's great to widely test this feature tho.

          ImBIOS Yeah there seems to be a few situations where the Web Inspector crashes; I'm trying to document them when I can reproduce them but sometimes they're a bit hard to make happen reliably, so if yours crashes and you get a different stack trace at the bottom of the crash screen I'm sure the devs would appreciate you pasting that here!

            Merged 4 posts from Web Inspector sometimes crashes when editing CSS rules.
              No one is typing