[Webkit-unassigned] [Bug 278290] "InvalidStateError: The object is in an invalid state" is not very helpful

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 26 12:04:16 PDT 2024


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

--- Comment #10 from John A. Bilicki III <jab_creations at yahoo.com> ---
Created attachment 472301

  --> https://bugs.webkit.org/attachment.cgi?id=472301&action=review

Fully self-contained test case with easy form to move the caret to one of two editors, one visible and one not with tons of options to make testing as painless as possible.

I've attached webkit_bug_278290.xhtml which is fully self-contained and is exceptionally easy to reproduce the bug with. The directions are contained in the test case, simply click the first paragraph to show the details.

The quickest test: click on "Caret to p[0]" button and the keyboard caret is moved without errors. Then click the "Switch Editors" button below and repeat the process. When an error occurs a short beep will be played to remind you to look at the developer console for errors.

I would like to note that while testing this in WebKit/Safari I found another bug: WebKit does not treat files with .xhtml file extensions as application/xhtml+xml correctly, it incorrectly treats them as text/html. So a 'p' element's nodeName was incorrectly returned as 'P' (uppercase). Annoying.

Any way, I hope this test case is helpful.

-- 
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/20240826/5702bde8/attachment-0001.htm>


More information about the webkit-unassigned mailing list