Vorlonjs icon indicating copy to clipboard operation
Vorlonjs copied to clipboard

DOM Timeline buttons are not visible

Open ffesseler opened this issue 8 years ago • 2 comments

When I click on the DOM Timeline tab, there are no buttons to start/stop the recording :

capture d ecran 2016-11-16 a 22 01 04

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

ffesseler avatar Nov 18 '16 13:11 ffesseler

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>

ffesseler avatar Nov 18 '16 14:11 ffesseler

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.

FremyCompany avatar Nov 18 '16 17:11 FremyCompany