Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Side by Side Diff: LayoutTests/fast/forms/radio/radio-onchange.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../js/resources/js-test-pre.js"></script> 4 <script src="../../js/resources/js-test-pre.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <input type="radio" name="test" id="rd"> 7 <input type="radio" name="test" id="rd">
8 <input type="radio" name="test" id="rd2" onchange="handleChange()"> 8 <input type="radio" name="test" id="rd2" onchange="handleChange()">
9 <script> 9 <script>
10 description("This is to test onchange of radio buttons"); 10 description("This is to test onchange of radio buttons");
11 11
12 function handleChange() { 12 function handleChange() {
13 testPassed('onChange event fired for a radio button.'); 13 testPassed('onChange event fired for a radio button.');
14 } 14 }
15 15
16 document.getElementById('rd2').click(); 16 document.getElementById('rd2').click();
17 </script> 17 </script>
18 <script src="../../js/resources/js-test-post.js"></script>
19 </body> 18 </body>
20 </html> 19 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698