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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/dom/method-argument-aritychecks.html

Issue 1359053004: Remove SVG hasExtension() methods (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <script src="../../resources/js-test.js"></script> 2 <script src="../../resources/js-test.js"></script>
3 <svg> 3 <svg>
4 <feDropShadow id=dropshadow></feDropShadow> 4 <feDropShadow id=dropshadow></feDropShadow>
5 <feGaussianBlur id=gaussian></feGaussianBlur> 5 <feGaussianBlur id=gaussian></feGaussianBlur>
6 <animate></animate> 6 <animate></animate>
7 <rect id="foo"></rect> 7 <rect id="foo"></rect>
8 <use xlink:href="#foo"></use> 8 <use xlink:href="#foo"></use>
9 </svg> 9 </svg>
10 <script> 10 <script>
(...skipping 30 matching lines...) Expand all
41 debug(''); 41 debug('');
42 debug(''); 42 debug('');
43 debug('SVGFEGaussianBlurElement'); 43 debug('SVGFEGaussianBlurElement');
44 44
45 debug(''); 45 debug('');
46 debug('setStdDeviation(float stdDeviationX, float stdDeviationY)'); 46 debug('setStdDeviation(float stdDeviationX, float stdDeviationY)');
47 shouldThrow('gaussian.setStdDeviation()'); 47 shouldThrow('gaussian.setStdDeviation()');
48 shouldThrow('gaussian.setStdDeviation(0)'); 48 shouldThrow('gaussian.setStdDeviation(0)');
49 shouldNotThrow('gaussian.setStdDeviation(0, 0)'); 49 shouldNotThrow('gaussian.setStdDeviation(0, 0)');
50 50
51 debug('');
52 debug('');
53 debug('SVGTests');
54
55 debug('');
56 debug('hasExtension(DOMString extension)');
57 shouldThrow('rect.hasExtension()');
58 shouldNotThrow('rect.hasExtension("foo")');
59
60 </script> 51 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698