Coder Social home page Coder Social logo

Comments (9)

mounirlamouri avatar mounirlamouri commented on June 12, 2024

I've sent a PR to update the README. The tests in the repo are the ones avayvod@ and I uploaded from Blink. I wouldn't say I'm happy because a lot of tests require to interact with the remote device and we can't do that from WPT but it's better than nothing.

from remote-playback.

Honry avatar Honry commented on June 12, 2024

@avayvod, @mounirlamouri, please tell me if anything I can help. :)

from remote-playback.

anssiko avatar anssiko commented on June 12, 2024

@mounirlamouri if you'd like @Honry to take a stab at the implementation report, he'd appreciate instructions on how to setup the test environment. @Honry has developed manual tests for other APIs such as battery-status in the past.

from remote-playback.

mounirlamouri avatar mounirlamouri commented on June 12, 2024

I guess something you can start with is looking at the tests that we have in Blink using our internal test infrastructure.

The issue with this API is that you will have to use a Chrome Cast compatible device to test the API on Chrome but another browser might not support Chrome Cast. The test preconditions will have to start with something a bit hand-wavy like "Have a device compatible with the browser on your WiFi". Because only Chrome (maybe other Chrome-based browsers) has an implementation for this at the moment, it would be hard to be clearer.

from remote-playback.

Honry avatar Honry commented on June 12, 2024

@mounirlamouri, I glance over both Chromium Layout tests and wpt tests, almost all the tests are about exceptions and I can easily generate the test report. If you need please tell me which platforms should be covered.

The issue with this API is that you will have to use a Chrome Cast compatible device to test the API on Chrome but another browser might not support Chrome Cast.

This is the issue Presentation API had ever encountered, but now they have much more sufficient test suite, maybe we can consult them.

from remote-playback.

mounirlamouri avatar mounirlamouri commented on June 12, 2024

At the moment, only Chrome Android supports the Remote Playback API so I guess you should only do a report on this platform?

Following a pattern similar to Presentation API would make sense. I wonder how much we can use this as an inspiration as the Remote Playback API is fairly simpler.

from remote-playback.

avayvod avatar avayvod commented on June 12, 2024

Chrome Desktop also exposes the API but doesn't support any remote playback devices yet.

from remote-playback.

Honry avatar Honry commented on June 12, 2024

Actually the test result of current test suite are all pass on both Chrome for Android and Desktop, I just committed the report at w3c/test-results#102. PTAL.

from remote-playback.

Honry avatar Honry commented on June 12, 2024

Following a pattern similar to Presentation API would make sense. I wonder how much we can use this as an inspiration as the Remote Playback API is fairly simpler.

@mounirlamouri, let's talk about the issue in this thread: #92

from remote-playback.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.