• btolsch's avatar
    [Media Router] Return NotFoundError on dialog exit if appropriate · 21d9a27d
    btolsch authored
    The MR dialog will always be opened when starting a PresentationRequest,
    even if there are no sinks that support the presentation url.  The
    default cast mode will then be some form of mirroring.  This means that
    whether the user selects a device in the dialog or not, the promise from
    start() will be rejected with an AbortError.  Instead, a NotFoundError
    should be used if there were no devices which supported the presentation
    url.
    
    BUG=621161
    
    Review-Url: https://codereview.chromium.org/2108973002
    Cr-Commit-Position: refs/heads/master@{#403336}
    21d9a27d
media_router_tests.gypi 1.81 KB