[Webkit-unassigned] [Bug 278290] The object is in an invalid state. ambiguous/useless error message

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Aug 20 08:30:44 PDT 2024


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

--- Comment #4 from John A. Bilicki III <jab_creations at yahoo.com> ---
Hi Karl, so I can create a minimal test case though I'd need a few days to get through my immediate obligations first.

What I can share right now is that the exact problem is that WebKit does NOT like trying to move the keyboard caret to an element that is not visible. The line that triggers this in my code is:

window.getSelection().collapseToEnd();

There are two instances of that in the following file:

https://www.jabcreations.com/scripts/editor_rich.js

The function containing it is: function rich_caret_move(e,p).

I don't have any easy-to-produce and publicly accessible ways, known me me at least, ways to produce this issue. If you still need more information and want the test case let me know and I'll try to get it done before the end of this week.

-- 
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/20240820/e4e5e671/attachment.htm>


More information about the webkit-unassigned mailing list