Suggestion: DON'T auto-reopen Preview after it has hung


#1

The hang of Preview with file auto-save (<experimental) enabled when e.g. the intermediate state of entered code is an infinite JS loop is I guess known.

Once I’ve killed the browser, when I reopen the project, the Preview tab reappears with page show and promptly hangs again.

Please consider showing the safe http://i.imgur.com/C7cTxX6.png instead.

Workarounds:

  1. Be very quick in closing the Preview tab before the hang.
  2. Clone the project. The clone opens with Prievew showing the safe http://i.imgur.com/C7cTxX6.png

#2

On which browser do you see this?
On chrome http://i.imgur.com/C7cTxX6.png is always shown


#3

On which browser do you see this?

Google Chrome Version 52.0.2743.116 m (64-bit)

On chrome http://i.imgur.com/C7cTxX6.png is always shown

Not here.


#4

Could you please create a screencast of the issue, or give detailed dscription of steps you take, (do you kill whole browser or just cloud9 tab, how do you ropen it, etc.)


#5

1 With auto-save enabled and Preview open on an HTML file enter some infinite loop code e.g.

for(var dt = t;dt.next().length,dt = dt.next();  	)
{
  d = d.addsecs(dt.data('duration'));
  
  dt.children('td:first').text(timeHM(d));
}

2 See tab go non-responsive.
3 Click X on this tab and wait for close, leaving other tabs.
4 Reopen workspace

Desired: Preview shows safe placeholder
Observed: Previews shows content and tab hangs

On Google Chrome Version 52.0.2743.116 m (64-bit).