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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/custom/getsvgdocument-null.html

Issue 1424313004: Remove HTMLFrameElement.prototype.getSVGDocument() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: android_webview/tools/WebViewShell/test/webexposed/ Created 5 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../resources/js-test.js"></script> 4 <script src="../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <script> 7 <script>
8 description("This tests that 'getSVGDocument' returns null on elements t hat don't contain SVG documents."); 8 description("This tests that 'getSVGDocument' returns null on elements t hat don't contain SVG documents.");
9 9
10 var types = ['object', 'frame', 'iframe', 'embed']; 10 var types = ['object', 'iframe', 'embed'];
11 11
12 types.forEach(function(type) { 12 types.forEach(function(type) {
13 shouldBeNull("document.createElement('" + type + "').getSVGDocument( )"); 13 shouldBeNull("document.createElement('" + type + "').getSVGDocument( )");
14 }); 14 });
15 </script> 15 </script>
16 </body> 16 </body>
17 </html> 17 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698