diff --git a/index.bs b/index.bs index c9babdd..ec5ccb2 100644 --- a/index.bs +++ b/index.bs @@ -890,11 +890,17 @@ interface MediaSession { If state's duration is negative or NaN, throw a TypeError. +
  • + If state's position is not present, set it to zero. +
  • If state's position is negative or greater than duration, throw a TypeError.
  • +
  • + If state's playbackRate is not present, set it to 1.0. +
  • If state's playbackRate is zero, throw a TypeError. @@ -1197,8 +1203,8 @@ dictionary dictionary MediaPositionState { unrestricted double duration; - double playbackRate = 1.0; - double position = 0.0; + double playbackRate; + double position; };