Opened 9 years ago

Last modified 9 years ago

#8569 closed Bug

FF: JS error when inserting elements after HTML with comments. — at Version 3

Reported by: Jakub Ś Owned by:
Priority: Normal Milestone:
Component: General Version: 3.6.1
Keywords: IE Cc:

Description (last modified by Jakub Ś)

Ticket has been reported on our support channel - Topic - "Possible bug: HTML comments cause Javascript error when integrating CKFinder with CKEditor"

  1. 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>
  2. Try to insert Image/Table/Link/Page break using toolbar buttons.
  3. 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-10 and IE 6-9 (FF 3.6 is fine).

Ticket has been reproducible from CKE 3.6.1 rev [6963]

Before this revision another error was thrown (from CKE 3.3)
Message: startContainer.getChild is not a function
URI: /3.6/_source/core/dom/range.js
Line: 1472

Change History (3)

comment:1 Changed 9 years ago by Jakub Ś

Status: newconfirmed

comment:2 Changed 9 years ago by Jakub Ś

Description: modified (diff)

comment:3 Changed 9 years ago by Jakub Ś

Description: modified (diff)
Keywords: IE added
Note: See TracTickets for help on using tickets.
© 2003 – 2021 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy