Bug 1057346 - Devtools styling API

You can group those lines in one:
```js
split(/[ . /]/).join("-")
```