Coder Social home page Coder Social logo

protocol's Introduction

protocol

Definition of the protocol used by the Record Replay web service

protocol's People

Contributors

bhackett1024 avatar hbenl avatar jazzdan avatar loganfsmyth avatar jaril avatar

Stargazers

Ankesh Bharti avatar Andrey avatar Paul Cody Johnston avatar Sagir Khan avatar

Watchers

 avatar James Cloos avatar  avatar  avatar

protocol's Issues

Integrate protocol into the backend

Now that we publish the protocol to NPM it is widely available and documented on the site and there are few benefits to having the code be openly available.

There are also drawbacks to having another repo. The primary one being that it is harder to add new backend handlers.

Remove Internal.getAssertionFilters

This method hasn't been used in several months, and is kind of a weird concept. We can insert diagnostic assertions in JS code using environment variables when testing, which would be more appropriate.

Consider renaming script to source

The name for Debugger.ScriptId was modeled after the Runtime.ScriptId type in the chrome devtools protocol, but I don't think it fits our current or future use cases very well. For us, a script is not just a piece of JS, but anything that contains source code. So, an HTML page's content is a "script". As we support additional languages in the future this will feel even weirder, and can cause friction as people use the protocol.

I think we should rename "script" to "source" throughout the protocol. Source is a more generic term that matches what we mean here: something that contains source code.

Deploy to NPM

There are several advantages to deploying to NPM

  1. other projects can pull the protocol types
  2. other projects for some reason could stay on a later version
  3. devtools can use the NPM version

Is this worse than what we're doing now? No, because we'll always want to update the frontend when we make a change to the protocol.

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.