Opened 10 years ago
Closed 10 years ago
#13850 closed Bug (fixed)
[IE] Destroying editor without iframe test fails
| Reported by: | Marek Lewandowski | Owned by: | Szymon Kupś |
|---|---|---|---|
| Priority: | Normal | Milestone: | CKEditor 4.5.5 |
| Component: | General | Version: | 4.5.5 |
| Keywords: | Cc: |
Description
Test /tests/tickets/13790/1 fails in IE.
Reproduced in IE11, IE8.
Attachments (1)
Change History (7)
comment:1 Changed 10 years ago by
| Owner: | set to Szymon Kupś |
|---|---|
| Status: | new → assigned |
comment:2 Changed 10 years ago by
| Status: | assigned → review |
|---|
comment:3 Changed 10 years ago by
| Status: | review → review_failed |
|---|
It still fails in Edge, let's make it a complete fix.
comment:4 Changed 10 years ago by
| Status: | review_failed → assigned |
|---|
Changed 10 years ago by
| Attachment: | edge_exception.png added |
|---|
comment:5 Changed 10 years ago by
| Status: | assigned → review |
|---|
Pushed branch:t/13850 with fix for Edge.
When trying to access window.frameElement property on Edge throws an exception when frame is already removed. Surrounded getFrame() method with try/catch statement.
comment:6 Changed 10 years ago by
| Resolution: | → fixed |
|---|---|
| Status: | review → closed |
Merged to master with git:74aa134.


Pushed branch:t/13850. After calling
remove()method on iframe, it is still returned by getFrame method on IE. Checking if parent is present can determine if iframe is still valid on IE.