Opened 3 years ago

Last modified 3 years ago

#14844 confirmed Bug

[WebKit] Image2 throws IndexSizeError while undoing deletion of partially uploaded image

Reported by: kkrzton Owned by:
Priority: Normal Milestone:
Component: General Version: 4.5.11
Keywords: Cc:

Description

Steps to reproduce

  1. Go to http://tests.ckeditor.dev:1030/tests/plugins/uploadwidget/manual/image2.
  2. Drop image into editor.
  3. Select the image with some surrounding text.
  4. Delete selection while the image is still being uploaded.
  5. Click undo.

Expected result

Deleted text should be brought back (without image) by undo.

Actual result

Deleted text is brought back (without image) by undo and error is thrown (in Chrome: Uncaught IndexSizeError: Failed to execute 'setEnd' on 'Range': There is no child at offset 11.; in Opera: Uncaught IndexSizeError: Failed to execute 'setEnd' on 'Range': The offset 7 is larger than or equal to the node's length (5).)

Other details (browser, OS, CKEditor version, installed plugins)

Change History (1)

comment:1 Changed 3 years ago by kkrzton

Status: newconfirmed
Note: See TracTickets for help on using tickets.
© 2003 – 2019 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy