Commit graph

15 commits

Author SHA1 Message Date
Rob Wood
a9d2d038d2 Bug 1259329 - Split test up to fix intermittent timeout; r=jmaher
MozReview-Commit-ID: 5uDU6ScsDea

--HG--
extra : rebase_source : 03cf31d4e7cb5a986786c22848d0a6c40a2df161
2016-08-15 15:05:24 -04:00
David Rajchenbach-Teller
d9df20222c Bug 1216250 - Limit amount of DOM Storage data stored by Session Restore. r=ttaubert
DOM Storage is a pretty inefficient and memory-hungry storage mechanism. Session Store attempts to record DOM Storage for each tab, which leads to (possibly very large) objects being serialized once to be sent from frame/content to parent and once to be sent from the main thread to the I/O thread. This is a suspect behind a number of crashes (see bug 1106264 for a discussion on the topic).

This patch limits the amount of DOM Storage that Session Restore attempts to store. We perform a quick estimate on the amount of memory needed to serialize DOM Storage and prevent storage larger than ~10M chars being sent from frame/content to the parent. Once this patch has landed, we will need to watch FX_SESSION_RESTORE_DOM_STORAGE_SIZE_ESTIMATE_CHARS to find out whether our threshold is meaningful.

--HG--
extra : transplant_source : %26%07%ADzjT%A9%E3%B9%B9%EC%9D%97n%23%B5%F2%DAZ%CD
2015-10-20 14:15:17 +02:00
Tim Taubert
ec53a971cc Bug 1167579 - Fix intermittent browser_sessionStorage.js failures caused by non-monotonous closedAt=Date.now() r=billm 2015-05-29 19:22:49 +02:00
Tim Taubert
0bbc02dcc0 Bug 1167579 - Fix intermittent browser_broadcast.js failures by rewriting modifySessionStorage() r=billm 2015-05-22 21:01:11 -04:00
Tim Taubert
f7ac0d3c9d Bug 1167502 - Convert sessionstore tests r=billm 2015-05-08 21:15:10 +02:00
Tim Taubert
13d48c8601 Bug 1109875 - Fix sessionstore tests to properly wait for data from closed tabs r=billm 2015-04-28 16:30:47 +02:00
Bill McCloskey
22dcee9a12 Bug 1059007 - Don't skip MozStorageChanged event for frames in session store (r=ttaubert) 2014-09-23 15:48:53 -07:00
Bill McCloskey
5acbba65ce Bug 1059007 - [e10s] Use TabState.flush() in session store tests (r=ttaubert) 2014-09-23 15:48:53 -07:00
Shu-yu Guo
59ccd2fecb Bug 1001090 - Part 5: Fix errors in tests throughout the tree. (r=robcee,gavin) 2014-09-15 16:30:47 -07:00
Tim Taubert
1dcc57284c Bug 952998 - Use FrameTree to collect DOMSessionStorage data r=yoric
From 594cc2bdabe535ef356276bce49c4b36c73ab3a2 Mon Sep 17 00:00:00 2001
2013-12-20 14:23:32 +01:00
Tim Taubert
988c823b17 Bug 942513 - Fix intermittent browser_sessionStorage.js failures by flushing r=yoric 2013-11-24 11:22:09 +01:00
Tim Taubert
393022efcf Bug 930967 - Add tests for broadcasting sessionstore data r=yoric,billm,smacleod
From 31c74a1bd1244404b5a98348b1b4ca4e3698afce Mon Sep 17 00:00:00 2001
2013-10-25 12:02:25 +02:00
David Rajchenbach-Teller
4b31efe88a Bug 911115 - Simple tests for the tab state cache. r=ttaubert 2013-09-30 12:01:20 -04:00
David Rajchenbach-Teller
5eec1aefdb Bug 901916 - Make browser_sessionStorage.js more robust. r=smacleod 2013-08-31 10:15:57 -04:00
David Rajchenbach-Teller
19937cd8c2 Bug 867143 - Adapt testsuite to cached session restore. r=ttaubert 2013-07-26 12:15:25 -04:00