[Webkit-unassigned] [Bug 278290] New: The object is in an invalid state. ambiguous/useless error message
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun Aug 18 05:17:42 PDT 2024
https://bugs.webkit.org/show_bug.cgi?id=278290
Bug ID: 278290
Summary: The object is in an invalid state. ambiguous/useless
error message
Product: WebKit
Version: Safari 17
Hardware: Mac (Intel)
OS: All
Status: NEW
Severity: Normal
Priority: P2
Component: JavaScriptCore
Assignee: webkit-unassigned at lists.webkit.org
Reporter: jab_creations at yahoo.com
"InvalidStateError: The object is in an invalid state."
What object? The pipe for the hot water in my sink?
So what I do know is that the user clicked a submit button to create a page on my web platform. My best-guess is that perhaps a form field wasn't properly filled out however I have very thorough JavaScript validation because of there being layers.
So in short: this error message is unfortunately completely useless. I can only guess at the context of why it happened, I don't know anything about which object. Here is the stack of events my platform recorded for this error:
===
1721149945860, onclick:
Left Button
Event Target: <input data-status="Loading Page,." formnovalidate="true" id="admin_post_cms_preview" name="webmaster_cms_preview" tabindex="3" type="submit" value="Save & Preview" />
Event Target Parent: <span><input data-status="Loading Page,." formnovalidate="true" id="admin_post_cms_preview" name="webmaster_cms_preview" tabindex="3" type="submit" value="Save & Preview" /></span>
URL: /admin/cms/create
1721149945870, onsubmit:
Event Target: <form action="admin/" id="editor_rich_form" method="post"></form>
Event Target Parent: <section><form action="admin/" id="editor_rich_form" method="post"></form></section>
Event Target Closest Ascending Parent Id: <form action="admin/" id="editor_rich_form" method="post"></form>
URL: /admin/cms/create
1721149945875, onerror:
InvalidStateError: The object is in an invalid state.
===
Her user agent:
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/17.5 Safari/605.1.15
She uses a MacBook though not sure that is really relevant.
I've done a bit of searching and have come across people talking about audio objects. I have some minor suspicions to follow up on for tomorrow though that is it. I have a Mac Mini and am happy to try to reproduce the issue if possible.
So the goal here should be to try to ensure that the error message gives some sort of meaningful insight in to what that object is, otherwise I have little-to-nothing to act on.
--
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/20240818/80b2ac2c/attachment-0001.htm>
More information about the webkit-unassigned
mailing list