Opened 12 years ago
Closed 12 years ago
#9905 closed Bug (expired)
Dynamic element creation causes problems with HTMLUnit
Reported by: | waterdev | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | Cc: |
Description
Hi,
when using CKEditor in automated tests using htmlunit-2.11 instead of a browser an error occurs.
Reason: The following content shall be added dynamically to the DOM tree:
<iframe style="width:100%;height:100%" frameBorder="0" aria-describedby="cke_66" title="Rich text editor, Lalala, Press ALT 0 for help" src="javascript:void(function(){document.open()%3Bdocument.close()%3B}())" tabIndex="0" allowTransparency="true"></iframe>
The problem is that the javascript is invalid (%3B instead of ;). Therefor the Rhino JS Engine crashes.
Best regards, Andreas
Change History (2)
comment:1 Changed 12 years ago by
Status: | new → pending |
---|
comment:2 Changed 12 years ago by
Resolution: | → expired |
---|---|
Status: | pending → closed |
Hi,
I may be wrong but I would like to make few things clear.
My question is: if it works in a browser, how do you know that this is not htmlunit problem?
Could you please reply to my questions?