~chromium-team/chromium-browser/focal-stable

« back to all changes in this revision

Viewing changes to debian/tests/data/HTML5test/backend/templates/latest.html

  • Committer: Olivier Tilloy
  • Date: 2019-06-05 14:27:38 UTC
  • mto: This revision was merged to the branch mainline in revision 1504.
  • Revision ID: olivier.tilloy@canonical.com-20190605142738-vt1q8apf04qde12k
* Upstream release: 75.0.3770.80
  - CVE-2019-5828: Use after free in ServiceWorker.
  - CVE-2019-5829: Use after free in Download Manager.
  - CVE-2019-5830: Incorrectly credentialed requests in CORS.
  - CVE-2019-5831: Incorrect map processing in V8.
  - CVE-2019-5832: Incorrect CORS handling in XHR.
  - CVE-2019-5833: Inconsistent security UI placement.
  - CVE-2019-5834: URL spoof in Omnibox on iOS.
  - CVE-2019-5835: Out of bounds read in Swiftshader.
  - CVE-2019-5836: Heap buffer overflow in Angle.
  - CVE-2019-5837: Cross-origin resources size disclosure in Appcache.
  - CVE-2019-5838: Overly permissive tab access in Extensions.
  - CVE-2019-5839: Incorrect handling of certain code points in Blink.
  - CVE-2019-5840: Popup blocker bypass.
* Install the chromium snap in place of the debian packages

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE html>
2
 
<html>
3
 
        <head>
4
 
                <title>HTML5test - How well does your browser support HTML5?</title>
5
 
 
6
 
                <meta charset="UTF-8">
7
 
                <meta name="apple-mobile-web-app-capable" content="yes">
8
 
                <meta name="apple-mobile-web-app-status-bar-style" content="black">
9
 
                <meta name="viewport" content="width=device-width, initial-scale=1.0">
10
 
 
11
 
                <link rel="stylesheet" href="/css/main.css" type="text/css">
12
 
                <link rel="stylesheet" href="/css/reporting.css" type="text/css">
13
 
 
14
 
                <script src='/scripts/base.js' type='text/javascript'></script>
15
 
                <script src='/scripts/reporting.js' type='text/javascript'></script>
16
 
 
17
 
                <meta name="application-name" content="HTML5test"/>
18
 
 
19
 
                <link rel="apple-touch-icon" sizes="57x57" href="/images/icons/apple-touch-icon-57x57.png" />
20
 
                <link rel="apple-touch-icon" sizes="114x114" href="/images/icons/apple-touch-icon-114x114.png" />
21
 
                <link rel="apple-touch-icon" sizes="72x72" href="/images/icons/apple-touch-icon-72x72.png" />
22
 
                <link rel="apple-touch-icon" sizes="144x144" href="/images/icons/apple-touch-icon-144x144.png" />
23
 
                <link rel="apple-touch-icon" sizes="60x60" href="/images/icons/apple-touch-icon-60x60.png" />
24
 
                <link rel="apple-touch-icon" sizes="120x120" href="/images/icons/apple-touch-icon-120x120.png" />
25
 
                <link rel="apple-touch-icon" sizes="76x76" href="/images/icons/apple-touch-icon-76x76.png" />
26
 
                <link rel="apple-touch-icon" sizes="152x152" href="/images/icons/apple-touch-icon-152x152.png" />
27
 
                <link rel="icon" type="image/png" href="/images/icons/favicon-16x16.png" sizes="16x16" />
28
 
                <link rel="icon" type="image/png" href="/images/icons/favicon-32x32.png" sizes="32x32" />
29
 
                <link rel="icon" type="image/png" href="/images/icons/favicon-96x96.png" sizes="96x96" />
30
 
                <link rel="icon" type="image/png" href="/images/icons/favicon-160x160.png" sizes="160x160" />
31
 
                <link rel="icon" type="image/png" href="/images/icons/favicon-196x196.png" sizes="196x196" />
32
 
                <meta name="msapplication-TileColor" content="#0092bf" />
33
 
                <meta name="msapplication-TileImage" content="/images/icons/mstile-144x144.png" />
34
 
        </head>
35
 
 
36
 
        <body>
37
 
                <div class='header'>
38
 
                        <h1><span>HTML<strong>5</strong>test</span> <em>how well does your browser support HTML5?</em></h1>
39
 
                        <div class='navigation'>
40
 
                                <ul class='left'>
41
 
                                        <li><a href='/index.html'>Your browser</a></li>
42
 
                                        <li class='selected'><a href='/results/desktop.html'>Other browsers</a></li>
43
 
                                        <li><a href='/compare/browser/index.html'>Compare</a></li>
44
 
                                </ul>
45
 
                                <ul class='right'>
46
 
                                        <li><a href='http://blog.html5test.com/'>News</a></li>
47
 
                                        <li><a href='/devicelab'>Device Lab</a></li>
48
 
                                        <li><a href='/about.html'>About<span> the test</span></a></li>
49
 
                                </ul>
50
 
                        </div>
51
 
                </div>
52
 
 
53
 
                <div class='page'>
54
 
                        <div class='column'>
55
 
                                <div class='paper hasNavigation'>
56
 
                                        <ul class='navigation'>
57
 
                                                <li><a href='/results/desktop.html'>Desktop<span> browsers</span></a></li>
58
 
                                                <li><a href='/results/tablet.html'>Tablets</a></li>
59
 
                                                <li><a href='/results/mobile.html'>Mobiles</a></li>
60
 
                                                <li><a href='/results/other.html'>Other</a></li>
61
 
                                                <li class='more'><a href='/results/search.html'>Search</a></li>
