Closed GoogleCodeExporter closed 9 years ago
Maybe make _SessionFile always do a syncRead?
Original comment by classi...@floodgap.com
on 5 Mar 2013 at 5:20
The browser actually is saving the state; if I copy the .bak over .js, it works
in 19, but it won't work in 20.
Original comment by classi...@floodgap.com
on 6 Mar 2013 at 3:32
I don't like this fix, but throwing in a this._ensureInitialized() before
SessionFile.read().then(...) makes everything work. Essentially it makes the
whole thing synchronous as before.
I wonder if there is an OS issue with threads in 10.4. Keeping this open until
I have a better idea how to fix it.
Might as well speed up the session file too.
Original comment by classi...@floodgap.com
on 6 Mar 2013 at 3:48
AuroraFox 20 suffers the same problem.
Original comment by Tobias.N...@gmail.com
on 6 Mar 2013 at 7:21
Does the same fix repair it? I'm thinking we have a race condition in here,
either OS X or due to the slower system speed. I'm not sure of the underlying
cause though.
I'm still dithering over what to do with copyfile(), but that doesn't apply to
10.5. The pure-JS version is clearly too slow, however.
Original comment by classi...@floodgap.com
on 6 Mar 2013 at 4:03
Decided to go with the older native approach.
Leaving open until we find a better solution or give up.
Original comment by classi...@floodgap.com
on 10 Mar 2013 at 11:54
Temporarily had to revert for 24 since this code changed quite a bit.
Original comment by classi...@floodgap.com
on 9 Jul 2013 at 2:02
Fixed by Mozilla in Fx28. However, see the remaining note in
nsSessionStartup.js in 10.4Fx 29 and
https://bugzilla.mozilla.org/show_bug.cgi?id=952224.
Wontfix for 24.
Original comment by classi...@floodgap.com
on 19 Apr 2014 at 9:16
Original issue reported on code.google.com by
classi...@floodgap.com
on 5 Mar 2013 at 5:18