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

Side by Side Diff: LayoutTests/fast/dom/exception-in-binding.html

Issue 58533003: Move fast/js/resources files to resources. (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 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <script src="../js/resources/js-test-pre.js"></script> 5 <script src="../../resources/js-test.js"></script>
6 <script> 6 <script>
7 description("Tests to ensure that attributes are not set when an exceptions is raised while converting argument to JSValue."); 7 description("Tests to ensure that attributes are not set when an exceptions is raised while converting argument to JSValue.");
8 function setName(select) { 8 function setName(select) {
9 var stringLike = { 9 var stringLike = {
10 toString: function() { 10 toString: function() {
11 throw new Error("error"); 11 throw new Error("error");
12 } 12 }
13 }; 13 };
14 select.name = stringLike;; 14 select.name = stringLike;;
15 } 15 }
(...skipping 24 matching lines...) Expand all
40 </script> 40 </script>
41 41
42 </head> 42 </head>
43 <body onload="runTest()"> 43 <body onload="runTest()">
44 <select id="select" name="select"> 44 <select id="select" name="select">
45 <option value="value1">Value 1</option> 45 <option value="value1">Value 1</option>
46 <option value="value2" selected>Value 2</option> 46 <option value="value2" selected>Value 2</option>
47 <option value="value3">Value 3</option> 47 <option value="value3">Value 3</option>
48 </select> 48 </select>
49 <p id="description"></p> 49 <p id="description"></p>
50 <script src="../js/resources/js-test-pre.js"></script> 50 <script src="../../resources/js-test.js"></script>
51 </body> 51 </body>
52 </html> 52 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698