[mediasource-duration-boundaryconditions.html]
  type: testharness
  prefs: [media.mediasource.enabled:true]
  [Set duration to 2^31 - 1]
    expected:
      if os == "linux": FAIL
      if (os == "win") and (version == "5.1.2600"): FAIL

  [Set duration to 1]
    expected:
      if os == "linux": FAIL
      if (os == "win") and (version == "5.1.2600"): FAIL

  [Set duration to Number.MAX_VALUE]
    expected:
      if os == "linux": FAIL
      if (os == "win") and (version == "5.1.2600"): FAIL

  [Set duration to Number.MIN_VALUE]
    expected:
      if os == "linux": FAIL
      if (os == "win") and (version == "5.1.2600"): FAIL

  [Set duration to Number.MAX_VALUE - 1]
    expected:
      if os == "linux": FAIL
      if (os == "win") and (version == "5.1.2600"): FAIL

  [Set duration to Number.MIN_VALUE - 1]
    expected:
      if os == "linux": FAIL
      if (os == "win") and (version == "5.1.2600"): FAIL

  [Set duration to Number.POSITIVE_INFINITY]
    expected:
      if os == "linux": FAIL
      if (os == "win") and (version == "5.1.2600"): FAIL

  [Set duration to Number.NEGATIVE_INFINITY]
    expected:
      if os == "linux": FAIL
      if (os == "win") and (version == "5.1.2600"): FAIL

  [Set duration to lowest value.]
    expected:
      if os == "linux": FAIL
      if (os == "win") and (version == "5.1.2600"): FAIL

  [Set duration to a negative double.]
    expected:
      if os == "linux": FAIL
      if (os == "win") and (version == "5.1.2600"): FAIL

  [Set duration to a positive double.]
    expected:
      if os == "linux": FAIL
      if (os == "win") and (version == "5.1.2600"): FAIL

  [Set duration to zero]
    expected:
      if os == "linux": FAIL
      if (os == "win") and (version == "5.1.2600"): FAIL

  [Set duration to NaN]
    expected:
      if os == "linux": FAIL
      if (os == "win") and (version == "5.1.2600"): FAIL

