Vorlonjs
Vorlonjs copied to clipboard
DOM Timeline buttons are not visible
When I click on the DOM Timeline tab, there are no buttons to start/stop the recording :
Buttons exist in the DOM but with a style of display:none
<div id="pre-recording-mode" class="tb-row" style="display: none">
<button data-client-command="domHistory.startRecording()">Start recording</button>
<button data-client-command="sessionStorage.domTimelineOptions_startRecordingImmediately=true; location.reload()">Reload and record</button>
</div>
Environment : OSX 10.12 Chrome 54 vorlon 0.4
HTML sample :
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title></title>
<script src="http://localhost:1337/vorlon.js"></script>
</head>
<body>
<div>Test Vorlon</div>
</body>
</html>
vorlon log :
2016-10-18 14:10:46 - info: Vorlon.js PROXY listening on port 5050 │~/K/T/test_vorlon $ python -m SimpleHTTPServer 8000
2016-10-18 14:10:46 - info: Vorlon.js SERVER listening on port 1337 │Serving HTTP on 0.0.0.0 port 8000 ...
2016-10-18 14:11:6 - warn: API : No client in session default type=API, session=default
While trying to debug vorlon to help debugging the issue, I've found that the buttons are visible when using the non minified version of vorlon :
<script src="http://localhost:1337/vorlon.max.js"></script>
There seems to be an issue with the minification of DOM Timeline, indeed. The wrong file gets minified, which does not include every script. I haven't got time to look into this deeper tbh.