Skip to content

Commit 31f2ef0

Browse files
committed
Modifying regex to allow for new connection types
1 parent bb000bf commit 31f2ef0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

2222
var paths = {

0 commit comments

Comments
 (0)