Closed Bug 460876 Opened 16 years ago Closed 15 years ago

Crash [@ nsContentIterator::NextNode] with contenteditable, XBL, GC

Categories

(Core :: DOM: Editor, defect)

x86
macOS
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jruderman, Unassigned)

References

Details

(Keywords: crash, testcase)

Crash Data

Attachments

(1 file)

      No description provided.
I think this was fixed elsewhere, by not allowing certain DOM operations on XBL insertion points.  (Maybe in bug 476245?)  When I load the testcase, I now get an exception halfway through the script.

  var b = document.getElementById("b");
  var ip = document.getAnonymousNodes(d)[0];
  b.appendChild(ip); // this line triggers the exception

Error: uncaught exception: [Exception... "Operation is not supported"  code: "9" nsresult: "0x80530009 (NS_ERROR_DOM_NOT_SUPPORTED_ERR)"  location: "file:///Users/jruderman/Downloads/a.xhtml Line: 13"]
Status: NEW → RESOLVED
Closed: 15 years ago
Flags: in-testsuite-
Resolution: --- → WORKSFORME
Crash Signature: [@ nsContentIterator::NextNode]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: