ArchiveTeam / seesaw-kit

Making a reusable toolkit for writing seesaw scripts
Other
69 stars 30 forks source link

Javascript hangs up when starting browser with warrior tab open #90

Open VADemon opened 8 years ago

VADemon commented 8 years ago

The title sums it up. When I click on "Stop script" everything works just fine without reloading the tab.

Firefox: 43.0b5

Script: http://192.168.0.104:8001/script.js?v=1448150479.54:9

2015_11_22_18-43-22__firefox

chfoo commented 8 years ago

Duplicate of #79 maybe?

VADemon commented 8 years ago

Excuse me, it took so long to respond - I've been trying to reproduce this bug since then (although it used to happen quite often back then).

Now I finally got my hands on an active project with 6 working concurrent items, fotolog. Unfortunately, I don't get this error message anymore. Maybe since the grabbing is much slower (and each line shorter), it leads to a much smaller backlog of strings that have to be processed after to the browser startup.

When I "Inspect" the HTML elements that contain logs, the strings are a lot shorter than 2^16=65536, currently the longest log is 38550 characters long. So maybe the problem arises after exceeding this limit of 2^16 characters for a single Javascript string - but that's just a hypothesis