| 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.effectiveType is defined. |
| 10 PASS navigator.connection.rtt is defined. | 10 PASS navigator.connection.rtt is defined. |
| 11 PASS navigator.connection.downlink is defined. | 11 PASS navigator.connection.downlink is defined. |
| 12 PASS typeof connection.type is "string" | 12 PASS typeof connection.type is "string" |
| 13 PASS connection.type is newConnectionType | 13 PASS connection.type is newConnectionType |
| 14 PASS connection.downlinkMax is newDownlinkMax | 14 PASS connection.downlinkMax is newDownlinkMax |
| 15 PASS connection.effectiveType is initialEffectiveType |
| 16 PASS connection.rtt is initialRtt |
| 17 PASS connection.downlink is initialDownlink |
| 15 PASS typeof connection.type is "string" | 18 PASS typeof connection.type is "string" |
| 16 PASS connection.type is initialType | 19 PASS connection.type is initialType |
| 17 PASS connection.downlinkMax is initialDownlinkMax | 20 PASS connection.downlinkMax is initialDownlinkMax |
| 21 PASS connection.effectiveType is initialEffectiveType |
| 22 PASS connection.rtt is initialRtt |
| 23 PASS connection.downlink is initialDownlink |
| 18 PASS successfullyParsed is true | 24 PASS successfullyParsed is true |
| 19 | 25 |
| 20 TEST COMPLETE | 26 TEST COMPLETE |
| 21 | 27 |
| OLD | NEW |