@@ -57,7 +57,6 @@ function parseOptions() {
5757 strictVerify : { type : "boolean" , default : false } ,
5858 testfilter : { type : "string" , short : "t" , multiple : true , default : [ ] } ,
5959 unitTest : { type : "boolean" , default : false } ,
60- xfaOnly : { type : "boolean" , default : false } ,
6160 } ,
6261 } ) ;
6362
@@ -83,8 +82,7 @@ function parseOptions() {
8382 " --statsFile File where to store stats.\n" +
8483 " --strictVerify Error if manifest file verification fails.\n" +
8584 " --testfilter, -t Run specific reftest(s), e.g. -t=issue5567.\n" +
86- " --unitTest Run the unit tests.\n" +
87- " --xfaOnly Only run the XFA reftest(s)."
85+ " --unitTest Run the unit tests.\n"
8886 ) ;
8987 process . exit ( 0 ) ;
9088 }
@@ -97,17 +95,6 @@ function parseOptions() {
9795 "--reftest, --unitTest, --fontTest, and --masterMode must not be specified together."
9896 ) ;
9997 }
100- if (
101- + values . unitTest + values . fontTest + values . integration + values . xfaOnly >
102- 1
103- ) {
104- throw new Error (
105- "--unitTest, --fontTest, --integration, and --xfaOnly must not be specified together."
106- ) ;
107- }
108- if ( values . testfilter . length > 0 && values . xfaOnly ) {
109- throw new Error ( "--testfilter and --xfaOnly cannot be used together." ) ;
110- }
11198 if ( values . noDownload && values . downloadOnly ) {
11299 throw new Error ( "--noDownload and --downloadOnly cannot be used together." ) ;
113100 }
@@ -347,18 +334,14 @@ function handleSessionTimeout(session) {
347334function getTestManifest ( ) {
348335 var manifest = JSON . parse ( fs . readFileSync ( options . manifestFile ) ) ;
349336
350- const testFilter = options . testfilter . slice ( 0 ) ,
351- xfaOnly = options . xfaOnly ;
352- if ( testFilter . length || xfaOnly ) {
337+ const testFilter = options . testfilter . slice ( 0 ) ;
338+ if ( testFilter . length ) {
353339 manifest = manifest . filter ( function ( item ) {
354340 var i = testFilter . indexOf ( item . id ) ;
355341 if ( i !== - 1 ) {
356342 testFilter . splice ( i , 1 ) ;
357343 return true ;
358344 }
359- if ( xfaOnly && item . enableXfa ) {
360- return true ;
361- }
362345 return false ;
363346 } ) ;
364347 if ( testFilter . length ) {
@@ -968,7 +951,6 @@ async function startBrowsers({ baseUrl, initializeSession }) {
968951 `?browser=${ encodeURIComponent ( browserName ) } ` +
969952 `&manifestFile=${ encodeURIComponent ( "/test/" + options . manifestFile ) } ` +
970953 `&testFilter=${ JSON . stringify ( options . testfilter ) } ` +
971- `&xfaOnly=${ options . xfaOnly } ` +
972954 `&delay=${ options . statsDelay } ` +
973955 `&masterMode=${ options . masterMode } ` ;
974956 startUrl = baseUrl + queryParameters ;
0 commit comments