mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision 30a08266e1951b16ab2587068de64041095bbc2f
This commit is contained in:
parent
7b5ec99d25
commit
19a2b8047d
185 changed files with 3858 additions and 329 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue