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

Side by Side Diff: LayoutTests/fast/js/dictionary-string-conversion-exception.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 <script src="resources/js-test-pre.js"></script> 4 <script src="../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <script> 7 <script>
8 description("Checks that an exception is thrown when a dictionary value cannot b e converted to a String"); 8 description("Checks that an exception is thrown when a dictionary value cannot b e converted to a String");
9 shouldBeEqualToString("new MessageEvent('message', {origin: 'test'}).origin", "t est"); 9 shouldBeEqualToString("new MessageEvent('message', {origin: 'test'}).origin", "t est");
10 shouldBeEqualToString("new MessageEvent('message', {origin: 2}).origin", "2"); 10 shouldBeEqualToString("new MessageEvent('message', {origin: 2}).origin", "2");
11 var nonConvertibleToString = {toString: function() { throw "Exception in toStrin g()"; }}; 11 var nonConvertibleToString = {toString: function() { throw "Exception in toStrin g()"; }};
12 shouldThrow("new MessageEvent('message', {origin: nonConvertibleToString})", "'E xception in toString()'"); 12 shouldThrow("new MessageEvent('message', {origin: nonConvertibleToString})", "'E xception in toString()'");
13 </script> 13 </script>
14 </body> 14 </body>
15 </html> 15 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698