Skip to content
This repository was archived by the owner on Apr 11, 2024. It is now read-only.

Commit 5b99ff6

Browse files
committed
Merge remote-tracking branch 'WebPlatformTest/version-9.0' into version-9.0
2 parents 085641f + d03248e commit 5b99ff6

File tree

179 files changed

+506
-1853
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

179 files changed

+506
-1853
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
backend/config.php
22
composer.lock
33
vendor/
4+
.DS_Store

.htaccess

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,6 @@ RewriteRule ^results/search.html$ /backend/controllers/search.php
2929
RewriteRule ^results/related/(.+).html$ /backend/controllers/fingerprint.php?id=$1
3030
RewriteRule ^results/(.+)/timeline/(.+).html$ /backend/controllers/timeline.php?id=$2&type=$1
3131
RewriteRule ^results/timeline/(.+).html$ /backend/controllers/timeline.php?id=$1&type=mobile
32-
RewriteRule ^devicelab/inventory.html$ /backend/controllers/lab-inventory.php
33-
RewriteRule ^devicelab/?$ /backend/controllers/lab.php
3432

3533
RewriteRule ^favicon(.*)$ /images/icons/favicon$1
3634
RewriteRule ^apple-touch-icon(.*)$ /images/icons/apple-touch-icon$1
@@ -52,6 +50,12 @@ RewriteRule ^scripts/useragents http://api.whichbrowser.net/warning.js
5250
</IfModule>
5351
</FilesMatch>
5452

53+
<FilesMatch "upgrade">
54+
<IfModule mod_headers.c>
55+
Header set Access-Control-Allow-Origin "*"
56+
</IfModule>
57+
</FilesMatch>
58+
5559

5660
SetEnvIf User-Agent .*Bada.* BROKEN_CSP
5761

about.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,6 @@ <h1><span>HTML<strong>5</strong>test</span> <em>how well does your browser suppo
4141
<li><a href='/compare/browser/index.html'>Compare</a></li>
4242
</ul>
4343
<ul class='right'>
44-
<li><a href='http://blog.html5test.com/'>News</a></li>
45-
<li><a href='/devicelab'>Device Lab</a></li>
4644
<li class='selected'><a href='/about.html'>About<span> the test</span></a></li>
4745
</ul>
4846
</div>

assets/upgrade

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
OK

backend/controllers/lab-inventory.php

Lines changed: 0 additions & 71 deletions
This file was deleted.

backend/controllers/lab.php

Lines changed: 0 additions & 32 deletions
This file was deleted.

backend/index.php

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818

1919
include('libraries/database.php');
2020
include('libraries/tools.php');
21-
include('models/lab.php');
2221
include('models/raw.php');
2322
include('models/browsers.php');
2423
include('models/results.php');
@@ -96,13 +95,6 @@
9695
echo json_encode(Raw::search($_REQUEST['query']));
9796
break;
9897

99-
case 'loadLabDevice':
100-
if ($data = Lab::getDevice($_REQUEST['id'])) {
101-
echo json_encode($data);
102-
}
103-
104-
break;
105-
10698
case 'loadFeature':
10799
echo json_encode(array(
108100
'key' => $_REQUEST['key'],

backend/models/lab.php

Lines changed: 0 additions & 46 deletions
This file was deleted.

backend/templates/browser.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@ <h1><span>HTML<strong>5</strong>test</span> <em>how well does your browser suppo
5454
<li class='selected'><a href='/compare/browser/index.html'>Compare</a></li>
5555
</ul>
5656
<ul class='right'>
57-
<li><a href='http://blog.html5test.com/'>News</a></li>
58-
<li><a href='/devicelab'>Device Lab</a></li>
5957
<li><a href='/about.html'>About<span> the test</span></a></li>
6058
</ul>
6159
</div>

backend/templates/feature.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ <h1><span>HTML<strong>5</strong>test</span> <em>how well does your browser suppo
4444
<li class='selected'><a href='/compare/browser/index.html'>Compare</a></li>
4545
</ul>
4646
<ul class='right'>
47-
<li><a href='http://blog.html5test.com/'>News</a></li>
48-
<li><a href='/devicelab'>Device Lab</a></li>
4947
<li><a href='/about.html'>About<span> the test</span></a></li>
5048
</ul>
5149
</div>

0 commit comments

Comments
 (0)