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: | " " |
| "Some text to paste." | " " | | src="http://localhost:8000/evil.swf" | | | " " | | data="http://localhost:8000/evil.swf" | | name="src" | value="http://localhost:8000/evil.swf" | | src="http://localhost:8000/evil.swf" | | | | | " " Pasted contents: | | "Some text to paste." | " <#selection-caret>"
| "Some text to paste." | " <#selection-caret>"