Skip to content

Commit 35737a1

Browse files
committed
updated connectivity list
1 parent 250e17b commit 35737a1

4 files changed

Lines changed: 5 additions & 5 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ _The default WPT server can also be specified via environment variable `WEBPAGET
7777
* **-L, --label** _\<label\>_: label for the test
7878
* **-p, --private**: keep the test hidden from the test log
7979
* **-v, --video**: capture video
80-
* **-y, --connectivity** _\<profile\>_: connectivity profile (DSL|FIOS|Dial|custom) [DSL]
80+
* **-y, --connectivity** _\<profile\>_: connectivity profile (Cable|DSL|FIOS|Dial|3G|3GFast|Native|custom) [Cable]
8181
* **-m, --dom** _\<element\>_: DOM element to record for sub-measurement
8282
* **-c, --connections** _\<number\>_: override the number of concurrent connections
8383
* **-i, --onload**: force the test to stop at window.onload
@@ -398,7 +398,7 @@ wpt.runTest(script, function(err, data) {
398398
* **label**: _String_, label for the test
399399
* **private**: _Boolean_, keep the test hidden from the test log
400400
* **video**: _Boolean_, capture video
401-
* **connectivity**: _String_, connectivity profile (DSL|FIOS|Dial|custom) [DSL]
401+
* **connectivity**: _String_, connectivity profile (Cable|DSL|FIOS|Dial|3G|3GFast|Native|custom) [Cable]
402402
* **domElement**: _String_, DOM element to record for sub-measurement
403403
* **connections**: _Number_, override the number of concurrent connections
404404
* **stopAtDocumentComplete**: _Boolean_, force the test to stop at window.onload

lib/mapping.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ var options = {
7070
key: 'y',
7171
api: 'connectivity',
7272
param: 'profile',
73-
info: 'connectivity profile (DSL|FIOS|Dial|custom) [DSL]'
73+
info: 'connectivity profile (Cable|DSL|FIOS|Dial|3G|3GFast|Native|custom) [Cable]'
7474
},
7575
'dom': {
7676
name: 'domElement',

lib/webpagetest.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ var http = require('http'),
1616
mapping = require('./mapping');
1717

1818
var reSpace = /\s/,
19-
reConnectivity = /^(?:DSL|FIOS|Dial|3G|3GFast|Native|custom)$/,
19+
reConnectivity = /^(?:Cable|DSL|FIOS|Dial|3G|3GFast|Native|custom)$/,
2020
reHTMLOutput = /<h\d[^<]*>([^<]+)<\/h\d>/; // for H3 on cancelTest.php
2121

2222
var paths = {

test/fixtures/command-line/help-test.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
-L, --label <label> label for the test
1212
-p, --private keep the test hidden from the test log
1313
-v, --video capture video
14-
-y, --connectivity <profile> connectivity profile (DSL|FIOS|Dial|custom) [DSL]
14+
-y, --connectivity <profile> connectivity profile (Cable|DSL|FIOS|Dial|3G|3GFast|Native|custom) [Cable]
1515
-m, --dom <element> DOM element to record for sub-measurement
1616
-c, --connections <number> override the number of concurrent connections
1717
-i, --onload force the test to stop at window.onload

0 commit comments

Comments
 (0)