mirror of
https://github.com/servo/servo.git
synced 2025-08-19 04:15:33 +01:00
Update web-platform-tests to revision 6856483bcc86322198f10e0c42385a7f9127eb66
This commit is contained in:
parent
b1a2b6b5bf
commit
ff06f1d031
265 changed files with 7539 additions and 988 deletions
|
@ -26,8 +26,9 @@ function performChromiumSetup() {
|
|||
// Load the Chromium-specific resources.
|
||||
let prefix = '/resources/chromium';
|
||||
let extra = [];
|
||||
if (window.location.pathname.includes('/LayoutTests/')) {
|
||||
let root = window.location.pathname.match(/.*LayoutTests/);
|
||||
const pathname = window.location.pathname;
|
||||
if (pathname.includes('/LayoutTests/') || pathname.includes('/web_tests/')) {
|
||||
let root = pathname.match(/.*(?:LayoutTests|web_tests)/);
|
||||
prefix = `${root}/external/wpt/resources/chromium`;
|
||||
extra = [
|
||||
`${root}/resources/bluetooth/bluetooth-fake-adapter.js`,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue