Re: [webrtc-stats] upgrade to Node 8 (respec now uses async/await)

`webrtc-stats.html` has `<script class="remove" src="https://www.w3.org/Tools/respec/respec-w3c-common">` so it uses the latest published respec version (currently 1.7.1).

@dontcallmedom noticed recent travis builds were failing because respec now uses `async` and Travis was still running Node 6.

This was the error he got from https://travis-ci.org/w3c/webrtc-stats/builds/290375085:
```
node support/respec/tools/respec2html.js -e --src file://`pwd`/webrtc-stats.html --out build/output.html
/home/travis/build/w3c/webrtc-stats/support/respec/tools/respecDocWriter.js:31
async function writeTo(outPath, data) {
^^^^^^^^
SyntaxError: Unexpected token function
```

Switching to Node 8 fixes this particular issue but repesc still fails https://travis-ci.org/w3c/webrtc-stats/builds/290456592:
```
node support/respec/tools/respec2html.js -e --src file://`pwd`/webrtc-stats.html --out build/output.html
😱 ReSpec error: [object Object]
make: *** [build/output.html] Error 1
```

Good or bad news we are not the only one having issues
https://github.com/w3c/spec-generator/pull/44#issuecomment-338206307

@marcoscaceres, Dom noticed a `ReferenceError: respecConfig is not defined` error in the console.

-- 
GitHub Notification of comment by vivienlacourba
Please view or discuss this issue at https://github.com/w3c/webrtc-stats/pull/252#issuecomment-338221895 using your GitHub account

Received on Friday, 20 October 2017 14:25:33 UTC