@@ -331,20 +331,17 @@ function handleSessionTimeout(session) {
331331 closeSession ( browser ) ;
332332}
333333
334- function getTestManifest ( label = null ) {
334+ function getTestManifest ( ) {
335335 var manifest = JSON . parse ( fs . readFileSync ( options . manifestFile ) ) ;
336336
337337 const testFilter = options . testfilter . slice ( 0 ) ;
338- if ( label || testFilter . length ) {
338+ if ( testFilter . length ) {
339339 manifest = manifest . filter ( function ( item ) {
340340 var i = testFilter . indexOf ( item . id ) ;
341341 if ( i !== - 1 ) {
342342 testFilter . splice ( i , 1 ) ;
343343 return true ;
344344 }
345- if ( label && item . labels ?. includes ( label ) ) {
346- return true ;
347- }
348345 return false ;
349346 } ) ;
350347 if ( testFilter . length ) {
@@ -1071,8 +1068,8 @@ async function closeSession(browser) {
10711068 }
10721069}
10731070
1074- async function ensurePDFsDownloaded ( label = null ) {
1075- const manifest = getTestManifest ( label ) ;
1071+ async function ensurePDFsDownloaded ( ) {
1072+ const manifest = getTestManifest ( ) ;
10761073 await downloadManifestFiles ( manifest ) ;
10771074 try {
10781075 await verifyManifestFiles ( manifest ) ;
@@ -1116,7 +1113,7 @@ async function main() {
11161113 await startUnitTest ( "/test/font/font_test.html" , "font" ) ;
11171114 } else if ( options . integration ) {
11181115 // Allows linked PDF files in integration-tests as well.
1119- await ensurePDFsDownloaded ( "integration" ) ;
1116+ await ensurePDFsDownloaded ( ) ;
11201117 await startIntegrationTest ( ) ;
11211118 } else {
11221119 await startRefTest ( options . masterMode , options . reftest ) ;
0 commit comments