Question | Does this script cause a change of context (new window)? |
---|---|
PASS | Script does not cause change of context. |
FAIL | Script causes change of context. |
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/xhtml; charset=UTF-8" /> <title>Testfile - Check #274.2 - Positive</title> </head> <body> <form action="http://www.example.com" method="post"> <p> <select name="flavour"> <option>Choose A Flavour</option> <option value="c">chocolate</option> <option value="v">vanilla</option> <option value="m">mango</option> </select><br/> <input type="submit" value="submit flavour" /> </p> </form> </body> </html>
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> <head> <meta http-equiv="Content-Type" content="text/xhtml; charset=UTF-8" /> <title>Testfile - Check #274.1 - Positive</title> </head> <body> <form action="http://www.example.com" method="post"> <p> <select name="flavour" onchange="this.form.submit();"> <option>Select a flavour</option> <option value="c">chocolate</option> <option value="v">vanilla</option> <option value="m">mango</option> </select> </p> </form> </body> </html>