| OLD | NEW |
| 1 Tests the basic operation of NetInfo. | 1 Tests the basic operation of NetInfo. |
| 2 | 2 |
| 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". |
| 4 | 4 |
| 5 | 5 |
| 6 PASS navigator.connection is defined. | 6 PASS navigator.connection is defined. |
| 7 PASS navigator.connection.type is defined. | 7 PASS navigator.connection.type is defined. |
| 8 PASS navigator.connection.downlinkMax is defined. | 8 PASS navigator.connection.downlinkMax is defined. |
| 9 PASS navigator.connection.effectiveType is defined. |
| 9 PASS navigator.connection.rtt is defined. | 10 PASS navigator.connection.rtt is defined. |
| 10 PASS navigator.connection.downlink is defined. | 11 PASS navigator.connection.downlink is defined. |
| 11 PASS typeof connection.type is "string" | 12 PASS typeof connection.type is "string" |
| 12 PASS connection.type is newConnectionType | 13 PASS connection.type is newConnectionType |
| 13 PASS connection.downlinkMax is newDownlinkMax | 14 PASS connection.downlinkMax is newDownlinkMax |
| 14 PASS typeof connection.type is "string" | 15 PASS typeof connection.type is "string" |
| 15 PASS connection.type is initialType | 16 PASS connection.type is initialType |
| 16 PASS connection.downlinkMax is initialDownlinkMax | 17 PASS connection.downlinkMax is initialDownlinkMax |
| 17 PASS successfullyParsed is true | 18 PASS successfullyParsed is true |
| 18 | 19 |
| 19 TEST COMPLETE | 20 TEST COMPLETE |
| 20 | 21 |
| OLD | NEW |