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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/WebIDL/current-realm.html

Issue 2610243002: Import wpt@5e1a3b80cea8d36774d2afd78b29a74792e9f15a (Closed)
Patch Set: Rebased Created 3 years, 11 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
OLDNEW
1 <!-- This tests the agreed upon outcome for https://www.w3.org/Bugs/Public/show_ bug.cgi?id=24652 1 <!-- This tests the agreed upon outcome for https://www.w3.org/Bugs/Public/show_ bug.cgi?id=24652
2 that has not been reflected in the IDL standard yet due to lack of editing resources. 2 that has not been reflected in the IDL standard yet due to lack of editing resources.
3 3
4 TODO: https://github.com/w3c/webcrypto/issues/85 --> 4 TODO: https://github.com/w3c/webcrypto/issues/85 -->
5 <!DOCTYPE html> 5 <!DOCTYPE html>
6 <meta charset=utf-8> 6 <meta charset=utf-8>
7 <title>Current Realm</title> 7 <title>Current Realm</title>
8 <script src="/resources/testharness.js"></script> 8 <script src="/resources/testharness.js"></script>
9 <script src="/resources/testharnessreport.js"></script> 9 <script src="/resources/testharnessreport.js"></script>
10 <div id="log"></div> 10 <div id="log"></div>
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 127
128 obj = CanvasRenderingContext2D.prototype[val[0]].call(c, val[1], val[2], val[3], val[4]); 128 obj = CanvasRenderingContext2D.prototype[val[0]].call(c, val[1], val[2], val[3], val[4]);
129 assert_global(obj) 129 assert_global(obj)
130 assert_global(obj.data) 130 assert_global(obj.data)
131 }, val[0]) 131 }, val[0])
132 }) 132 })
133 133
134 test(function() { 134 test(function() {
135 var c = new self[0].FontFace("test", "about:blank"), 135 var c = new self[0].FontFace("test", "about:blank"),
136 obj = c.load() 136 obj = c.load()
137 obj.catch(function(reason) {
138 // Ignore exception when it fails to load because the URL is invalid.
139 });
137 assert_global(obj) 140 assert_global(obj)
138 141
139 obj = FontFace.prototype.load.call(c) 142 obj = FontFace.prototype.load.call(c)
140 assert_global(obj) 143 assert_global(obj)
141 }, "FontFace's load()") 144 }, "FontFace's load()")
142 145
143 done() 146 done()
144 } 147 }
145 </script> 148 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698