[Webkit-unassigned] [Bug 273760] Uncaught Exception: Uncaught TypeError: Cannot read properties of null (reading 'collapseToEnd')

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 13 04:39:47 PDT 2024


https://bugs.webkit.org/show_bug.cgi?id=273760

Razvan Caliman <rcaliman at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |rcaliman at apple.com

--- Comment #2 from Razvan Caliman <rcaliman at apple.com> ---
Steps to reproduce:

- Navigate to https://www.ad-production-stage.com/1n4xzej6mf/current/index.html
- Inspect any element
- In the Styles panel, click at the end of a CSS value to add a new CSS property


Exception in non-minified code:

```
[Error] TypeError: null is not an object (evaluating 'this._styleSheetTextRange.collapseToEnd')
    _rangeAfterPropertyAtIndex (CSSStyleDeclaration.js:605)
    newBlankProperty (CSSStyleDeclaration.js:439)
    addBlankProperty (SpreadsheetCSSStyleDeclarationEditor.js:362)
    _handleClick (SpreadsheetCSSStyleDeclarationSection.js:670)
```

The filename in the original report is strange: bs-webinspector-0ffb44a313.js.
Web Inspector on macOS does not minify to a file with that prefix and does not use a content hash(?) suffix. Was that WebKit built on another platform? (Not the cause for the bug, it occurs on WebKit built for macOS too).

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20240513/1d271363/attachment.htm>


More information about the webkit-unassigned mailing list