Best practices for feature detection of DOM API · Issue #137 · w3ctag/design-principles
One example: WebXR have a feature detection method, supportsSession(), which returns a promise which rejects if the session type is not supported. Should this return a Promise, on th...
github.com