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

Side by Side Diff: LayoutTests/fast/js/dictionary-string-conversion-exception.html

Issue 23812006: Have Dictionary use V8TRYCATCH_FOR_V8STRINGRESOURCE() macro (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add test Created 7 years, 3 months 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
« no previous file with comments | « no previous file | LayoutTests/fast/js/dictionary-string-conversion-exception-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE HTML>
2 <html>
3 <head>
4 <script src="resources/js-test-pre.js"></script>
5 </head>
6 <body>
7 <script>
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");
10 shouldBeEqualToString("new MessageEvent('message', {origin: 2}).origin", "2");
11 var nonConvertibleToString = {toString: function() { throw "Exception in toStrin g()"; }};
12 shouldThrow("new MessageEvent('message', {origin: nonConvertibleToString})", "'E xception in toString()'");
13 </script>
14 <script src="resources/js-test-post.js"></script>
15 </body>
16 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/js/dictionary-string-conversion-exception-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698