Encapsule-Annex / schema

A single-page HTML5 application for creating, visualizing, and editing JSON-encoded Soft Circuit Description Language (SCDL) system models.
Other
5 stars 0 forks source link

Firefox application cache handling is still busted #4

Open ChrisRus opened 11 years ago

ChrisRus commented 11 years ago

I continue to struggle to get my appcache monitor state machine to cooperate with Firefox in all cases. Generally it works but there are currently some odd corner cases. In all cases a browser refresh after taking an update seems to correct. But this shouldn't ever be necessary.

ChrisRus commented 11 years ago

Update: The latest update of Firefox seems to make the existing annoyance of an occasionally needing to manually refresh the page post update a constant annoyance. Browser refresh works, but only the WebKit Chrome and Safari seem to actually implement the documented AppCache state machine per specification. I've resisted the urge to rewrite this code as it's fundamentally a state machine (that should be modeled in SCDL). However, that's a ways out still. I plan to come back in and review all the bootstrap code; in particular another go at the AppCache monitor as this is critically important for single-page HTML 5 apps (and tricky to get working despite a simple spec).