In Intern 5-pre, the current environment resolution code can produce duplicate environments. This is happening because some normalization code that ensures environments have both JWP and W3C specifiers (e.g., both browser and browserName) is running before normalization, and permutations are being made from the duplicate properties.
Ideally, Intern should use a canonical representation internally (just W3C, for example), and do any expansion or adjustment after environments have been resolved.
In Intern 5-pre, the current environment resolution code can produce duplicate environments. This is happening because some normalization code that ensures environments have both JWP and W3C specifiers (e.g., both
browser
andbrowserName
) is running before normalization, and permutations are being made from the duplicate properties.Ideally, Intern should use a canonical representation internally (just W3C, for example), and do any expansion or adjustment after environments have been resolved.