blob: a4af6ebe97749f1ca30a80143b0f1d4d72ba0674 [file] [log] [blame]
This test copies embed and object elements, pastes them into an editable area, and verifies that unsafe tags are not pasted when the setting prohibits this.
Original contents:
| "
"
| <p>
| "Some text to paste."
| "
"
| <embed>
| src="http://localhost:8000/evil.swf"
| "
"
| <object>
| data="http://localhost:8000/evil.swf"
| <param>
| name="src"
| value="http://localhost:8000/evil.swf"
| <embed>
| src="http://localhost:8000/evil.swf"
| "
"
Pasted contents:
| <p>
| "Some text to paste."
| " <#selection-caret>"