Commit Graph

17 Commits

Author SHA1 Message Date
James Andreou
6d5098ad98 Bug 1283281 - Remove PB Flag from DOMStorage. r=jdm 2016-06-29 14:01:00 +02:00
Yoshi Huang
cca9d820c1 Bug 1255685 - SessionStorage.jsm should use origin attributes from docshell. r=sicking 2016-03-11 11:45:09 +08:00
Dave Huseby
af2143c78d Bug 1229222 - add chromeutils for the creation of origin attributes with the correct default values. r=sicking
(HEAD -> oa, refs/patches/oa/Bug_1229222)
Fixes Bug 1229222
2016-02-29 12:26:00 +01:00
Michael Layzell
59400e5d1c Bug 1234021 - Catch exceptions raised by storage.length in SessionStorage.jsm, r=mconley 2016-02-26 13:37:44 -05:00
Andrea Marchesini
30b65cf847 Bug 1235657 - Session storage needs to handle origin attributes correctly - part 2 - SessionStorageInternal::restore, r=huseby 2016-01-06 10:09:04 +00:00
David Rajchenbach-Teller
a7e21226ba 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.
2015-10-20 14:15:17 +02:00
Alexandre Poirot
f1439bdbe8 Bug 1204812 - Keep Console.jsm in toolkit/modules/ r=jryans,Mossop 2015-10-15 03:45:22 -07:00
Stephanie Ouillon
f75df23f8f Bug 1178533 - Add nsIInstallPackagedWebapp for registering permissions when navigating to signed packages r=bholley,fabrice,valentin 2015-08-26 13:12:13 +02:00
Carsten "Tomcat" Book
34decaf4a3 Backed out 1 changesets (bug 1178533) for xpcshell-1 test failures
Backed out changeset b12584fad334 (bug 1178533)
2015-09-24 08:41:04 +02:00
Stephanie Ouillon
38e36ba770 Bug 1178533 - Add nsIInstallPackagedWebapp for registering permissions when navigating to signed packages. r=bholley, r=fabrice, r=valentin 2015-09-23 07:41:00 +02:00
Carsten "Tomcat" Book
e3420a256f Backed out 1 changesets (bug 1178533) for s4 testfailures
Backed out changeset 8bbdb80f67e0 (bug 1178533)
2015-09-23 10:17:54 +02:00
Stephanie Ouillon
8719127565 Bug 1178533 - Add nsIInstallPackagedWebapp for registering permissions when navigating to signed packages. r=bholley, r=fabrice, r=valentin 2015-09-22 11:55:00 +02:00
J. Ryan Stinnett
2dada8f365 Bug 912121 - Rewrite require / import to match source tree. rs=devtools
In a following patch, all DevTools moz.build files will use DevToolsModules to
install JS modules at a path that corresponds directly to their source tree
location.  Here we rewrite all require and import calls to match the new
location that these files are installed to.
2015-09-21 12:04:18 -05:00
Shu-yu Guo
37989840cd Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Yoshi Huang
12d32cf105 Bug 1165277 - Use origin in SessionStorage.jsm. r=ttaubert 2015-08-04 17:14:57 +08:00
Bobby Holley
ee6d021a95 Bug 1165162 - Serialize originSuffix into .origin. r=gabor,sr=sicking
We also provide an opt-out for the original behavior, and use it in various
consumers that look like they need fixing up. Most of the usage here is in
code with persistence considerations, where we may need some sort of migration
path.
2015-05-20 17:11:49 -07:00
Birunthan Mohanathas
5a68dfde5b Bug 1038458 - Part 6: Flatten browser/components/sessionstore/src/ directory. r=mak 2014-07-26 09:32:08 -07:00