Git Product home page Git Product logo

Comments (3)

foolip avatar foolip commented on August 19, 2024 1

@dontcallmedom, this actually is not related to mdittmer/web-apis#34, the web-apis repo holds a few different experiments, and the IDL-related code isn't used for Confluence. Confluence works entirely on "object graphs" collected from browsers by traversing the global object, so it doesn't include any API that has never been observed in any browser, including of course any new API surface in specs.

As @lukebjerring points out we have the idlharness.js tests, but we don't use the results of those for Confluence. In https://github.com/foolip/mdn-bcd-collector I'm looking at an approach similar to idlharness.js, generating tests from the IDL but making the checks as permissive as possible to detect support, rather than checking as many details as possible as idlharness.js does. This would feed into BCD, and my vague hope is that BCD will at some point be a better data source than Confluence and we can get similar insights from it.

@dontcallmedom how are you trying to reuse the Confluence data? Is it also for BCD?

from confluence.

lukebjerring avatar lukebjerring commented on August 19, 2024

Is there any way and interest

Provided I understand the question, on wpt.fyi we (cc @foolip) actually scrape authoritative IDL automatically, and use a testing framework to automatically generate tests against the browser implementations from the IDL itself.
https://github.com/web-platform-tests/wpt/blob/master/resources/idlharness.js

For WebRTC specifically, the test results are here:
https://wpt.fyi/results/webrtc?label=master&label=experimental&q=webrtc%2Fidlharness.https.window.html

from confluence.

dontcallmedom avatar dontcallmedom commented on August 19, 2024

I've been using the Confluence data to track progress of the implementations of a few WebRTC specs, e.g. https://dontcallmedom.github.io/webrtc-impl-tracker/?webrtc

What you're trying to do for BCD would be very close to the kind of high-level tracking I would use as well for this (indeed, something complementary to WPT, giving a higher level view of where we are in terms of spec implementations)

from confluence.

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.