Skip to content

Instantly share code, notes, and snippets.

@tomoyukilabs
Last active January 16, 2018 07:41
Show Gist options
  • Select an option

  • Save tomoyukilabs/90563f4d08b54b5f278fd414fb56ecba to your computer and use it in GitHub Desktop.

Select an option

Save tomoyukilabs/90563f4d08b54b5f278fd414fb56ecba to your computer and use it in GitHub Desktop.
Detailed Results in Presentation API Tests - Controlling UA

Overview

This document describes the results in Presentation API controlling UA tests, including all detailed failure behavior that might be omitted due to break caused by its preceeding assertion failure.

Tested Browsers

  • CD65: Chrome Canary 65.0.3318.0 for Desktop (Mac)
  • FA59: Firefox Nightly 59.0a1 (2018-01-14) for Android

Detailed Results

Overall

  • FA59:
    • Calling Presentation API on Firefox Nightly throws SecurityError when a URL like cast: is included in the presentation URLs. The following results were obtained by removing the URL starting with cast: from common.js.
    • Reconnecting to a presentation has not been implemented yet on Firefox for Android.
    • Executing Presentation API often causes a corrupted screen

idlharness.https.html

  • CD65: PASS
  • FA59: PASS

PresentationAvailability_onchange-manual.https.html

  • CD65: PASS
  • FA59: TIMEOUT
    • A value of presentation availability does not change from true to false even when .

PresentationConnection_onclose-manual.https.html

  • CD65: FAIL
    • The presentation connection in connecting state cannot be closed.
  • FA59: FAIL
    • Reconnecting to a presentation has not been implemented yet and stops this test.

PresentationConnection_onconnect-manual.https.html

  • CD65: PASS
    • However, the error "Failed to cast. Please try again." often occurs several seconds after the test ends
  • FA59: PASS

PresentationConnection_onmessage-manual.https.html

  • CD65: PASS
  • FA59: FAIL
    • Messages received from a receiving UA are often passed to a controlling UA as a concatenated single message
    • Binary messages cannot be received

PresentationConnection_onterminate-manual.https.html

  • CD65: FAIL
    • The presentation connection in connecting state cannot be terminated.
  • FA59: FAIL
    • The presentation connection in connecting state cannot be terminated.
    • Terminating a connection in closed state does not work properly.
    • Closing a presentation connection in a nested browsing context due to termination of the presentation cannot be tested since reconnecting to a presentation is not implemented.

PresentationConnection_send-manual.https.html

  • CD65: PASS
  • FA59: FAIL
    • Messages sent from a controlling UA are often passed to a receiving UA as a concatenated single message
    • Sending a message in closed state does not work properly.

PresentationRequest_error.https.html

  • CD65: PASS
  • FA59: PASS

PresentationRequest_mixedcontent.https.html

  • CD65: PASS
  • FA65: FAIL
    • Constructing a presentation request with a URL starting with http: does not throw an error (but calling start returns a Promise rejected with SecurityError).

PresentationRequest_mixedcontent_multiple.https.html

  • CD65: PASS
  • FA65: FAIL
    • Constructing a presentation request with URLs including one or more http: does not throw an error (but calling start returns a Promise rejected with SecurityError).

PresentationRequest_onconnectionavailable-manual.https.html

  • CD65: PASS
  • FA59: PASS

PresentationRequest_sandboxing_error.https.html

  • CD65: PASS
  • FA59: FAIL
    • allow-presentation in sandbox attribute of an iframe element does not work.

PresentationRequest_sandboxing_success.https.html

  • CD65: PASS
  • FA59: PASS

PresentationRequest_success.https.html

  • CD65: PASS
  • FA59: PASS

defaultRequest.https.html

  • CD65: PASS
  • FA59: PASS

[Optional] defaultRequest_success-manual.https.html

  • CD65: PASS
  • FA59: (not supported)

getAvailability.https.html

  • CD65: FAIL
    • Although the Promise from a previous call of getAvailability has been settled, the next call of getAvailability returns the same Promise.
  • FA59: FAIL
    • Although the Promise from a previous call of getAvailability has not been settled yet, the next call of getAvailability does not return the same Promise.

getAvailability_sandboxing_success.https.html

  • CD65: PASS
  • FA59: PASS

reconnectToPresentation_notfound_error.https.html

  • CD65: PASS
  • FA59: PASS

reconnectToPresentation_sandboxing_success.https.html

  • CD65: PASS
  • FA59: PASS

reconnectToPresentation_success-manual.https.html

  • CD65: FAIL
    • When a presentation connection is in connecting state, a call of PresentationRequest.reconnect returns a Promise rejected with NotFoundError, instead of a Promise resolved with the presentation connection
    • A call of PresentationConnection.terminate after reconnecting fires a close event instead of a terminate event
  • FA59: FAIL
    • Reconnecting to a presentation has not been implemented yet.

startNewPresentation_displaynotallowed-manual.https.html

  • CD65: PASS
  • FA59: PASS

startNewPresentation_displaynotfound-manual.https.html

  • CD65: PASS
  • FA59: PASS

startNewPresentation_error.https.html

  • CD65: PASS
  • FA59: FAIL
    • The presentation can start without a user gesture

startNewPresentation_sandboxing_success-manual.https.html

  • CD65: PASS
  • FA59: PASS

startNewPresentation_success-manual.https.html

  • CD65: PASS
  • FA59: PASS

startNewPresentation_unsettledpromise-manual.https.html

  • CD65: PASS
  • FA59: PASS
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment