It makes applyInit() distinguish between empty string and undefined
values. Its important that we actually apply empty string values and
not treat them the same as missing values.
It initializes test() and exec() component values to the empty
string. This is consistent with the native implementation.
Fixes a bug in the test driver where empty string was not
distinguished from undefined.
Moves the default port canonicalization into canonicalizePort().
This commit makes the following changes:
It makes applyInit() distinguish between empty string and undefined values. Its important that we actually apply empty string values and not treat them the same as missing values.
It initializes test() and exec() component values to the empty string. This is consistent with the native implementation.
Fixes a bug in the test driver where empty string was not distinguished from undefined.
Moves the default port canonicalization into canonicalizePort().