Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: chrome/content/index.html

Issue 5390879414026240: Issue 101 - Fix icon tests (Closed)
Patch Set: Force default position for old version and compare to default position to appSupport data Created July 31, 2014, 11:13 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | chrome/content/tests/ui/icon_position.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <link rel="stylesheet" href="qunit.css"/> 4 <link rel="stylesheet" href="qunit.css"/>
5 <script src="jquery-1.7.1.min.js"></script> 5 <script src="jquery-1.7.1.min.js"></script>
6 <script src="qunit.js"></script> 6 <script src="qunit.js"></script>
7 <script src="common.js" type="text/javascript;version=1.7"></script> 7 <script src="common.js" type="text/javascript;version=1.7"></script>
8 <script src="httpd.js" type="text/javascript;version=1.7"></script> 8 <script src="httpd.js" type="text/javascript;version=1.7"></script>
9 <script type="text/javascript;version=1.7"> 9 <script type="text/javascript;version=1.7">
10 Cu.import("resource://gre/modules/Services.jsm"); 10 Cu.import("resource://gre/modules/Services.jsm");
(...skipping 27 matching lines...) Expand all
38 zipReader.close(); 38 zipReader.close();
39 } 39 }
40 40
41 result.sort(); 41 result.sort();
42 return result; 42 return result;
43 } 43 }
44 44
45 let files = getTestFiles(); 45 let files = getTestFiles();
46 for (let file of files) 46 for (let file of files)
47 { 47 {
48 if (!file.contains("icon"))
49 continue;
48 let script = document.createElement("script"); 50 let script = document.createElement("script");
49 script.setAttribute("src", file); 51 script.setAttribute("src", file);
50 script.setAttribute("type", "text/javascript;version=1.7"); 52 script.setAttribute("type", "text/javascript;version=1.7");
51 document.documentElement.appendChild(script); 53 document.documentElement.appendChild(script);
52 } 54 }
53 </script> 55 </script>
54 </head> 56 </head>
55 <body> 57 <body>
56 <h1 id="qunit-header">Adblock Plus unit tests</h1> 58 <h1 id="qunit-header">Adblock Plus unit tests</h1>
57 <h2 id="qunit-banner"></h2> 59 <h2 id="qunit-banner"></h2>
58 <div id="qunit-testrunner-toolbar"></div> 60 <div id="qunit-testrunner-toolbar"></div>
59 <h2 id="qunit-userAgent"></h2> 61 <h2 id="qunit-userAgent"></h2>
60 <ol id="qunit-tests"></ol> 62 <ol id="qunit-tests"></ol>
61 </body> 63 </body>
62 </html> 64 </html>
OLDNEW
« no previous file with comments | « no previous file | chrome/content/tests/ui/icon_position.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld