[Webkit-unassigned] [Bug 30923] New: element.innerHTML = " " fails
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Oct 29 13:16:35 PDT 2009
https://bugs.webkit.org/show_bug.cgi?id=30923
Summary: element.innerHTML = " " fails
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh Intel
OS/Version: Mac OS X 10.6
Status: UNCONFIRMED
Severity: Major
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: maus at io.com
The following code:
var element = document.createElement("div");
element.innerHTML = "test ";
Throws the following error:
NO_MODIFICATION_ALLOWED_ERR: DOM Exception 7: An attempt was made to modify an
object where modifications are not allowed.
This is something of a problem for us (JavaServer Faces Ajax support).
XML entities work fine, but XHTML defined entities, as defined here:
http://www.w3.org/TR/xhtml1/dtds.html#h-A2
Fail.
This is a rather serious problem, and from looking at more than a few
JavaScript libraries, it appears that they have not found a workaround.
I tried working around it myself, by creating a contextual fragment, but that
just gave a Dom Exception 9 error.
Note that all other tested browsers handle this Just Fine.
Since there is no workaround, I've requested this be a P2.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list