This test checks for the presence of the navigator.mediaDevices.getSupportedConstraints() method.
navigator.mediaDevices.getSupportedConstraints()