Update web-platform-tests to revision 30a08266e1951b16ab2587068de64041095bbc2f

This commit is contained in:
WPT Sync Bot 2020-04-08 08:19:32 +00:00
parent 7b5ec99d25
commit 19a2b8047d
185 changed files with 3858 additions and 329 deletions

View file

@ -28,8 +28,10 @@ let loadChromiumResources = Promise.resolve().then(() => {
`${prefix}/barcodedetection_provider.mojom.js`,
`${prefix}/facedetection.mojom.js`,
`${prefix}/facedetection_provider.mojom.js`,
`${prefix}/textdetection.mojom.js`,
'/resources/chromium/mock-barcodedetection.js',
'/resources/chromium/mock-facedetection.js',
'/resources/chromium/mock-textdetection.js',
].forEach(path => {
// Use importScripts for workers.
if (typeof document === 'undefined') {
@ -51,7 +53,8 @@ let loadChromiumResources = Promise.resolve().then(() => {
/**
* @param {String} detectionTestName
* name of mock shape detection test interface,
* must be the item of ["FaceDetectionTest", "BarcodeDetectionTest"]
* must be the item of ["FaceDetectionTest", "BarcodeDetectionTest",
* "TextDetectionTest"]
*/
async function initialize_detection_tests(detectionTestName) {
let detectionTest;