3 class HTMLPurifier_HTMLModule_SafeScriptingTest
extends HTMLPurifier_HTMLModuleHarness
6 public function setUp()
9 $this->config
->set('HTML.SafeScripting', array('http://localhost/foo.js'));
12 public function testMinimal()
20 public function testGood()
23 '<script type="text/javascript" src="http://localhost/foo.js" />'
27 public function testBad()
30 '<script type="text/javascript" src="http://localhost/foobar.js" />',