[getdisplaymedia.https.html]
  disabled:
    if os == "android": bug 1550895 (frequently fails on geckoview)
  [displaySurface is supported]
    expected: FAIL

  [getDisplayMedia({"selfBrowserSurface":"invalid"}) must fail with TypeError]
    expected: FAIL

  [getDisplayMedia({"surfaceSwitching":"invalid"}) must fail with TypeError]
    expected: FAIL

  [getDisplayMedia({"systemAudio":"invalid"}) must fail with TypeError]
    expected: FAIL

  [getDisplayMedia({"video":{"displaySurface":"monitor"}}) with getSettings]
    expected: FAIL

  [getDisplayMedia({"video":{"displaySurface":"window"}}) with getSettings]
    expected: FAIL

  [getDisplayMedia({"video":{"displaySurface":"browser"}}) with getSettings]
    expected: FAIL

  [suppressLocalAudioPlayback is supported]
    expected: FAIL

  [getDisplayMedia({"audio":{"suppressLocalAudioPlayback":true}}) with getSettings]
    expected: FAIL

  [getDisplayMedia({"audio":{"suppressLocalAudioPlayback":false}}) with getSettings]
    expected: FAIL

  [getDisplayMedia() with getCapabilities]
    expected: FAIL

  [getDisplayMedia({"monitorTypeSurfaces":"invalid"}) must fail with TypeError]
    expected: FAIL

  [getDisplayMedia({"video":{"displaySurface":"monitor"},"monitorTypeSurfaces":"exclude"}) rejects with TypeError]
    expected: FAIL

  [getDisplayMedia({"video":{"displaySurface":"monitor"},"monitorTypeSurfaces":"include"}) resolves with a monitor track]
    expected: FAIL

  [getDisplayMedia({"monitorTypeSurfaces":"exclude"}) resolves with a non monitor track]
    expected: FAIL