Bug
1473854 [wpt PR 11823] - sensors: Stop passing undefined as an invalid SensorOptions value, a=testonly
Automatic update from web-platform-testssensors: Stop passing undefined as an invalid SensorOptions value (#11823)
While the undefined -> double conversion in WebIDL should indeed throw a
TypeError, we cannot forget we have a WebIDL dictionary (SensorOptions) in
the middle:
{frequency: undefined}
is essentially equivalent to
{}
so we do not actually throw a TypeError in this case at all.
--
wpt-commits:
4713ec6523e637619ec607e7882fd1e7ba54cde9
wpt-pr: 11823