
Product
Introducing Socket Firewall Enterprise: Flexible, Configurable Protection for Modern Package Ecosystems
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.
devtools-reps-jdescottes
Advanced tools

Reps is Firefox DevTools' remote object formatter. It stands for representation.
const React = require("react");
let { Rep, Grip } = require("devtools-modules");
function renderRep({ object, mode }) {
return Rep({ object, defaultRep: Grip, mode });
}
ReactDOM.render(
Rep({ object, defaultRep: Grip, mode }),
document.createElement("div")
);
RepRep is the top-level component that is capable of formatting any type.
Supported types:
RegExp, StyleSheet, Event, DateTime, TextNode, Attribute, Func, ArrayRep, Document, Window, ObjectWithText, ObjectWithURL, GripArray, GripMap, Grip, Undefined, Null, StringRep, Number, SymbolRep,
GripGrip is a client representation of a remote JS object and is used as an input object for this rep component.
You need to clone the repository, then install dependencies, for which you'll need the Yarn tool:
git clone https://github.com/devtools-html/reps.git
cd reps
yarn install
Once everything is installed, you can start the development server with:
yarn start
and navigate to http://localhost:8000 to access the dashboard.
Navigating to the above address will have landed you on an empty launchpad UI:

Click on the Launch Firefox button. This should launch Firefox with a dedicated profile, listening for connections on port 6080.
The UI should update automatically and show you at least one tab for the new Firefox instance. If it doesn't, reload the dashboard.

Click on any of the tabs. This should open the demo app:

Then you can type any expression in the input field. They will be evaluated against the target tab selected in the previous steps (so if there specific objects on window on this webpage, you can check how they are represented with reps etc, ...).
Reps tests are mochitests (see documentation on MDN).
They are run on every pull request with Circle CI.
They need a mozilla-central clone to be run locally.
bin/prepare-mochitest-dev, this will create a clone of mozilla-central in your repository root folder, under /firefox.yarn run copy-assets-watch, this will continuously bundle and copy reps sources to the clone of mozilla central (as well as the tests) when you modify them./mach test devtools/client/shared/components/reps{
"firefox": {
"mcPath": "/Path/to/your/mc/clone/"
}
}
yarn run copy-assets-watch, this will continuously bundle and copy reps sources to the clone of mozilla central (as well as the tests) when you modify themcd into your mozilla-central clone./mach test devtools/client/shared/components/repsThe Reps project was ported to Github January 18th, 2017. You can view the history of a file after that date on github or by running this query:
git log --before "2017-1-17" devtools/client/shared/components/reps
mozilla-centralSee https://github.com/devtools-html/reps/blob/master/RELEASE.md
FAQs
Devtools Reps
We found that devtools-reps-jdescottes demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Product
Socket Firewall Enterprise is now available with flexible deployment, configurable policies, and expanded language support.

Security News
Open source dashboard CNAPulse tracks CVE Numbering Authorities’ publishing activity, highlighting trends and transparency across the CVE ecosystem.

Product
Detect malware, unsafe data flows, and license issues in GitHub Actions with Socket’s new workflow scanning support.