https://github.com/web-platform-tests/wpt
Raw File
Tip revision: 9af2d44fe929315a8fe58e78a8057424c187b4e6 authored by James Graham on 07 August 2013, 20:44:23 UTC
fixup! Update crossOrigin attribute definitions.
Tip revision: 9af2d44
README
It goes as follows:

1. generate json/manifest.json
  phantomjs scripts/foreach.phjs scripts/manifest.js <uri_to_manifest.txt> >json/manifest.json

  with manifest.txt the list of the tests

2. generate json/toc.json
  phantomjs scripts/wrapper.phjs scripts/toc.js >json/toc.json

3. get json/data.json 
  from the caniuse github repository
    https://github.com/fyrd/caniuse

4. generate json/report.json
   phantomjs scripts/mash.phjs json/toc.json json/manifest.json json/data.json json/caniuse.json >json/report.json

5. generate the html/*html reports
   phantomjs scripts/report-to-html.phjs --max-level 2 --report json/report.json
back to top