3 class HTMLPurifier_HTMLModule_ObjectTest
extends HTMLPurifier_HTMLModuleHarness
8 $this->config
->set('HTML.Trusted', true);
11 function testDefaultRemoval() {
12 $this->config
->set('HTML.Trusted', false);
14 '<object></object>', ''
18 function testMinimal() {
19 $this->assertResult('<object></object>');
22 function testStandardUseCase() {
24 '<object type="video/x-ms-wmv" data="http://domain.com/video.wmv" width="320" height="256">
25 <param name="src" value="http://domain.com/video.wmv" />
26 <param name="autostart" value="false" />
27 <param name="controller" value="true" />
28 <param name="pluginurl" value="http://www.microsoft.com/Windows/MediaPlayer/" />
29 <a href="http://www.microsoft.com/Windows/MediaPlayer/">Windows Media player required</a>