Open
Description
Some code that runs in either the browser or a non-browser environment may have dedicated code paths for each, e.g. because certain code isn't expected to work- or to be exposed in browsers (or vice versa). The only API that is exposed in the minimum common API appears to be navigator.userAgent
and it looks fragile when it comes to detecting browser vs non-browser environments.
Are there plans to have a clear signal that can be used to detect the presence of the minimum common API?
Metadata
Metadata
Assignees
Labels
No labels