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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/dom/dictionary-member-get-throws.html

Issue 2496533002: binding: Makes Dictionary handle a possible exception in [[Get]]. (Closed)
Patch Set: Fixed a coding style. Created 4 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/imported/wpt/web-animations/interfaces/KeyframeEffect/constructor-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 <script src="../../resources/testharness.js"></script>
3 <script src="../../resources/testharnessreport.js"></script>
4 <script>
5 // http://crbug.com/644237
6 test(function() {
7 // Use Element.animate() that takes a dictionary.
8
9 let element = document.createElement('span');
10
11 let keyFrames = {};
12 Object.defineProperty(keyFrames, 'color', {
13 enumerable: true,
14 get: function() {
15 throw "This exception should be swallowed.";
16 }
17 });
18
19 element.animate(keyFrames);
20 }, "Dictionary member's [[Get]] may throw.");
21
22 done();
23 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/imported/wpt/web-animations/interfaces/KeyframeEffect/constructor-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698