You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is from here, authors might pass an unsupported parameter to navigator.getAutoplayPolicy(ctor) and navigator.getAutoplayPolicy(object).
When that situation happens, those methods should throw type error, like this example. Currently we only support constructor and element for HTMLMediaElement and AudioContext, all other constructors or elements passed to the methods should cause throwing an exception.
The text was updated successfully, but these errors were encountered:
This is from here, authors might pass an unsupported parameter to
navigator.getAutoplayPolicy(ctor)
andnavigator.getAutoplayPolicy(object)
.When that situation happens, those methods should throw type error, like this example. Currently we only support constructor and element for
HTMLMediaElement
andAudioContext
, all other constructors or elements passed to the methods should cause throwing an exception.The text was updated successfully, but these errors were encountered: