Skip to content

Commit 611f59f

Browse files
committed
added new chrome only cmdline option
1 parent 09d3d3a commit 611f59f

2 files changed

Lines changed: 8 additions & 0 deletions

File tree

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ _The default WPT server can also be specified via environment variable `WEBPAGET
109109
* **-J, --swrender**: force software rendering, disable GPU acceleration (Chrome only)
110110
* **-Q, --noparser**: disable threaded HTML parser (Chrome only)
111111
* **-q, --spdynossl**: use SPDY without SSL (Chrome only)
112+
* **--cmdline** _\<switches\>_: use a list of custom command line switches (Chrome only)
112113
* **--poll** _[interval]_: poll for results after test is scheduled at every <interval> seconds [5]
113114
* **--wait** _[hostname:port]_: wait for test results informed by agent once complete listening on <hostname>:<port> [hostname:first port available above 8000]
114115
* **--timeout** _\<seconds\>_: timeout for polling and waiting results [no timeout]
@@ -398,6 +399,7 @@ wpt.runTest(script, function(err, data) {
398399
* **forceSoftwareRendering**: _Boolean_, force software rendering, disable GPU acceleration (Chrome only)
399400
* **disableThreadedParser**: _Boolean_, disable threaded HTML parser (Chrome only)
400401
* **spdyNoSSL**: _Boolean_, use SPDY without SSL (Chrome only)
402+
* **commandLine**: _[String]_, use a list of custom command line switches (Chrome only)
401403
* **pollResults**: _Number_, poll for results after test is scheduled at every <interval> seconds [5]
402404
* **waitResults**: _String_, wait for test results informed by agent once complete listening on <hostname>:<port> [hostname:first port available above 8000]
403405
* **timeout**: _Number_, timeout (in seconds) for pollResults and waitResults [no timeout]

lib/mapping.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -331,6 +331,12 @@ var options = {
331331
bool: true,
332332
info: 'use SPDY without SSL (Chrome only)'
333333
},
334+
'cmdline': {
335+
name: 'commnadLine',
336+
api: 'cmdline',
337+
param: 'switches',
338+
info: 'use a list of custom command line switches (Chrome only)'
339+
},
334340
'poll': {
335341
name: 'pollResults',
336342
param: 'interval',

0 commit comments

Comments
 (0)