RESOLVED INVALID 10029
HTML DOM Exception in WebKit
https://bugs.webkit.org/show_bug.cgi?id=10029
Summary HTML DOM Exception in WebKit
pragalathar
Reported 2006-07-20 05:10:43 PDT
Hi, We created a sample DHTML code using javascript. It works fine in IE, Mozilla and firefox. But we are getting DOMException4 in Safari 2.0.3. Sample Code: function PaintCanvasDom() { var x = document.createRange(); x.setStartBefore(this); // Throwing error as DOM Exception // Some more code snippets } When we try to access the range, it throws DOM Exception in setStartBefore function. It shows DOM Exception 4 instead of a description for that exception.
Attachments
Sam Weinig
Comment 1 2006-07-20 13:10:44 PDT
Poster,   Please attach a test case that shows the bug.  Doing so will make it much easier to confirm and then fix what ever might be causing this.  If you are not able to post a test case, simply testing it in the nightly would also help. 
Alexey Proskuryakov
Comment 2 2006-09-03 07:57:49 PDT
I tried, and couldn't create a test case from the description. Closing as INVALID because of lack of information to proceed. Please re-open if you can provide steps to reproduce the issue, such as a full test case. DOM exception 4 is WRONG_DOCUMENT_ERR.
elliottcable
Comment 3 2008-08-24 23:44:13 PDT
I'm getting this bug with the following test case: http://pastie.org/259289 Error: WRONG_DOCUMENT_ERR: DOM Exception 4 (line 59)
Alexey Proskuryakov
Comment 4 2008-08-24 23:53:33 PDT
This is probably a different issue - this test case does not involve setStartBefore, for example. Would you be willing to file a new bug for this? That would help to reduce possible confusion.
elliottcable
Comment 5 2008-08-25 00:25:24 PDT
@Alexey: Done: https://bugs.webkit.org/show_bug.cgi?id=20506 I just posted here, because it was one of the first results on teh gügle [-:
Note You need to log in before you can comment on or make changes to this bug.