Opened 13 years ago
Last modified 13 years ago
#8569 closed Bug
FF: JS error when inserting elements after HTML with comments. — at Initial Version
Reported by: | Jakub Ś | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | 3.6.1 |
Keywords: | IE | Cc: |
Description
Ticket has been reported on our support channel - Topic - "Possible bug: HTML comments cause Javascript error when integrating CKFinder with CKEditor"
- Insert on of the following
<!--A comment--> <div><!--A comment--></div> <div>Something else</div><!-- A comment --> <div><div>Something else</div><!-- A comment --></div>
- Try to insert Image/Table/Link/Page break using toolbar buttons.
- After pressing OK JS error pops out.
The error:
Message: startNode.getChildCount is not a function
Line: 792
URI: ckeditor/_source/core/dom/range.js
Bug is only reproducible in Firefox 4-8 (FF 3.6 is fine).
Ticket has been reproducible from CKE 3.6.1 rev [6963]