62
 
                                                <li class='more selected'><a href='/results/latest.html'>Latest</a></li>
63
 
                                        </ul>
64
 
 
65
 
                                        <div>
66
 
                                                <div class='scorePanel'>
67
 
 
68
 
                                                        <h2>Latest results</h2>
69
 
 
70
 
                                                        <div id='scoreToggle'></div>
71
 
 
72
 
                                                        <table class='scoreTable latestTable'>
73
 
                                                                <thead>
74
 
                                                                        <tr>
75
 
                                                                                <th class='points'>Score</th>
76
 
                                                                                <th class='nickname'>Browser</th>
77
 
                                                                                <th class='ago'>When</th>
78
 
                                                                        </tr>
79
 
                                                                </thead>
80
 
                                                                <tbody>
81
 
                                                                        <?php foreach($results as $item): ?>
82
 
                                                                        <tr>
83
 
                                                                                <td class='points'><a href='/s/<?php echo $item->uniqueid; ?>.html'><?php echo $item->score; ?></a></td>
84
 
                                                                                <th class='nickname'><a href='/s/<?php echo $item->uniqueid; ?>.html'><?php echo $item->humanReadable; ?></a></th>
85
 
                                                                                <td class='ago'><a href='/s/<?php echo $item->uniqueid; ?>.html'><?php echo $item->ago; ?> ago</a></td>
86
 
                                                                        </tr>
87
 
                                                                        <?php endforeach; ?>
88
 
                                                                </tbody>
89
 
                                                        </table>
90
 
                                                        <p>
91
 
                                                                Please note that all data shown above are unconfirmed test results. They could be fake or
92
 
                                                                belong to a different browser than the one listed.
93
 
                                                        </p>
94
 
 
95
 
                                                </div>
96
 
 
97
 
                                                <script>
98
 
 
99
 
                                                        new ToggleSwitch({
100
 
                                                                parent:         document.getElementById('scoreToggle'),
101
 
                                                                inactive:       'All results',
102
 
                                                                active:         'My results',
103
 
                                                                onChange:       function(active) {
104
 
                                                                                                reload(active ? 'my' : 'all');
105
 
                                                                                        }
106
 
                                                        });
107
 
 
108
 
                                                        function reload(type) {
109
 
                                                                var httpRequest;
110
 
                                                                if (window.XMLHttpRequest) {
111
 
                                                                        httpRequest = new XMLHttpRequest();
112
 
                                                                } else if (window.ActiveXObject) {
113
 
                                                                        httpRequest = new ActiveXObject("Microsoft.XMLHTTP");
114
 
                                                                }
115
 
 
116
 
                                                                httpRequest.open('POST','/api/' + type + 'Results', true);
117
 
                                                                httpRequest.onreadystatechange = process;
118
 
                                                                httpRequest.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
119
 
                                                                httpRequest.send();
120
 
 
121
 
                                                                function process() {
122
 
                                                                        if (httpRequest.readyState == 4 && httpRequest.responseText != '') {
123
 
                                                                                var data = JSON.parse(httpRequest.responseText);
124
 
                                                                                refresh(data);
125
 
                                                                        }
126
 
                                                                }
127
 
                                                        }
128
 
 
129
 
                                                        function refresh(data) {
130
 
                                                                var contents = "";
131
 
                                                                for (var i = 0; i < data.length; i++) {
132
 
                                                                        contents +=
133
 
                                                                                "<tr>" +
134
 
                                                                                        "<td class='points'><a href='/s/" + data[i].uniqueid + ".html'>" + data[i].score + "</a></td>" +
135
 
                                                                                        "<th class='nickname'><a href='/s/" + data[i].uniqueid + ".html'>" + data[i].humanReadable + "</a></th>" +
136
 
                                                                                        "<td class='ago'><a href='/s/" + data[i].uniqueid + ".html'>" + data[i].ago + " ago</a></td>" +
137
 
                                                                                "</tr>";
138
 
 
139
 
                                                                }
140
 
 
141
 
                                                                var o = document.querySelector(".scoreTable tbody");
142
 
                                                                o.innerHTML = contents;
143
 
                                                        }
144
 
 
145
 
                                                </script>
146
 
                                        </div>
147
 
                                </div>
148
 
 
149
 
                                <div class='footer'>
150
 
                                        <div>
151
 
                                                <div class='copyright'>
152
 
                                                        <p>
153
 
                                                                Created by Niels Leenheer.<br>
154
 
                                                                Please note that the HTML5 test is not affiliated with the W3C or the HTML5 working group.<br>
155
 
                                                                HTML5 Logo by <a href="http://www.w3.org/"><abbr title="World Wide Web Consortium">W3C</abbr></a>.
156
 
                                                                Browser detection by <a href='http://whichbrowser.net'>WhichBrowser</a>.
157
 
                                                        </p>
158
 
 
159
 
                                                        <div id='cloudvps'>
160
 
                                                                <a href="http://www.cloudvps.nl" target="_blank" ><b>CloudVPS</b><br> High Availability<br> Cloud Servers</a>
161
 
                                                        </div>
162
 
                                                </div>
163
 
                                        </div>
164
 
                                </div>
165
 
                        </div>
166
 
                </div>
167
 
 
168
 
                <script src='//www.google-analytics.com/ga.js'></script>
169
 
                <script>
170
 
                <!--
171
 
                        try {
172
 
                                var pageTracker = _gat._getTracker("UA-68192-4");
173
 
                                pageTracker._trackPageview();
174
 
                        } catch(err) {}
175
 
                //-->
176
 
                </script>
177
 
        </body>
178
 
</html>