OLD | NEW |
1 This test copies all the elements containing event handlers and javascript urls,
pastes them in an editable area and verifies that no script, handlers or javasc
ript urls are copied. | 1 This test copies all the elements containing event handlers and javascript urls,
pastes them in an editable area and verifies that no script, handlers or javasc
ript urls are copied. |
2 Hello | 2 Hello |
3 CNN Hello | 3 CNN Hello |
4 This is a form | 4 This is a form |
5 Submit. | 5 Submit. |
6 Hello | 6 Hello |
7 CNN Hello | 7 CNN Hello |
8 This is a form | 8 This is a form |
9 Submit. | 9 Submit. |
10 <button id="button1" onclick="sayHello()" ondblclick="sayHello()" style="width:
100px;">Hello</button> | 10 <button id="button1" onclick="sayHello()" ondblclick="sayHello()" style="width:
100px;">Hello</button> |
11 <button id="button1" style="width: 100px;">Hello</button> | 11 <button id="button1" style="width: 100px;">Hello</button> |
12 <a id="anchor1" href="http://www.cnn.com/">CNN</a> | 12 <a id="anchor1" href="http://www.cnn.com/">CNN</a> |
13 <a id="anchor1" href="http://www.cnn.com/">CNN</a> | 13 <a id="anchor1" href="http://www.cnn.com/">CNN</a> |
14 <a id="anchor2" href="javascript:sayHello()">Hello</a> | 14 <a id="anchor2" href="javascript:sayHello()">Hello</a> |
15 <a id="anchor2">Hello</a> | 15 <a id="anchor2">Hello</a> |
16 <iframe id="iframe1" src="javascript:var x = 1;" style="width: 200px; height: 10
0px; background-color:#cee;"></iframe> | 16 <iframe id="iframe1" src="javascript:var x = 1;" style="width: 200px; height: 10
0px; background-color:#cee;"></iframe> |
17 <iframe id="iframe1" style="width: 200px; height: 100px; background-color: rgb(2
04, 238, 238);"></iframe> | 17 <iframe id="iframe1" style="width: 200px; height: 100px; background-color: rgb(2
04, 238, 238);"></iframe> |
18 <iframe id="iframe2" srcdoc="<script>var x = 1;</script>" style="wid
th: 200px; height: 100px; background-color:#cee;"></iframe> | 18 <iframe id="iframe2" srcdoc="<script>var x = 1;</script>" style="width: 200px; h
eight: 100px; background-color:#cee;"></iframe> |
19 <iframe id="iframe2" style="width: 200px; height: 100px; background-color: rgb(2
04, 238, 238);"></iframe> | 19 <iframe id="iframe2" style="width: 200px; height: 100px; background-color: rgb(2
04, 238, 238);"></iframe> |
20 <form id="form1" action="javascript:sayHello()" formaction="javascript:sayHello(
)" style="width: 200px; height: 150px; background-color:#cee;">This is a form<br
><img src="../resources/abe.png"><button formaction="javascript:sayHello()">Subm
it.</button></form> | 20 <form id="form1" action="javascript:sayHello()" formaction="javascript:sayHello(
)" style="width: 200px; height: 150px; background-color:#cee;">This is a form<br
><img src="../resources/abe.png"><button formaction="javascript:sayHello()">Subm
it.</button></form> |
21 <form id="form1" formaction="javascript:sayHello()" style="width: 200px; height:
150px; background-color: rgb(204, 238, 238);">This is a form<br><img src="../re
sources/abe.png"><button>Submit.</button></form> | 21 <form id="form1" formaction="javascript:sayHello()" style="width: 200px; height:
150px; background-color: rgb(204, 238, 238);">This is a form<br><img src="../re
sources/abe.png"><button>Submit.</button></form> |
OLD | NEW |