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

Side by Side Diff: LayoutTests/fast/domurl/check-instanceof-domurl-functions.html

Issue 48903019: Delete js-test-post.js. (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="../js/resources/js-test-pre.js"></script> 4 <script src="../js/resources/js-test-pre.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <script> 7 <script>
8 description("Test instanceof functions and properties of URL and webkitURL."); 8 description("Test instanceof functions and properties of URL and webkitURL.");
9 9
10 var url = new URL('http://www.domain.com/'); 10 var url = new URL('http://www.domain.com/');
11 11
12 shouldBeTrue("'createObjectURL' in URL"); 12 shouldBeTrue("'createObjectURL' in URL");
13 shouldBeTrue("'revokeObjectURL' in URL"); 13 shouldBeTrue("'revokeObjectURL' in URL");
14 14
15 shouldBeUndefined("url.createObjectURL"); 15 shouldBeUndefined("url.createObjectURL");
16 shouldBeUndefined("url.revokeObjectURL"); 16 shouldBeUndefined("url.revokeObjectURL");
17 17
18 shouldBeDefined("window.URL.createObjectURL"); 18 shouldBeDefined("window.URL.createObjectURL");
19 shouldBeDefined("window.URL.revokeObjectURL"); 19 shouldBeDefined("window.URL.revokeObjectURL");
20 20
21 // Following tests remain valid until we actually deprecate webkitURL. 21 // Following tests remain valid until we actually deprecate webkitURL.
22 shouldBeTrue("'createObjectURL' in webkitURL"); 22 shouldBeTrue("'createObjectURL' in webkitURL");
23 shouldBeTrue("'revokeObjectURL' in webkitURL"); 23 shouldBeTrue("'revokeObjectURL' in webkitURL");
24 shouldBeDefined("window.webkitURL.createObjectURL"); 24 shouldBeDefined("window.webkitURL.createObjectURL");
25 shouldBeDefined("window.webkitURL.revokeObjectURL"); 25 shouldBeDefined("window.webkitURL.revokeObjectURL");
26 26
27 </script> 27 </script>
28 <script src="../js/resources/js-test-post.js"></script>
29 </body> 28 </body>
30 </html> 29 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/wrapper-scope.html ('k') | LayoutTests/fast/encoding/api/ascii-supersets.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698