[applyConstraints] Add web tests to avoid regressions on applyConstraints for EC.

We recently noticed that EC in previous versions of Chrome did not throw
and OverconstrainedError when applyConstraints() was given a
contraddicting EC value. This is currently fixed in upstream.

This CL adds a test to make sure such behaviour is tested and preserved
in the future, unless reconfiguration is allowed.

BUG=923828

Change-Id: I24201bc2f6d2dd153b40067046f706afad0d5702
Reviewed-on: https://chromium-review.googlesource.com/c/1425730
Commit-Queue: Armando Miraglia <armax@chromium.org>
Reviewed-by: Henrik Boström <hbos@chromium.org>
Reviewed-by: Guido Urdaneta <guidou@chromium.org>
Cr-Commit-Position: refs/heads/master@{#624771}
1 file changed