diff options
Diffstat (limited to 'test/PmaSeleniumXssTest.php')
-rw-r--r-- | test/PmaSeleniumXssTest.php | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/test/PmaSeleniumXssTest.php b/test/PmaSeleniumXssTest.php deleted file mode 100644 index 0870aa4359..0000000000 --- a/test/PmaSeleniumXssTest.php +++ /dev/null @@ -1,25 +0,0 @@ -<?php -/* vim: set expandtab sw=4 ts=4 sts=4: */ -/** - * Selenium TestCase for XSS related tests - * - * @version $Id$ - * @package phpMyAdmin-test - */ - -require_once('PmaSeleniumTestCase.php'); - -class PmaSeleniumXSSTest extends PmaSeleniumTestCase -{ - public function testXssQueryTab() - { - $this->doLogin(); - $this->selectFrame("frame_content"); - $this->click("link=SQL"); - $this->waitForPageToLoad("30000"); - $this->type("sqlquery", "'\"><script>alert(123);</script>"); - $this->click("SQL"); - // If an alert pops up the test fails, since we don't handle an alert. - } -} -?> |