blob: 800147b98b3d3dbdf65f626aee4e14dc2dc79ca1 [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"
| <shadow:root>
| <slot>
| name="user-agent-default-slot"
| "
"
| <object>
| data="http://localhost:8000/evil.swf"
| <param>
| name="src"
| value="http://localhost:8000/evil.swf"
| <embed>
| src="http://localhost:8000/evil.swf"
| <shadow:root>
| <slot>
| name="user-agent-default-slot"
| <shadow:root>
| <slot>
| name="user-agent-default-slot"
| "
"
Pasted contents:
| <p>
| "Some text to paste."
| " <#selection-caret>"