Test W3C device API