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

Side by Side Diff: LayoutTests/svg/dom/viewspec-parser-4.html

Issue 17143003: Rewrite SVG viewspec tests to not be fuzzer tests. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update for landing Created 7 years, 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script src="../../fast/js/resources/js-test-pre.js"></script>
4 <script src="resources/scripted-random.js"></script>
5 <script src="resources/viewspec-parser.js"></script>
6 </head>
7 <body>
8 <p id="description"></p>
9 <div id="console"></div>
10 <script>
11 var tests = [];
12
13 // preserveAspectRatio with random assortments of valid characters
14 for (var i = 0; i < 50; i++) { //>
15 var attributeString = "svgView(preserveAspectRatio(";
16 var count = Math.scriptedRandomInt(20);
17 for (var j = 0; j < count; j++) { //>
18 attributeString += characters[Math.scriptedRandomInt(characters.leng th)];
19 }
20 tests.push(attributeString);
21 }
22
23 if (window.testRunner)
24 testRunner.waitUntilDone();
25
26 startViewspecTests(tests);
27
28 </script>
29 </html>
OLDNEW
« no previous file with comments | « LayoutTests/svg/dom/viewspec-parser-3-expected.txt ('k') | LayoutTests/svg/dom/viewspec-parser-4-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698