GithubHelp home page GithubHelp logo

juliandescottes / ff-dt Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ochameau/ff-dt

0.0 2.0 0.0 42.4 MB

JavaScript 92.10% Shell 0.12% CSS 2.53% HTML 5.22% CoffeeScript 0.01% Protocol Buffer 0.02% C++ 0.01%

ff-dt's Introduction

Developer Tools

Get the sources

git clone [email protected]:ochameau/ff-dt.git --single-branch
cd ff-dt/

Please use --single-branch to only download master branch. These repo contains many branches that are not necessary to build DevTools.

Run tools with a development profile

From ff-dt folder:

./run
* At any time, press `Ctrl+Alt+R` to reload the tools

This will create a development profile for you, with the devtools add-on pre-installed, and some preferences to ease debugging the tools. It also downloads a firefox package, and run it against the custom profile.

If you want to run against a custom Firefox, hand over an absolute path to it via FIREFOX_BIN environement variable.

Run tools via about:debugging

  • Launch Firefox
  • Open about:debugging in a new tab
  • Click on "Load temporary Add-on"
  • Select ff-dt folder and then install.rdf file
  • Press Ctrl+Alt+R to load the tools
  • You can then press this same key shortcut at any time to reload the tools from sources

Build and test the add-on

$ ./bin/build-xpi.sh
* Launch Firefox Nightly/Dev-Edition/Aurora/Beta (i.e. all but release)
* Ensure setting `xpinstall.signatures.required` to false in `about:config`
* Drag'n drop `devtools.xpi` file in Firefox -or- execute path/to/firefox-bin ./devtools.xpi

Run tests

In order to run test you need some python deps to be installed:

  • virtualenv (sudo pip install virtualenv)
    • pip (sudo easy_install pip)
  • npm (only for lint checks)

From ff-dt folder:

# Setup python environement for mochitest test runner
$ source config.sh

# Run all tests
$ ./test

# Run one folder
$ ./test client/inspector/

# Run one test
$ ./test client/inspector/test/browser_inspector_highlighter-01.js

# Run xpcshell test
$ ./bin/run-xpcshell.sh server/tests/unit/test_add_actors.js

# Run lint checks, for everything
$ ./lint

# Run lint checks, for a given file or folder
$ ./lint client/inspector/
$ ./lint client/inspector/inspector.js

A lot more information is available about the tooling, CI, scripts, tooling, repos, branches in bin/README.md file.

ff-dt's People

Contributors

arai-a avatar archaeopteryx avatar bakulf avatar bavariantomcat avatar bgrins avatar dadaa avatar ehsan avatar ejpbruel avatar fitzgen avatar fqueze avatar gabrielluong avatar gregtatum avatar irishsiao avatar janodvarko avatar jasonlaster avatar jlongster avatar jryans avatar jsantell avatar jsnajdr avatar juliandescottes avatar kwierso avatar linclark avatar nchevobbe avatar nt1m avatar ochameau avatar philor avatar rpl avatar rvandermeulen avatar steveck-chung avatar tromey avatar

Watchers

 avatar  avatar

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.