Commit Graph
107 Commits
Author SHA1 Message Date
Tom Tung d25728e255 Bug 1576593 - P2 - Change the way for tunneling quota information to SQLite; r=janv
Differential Revision: https://phabricator.services.mozilla.com/D48183
2019-10-25 12:02:10 +00:00
Tom Tung 6fe32f6f58 Bug 1581067 - P3 - Suppress the error reuslt for open stream; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D47451
2019-09-30 21:13:11 +00:00
Coroiu Cristina 990a9b430b Backed out 2 changesets (bug 1581067) for xpcshell failures at dom/cache/test/xpcshell/test_empty_directories.js on a CLOSED TREE
Backed out changeset e7a90d8f615d (bug 1581067)
Backed out changeset b7c882c1e3d3 (bug 1581067)
2019-09-30 14:35:01 +03:00
Tom Tung 3625267e19 Bug 1581067 - P3 - Suppress the error reuslt for open stream; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D47451
2019-09-29 09:30:10 +00:00
Kris Maglione a47f695945 Bug 1546500: Avoid dispatching synchronous thread shutdown runnables. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D28555
2019-04-23 13:16:15 -07:00
Alex Gaynor 2b388f974b Bug 1533458 - replace OrVoid cache IPDL types with native maybe syntax; r=ttung
Differential Revision: https://phabricator.services.mozilla.com/D22546
2019-03-21 11:09:44 +00:00
Sylvestre Ledru e5a134f73a Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
# ignore-this-changeset
2018-11-30 11:46:48 +01:00
Emilio Cobos Álvarez 4b8b5e1717 Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
This was done automatically replacing:

  s/mozilla::Move/std::move/
  s/ Move(/ std::move(/
  s/(Move(/(std::move(/

Removing the 'using mozilla::Move;' lines.

And then with a few manual fixups, see the bug for the split series..

MozReview-Commit-ID: Jxze3adipUh
2018-06-01 10:45:27 +02:00
Tom Tung 96ad153131 Bug 1402581 - P1: Don't delete the body file and decrease the padding size when the transaction fails. r=bkelly 2017-10-03 18:36:44 +08:00
Ben Kelly 05f0a13264 Bug 1397128 P8 Track which storage "namespace" each Cache object is associated with. r=tt 2017-09-15 12:25:41 -07:00
Ben Kelly 731fb43e27 Bug 1397128 P7 Add an OpenMode enumeration to control if individual Cache API requests eagerly or lazily opens bodies. r=tt 2017-09-15 12:25:41 -07:00
Ben Kelly 0433bb3c73 Bug 1397128 P4 Add a PCacheStreamControl message to open a stream based on its body ID. r=tt 2017-09-15 12:25:41 -07:00
Ben Kelly 4ea5fdca58 Bug 1397128 P3 Add an OpenStreamAction class to open the file stream on the io thread. r=tt 2017-09-15 12:25:40 -07:00
Ben Kelly ae6c3e29a7 Bug 1397128 P2 Refactor StreamList::Add() to use move constructors and accept a nullptr stream. r=tt 2017-09-15 12:25:40 -07:00
Sebastian Hengst e53b398321 Backed out changeset 15edfaab92f6 (bug 1397128) 2017-09-15 18:28:54 +02:00
Sebastian Hengst f3f1393bc1 Backed out changeset bfbcc07fcb4b (bug 1397128) 2017-09-15 18:28:48 +02:00
Sebastian Hengst 3a6107fab2 Backed out changeset 389e9f39d6b8 (bug 1397128) 2017-09-15 18:28:43 +02:00
Sebastian Hengst 69014e361f Backed out changeset b28740aedf34 (bug 1397128) 2017-09-15 18:28:27 +02:00
Sebastian Hengst 3733e4268a Backed out changeset e37614cb41e1 (bug 1397128) 2017-09-15 18:28:21 +02:00
Ben Kelly ba5947abb0 Bug 1397128 P8 Track which storage "namespace" each Cache object is associated with. r=tt 2017-09-15 09:11:23 -07:00
Ben Kelly 1c24df65ec Bug 1397128 P7 Add an OpenMode enumeration to control if individual Cache API requests eagerly or lazily opens bodies. r=tt 2017-09-15 09:11:23 -07:00
Ben Kelly 23ca0c66ef Bug 1397128 P4 Add a PCacheStreamControl message to open a stream based on its body ID. r=tt 2017-09-15 09:11:22 -07:00
Ben Kelly be4e5b9e52 Bug 1397128 P3 Add an OpenStreamAction class to open the file stream on the io thread. r=tt 2017-09-15 09:11:22 -07:00
Ben Kelly b5e77d3c84 Bug 1397128 P2 Refactor StreamList::Add() to use move constructors and accept a nullptr stream. r=tt 2017-09-15 09:11:22 -07:00
Tom Tung 15d5a42c6c Bug 1290481 - P10: Update padding size to the direcotry padding file. r=bkelly
MozReview-Commit-ID: KlVsaGhpABk
2017-07-18 19:00:09 +08:00
Tom Tung 388e584d55 Bug 1290481 - P5: Implement a function to generate padding size. r=bkelly
MozReview-Commit-ID: 6poDeyErBjc
2017-07-10 17:03:24 +08:00
Tom Tung a744bbce77 Bug 1290481 - P4: Update padding size to the QuotaManager. r=bkelly, janv
MozReview-Commit-ID: 6poDeyErBjc
2017-07-10 17:02:44 +08:00
Tom Tung 3e0688e8c5 Bug 1290481 - P3: Record padding size into cache.sqlite. r=bkelly
MozReview-Commit-ID: 6poDeyErBjc
2017-07-10 16:54:20 +08:00
Tom Tung 046fa872a8 Bug 1367309 - Part 1: Update usage to QuotaManager when a file is deleted in DOM Cache. r=bkelly, r=janv
This patch mainly to update DOM Cahce's usage to the QuotaManager when a file
is deleted. This patch implement two helper function to delete the nsIFile
recursively or directly and update usage to QuotaManager.

MozReview-Commit-ID: 7pZZ02pS48d
2017-05-23 18:33:47 +08:00
Bill McCloskey ce42826bdf Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-26 14:19:58 -07:00
Carsten "Tomcat" Book 238bf154d5 Backed out changeset 4f6302a98ae4 (bug 1372405) 2017-06-21 13:59:26 +02:00
Bill McCloskey 67e8af4720 Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-20 21:44:11 -07:00
Carsten "Tomcat" Book bbe9441993 Backed out changeset 9846de3bd954 (bug 1372405) 2017-06-20 08:27:02 +02:00
Bill McCloskey f69608368b Bug 1372405 - Provide names for all runnables in the tree (r=froydnj)
MozReview-Commit-ID: DKR6ROiHRS7
2017-06-19 22:25:47 -07:00
Bill McCloskey 284c3f3132 Bug 1365097 - Convert NS_GetCurrentThread uses in dom (except for dom/media) (r=smaug)
For the Quatum DOM project, it's better to work in terms of event targets than
threads. This patch converts DOM code to operate on event targets rather than
threads, when possible.

MozReview-Commit-ID: 5FgvpKadUA2
2017-06-12 20:20:08 -07:00
Sylvestre Ledru ef2b4e37ec Bug 1368106 - Use the new MOZ_DIAGNOSTIC_ASSERT_ENABLED instead of several defines r=glandium
MozReview-Commit-ID: KOM35SQnoRh
2017-05-26 18:53:35 +02:00
Nathan Froyd 3b526b2200 Bug 1359490 - add an event loop spinning abstraction function; r=gerald
This function is arguably nicer than calling NS_ProcessNextEvent
manually, is slightly more efficient, and will enable better auditing
for NS_ProcessNextEvent when we do Quantum DOM scheduling changes.
2017-05-15 09:34:19 -04:00
Ben Kelly 5d692f5fd3 Bug 1331949 Make service worker and cache diagnostic assert code compile on beta. r=asuth 2017-01-19 08:11:41 -08:00
Ben Kelly a7346ff365 Bug 1329669 Gracefully handle nullptr Cache actor in CacheStorage::Open() result. r=asuth 2017-01-10 08:20:15 -08:00
Ben Kelly 077c137d4a Bug 1328686 Add diagnostic assertions to dom/cache. r=asuth 2017-01-06 12:41:15 -08:00
Kan-Ru Chen a9b19d0584 Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
The patch is generated from following command:

  rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,

MozReview-Commit-ID: AtLcWApZfES
2016-08-24 14:47:04 +08:00
Jonathan Watt 9c5b8de022 Bug 1279451 - Remove a lot of unnecessary includes of nsAutoPtr.h. rs=sparky 2016-06-07 21:10:18 +01:00
Kyle Huey b972c94d0f Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-05-05 01:45:00 -07:00
Carsten "Tomcat" Book aadd508ffe Backed out changeset 85ce8cb0639a (bug 1268313) 2016-04-29 14:21:16 +02:00
Kyle Huey e62a0823c9 Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj 2016-04-28 14:08:25 -07:00
Bogdan Postelnicu 2fee871b42 Bug 1245868 - repalce pass by value with pass by pointer in IsHeadRequest. r=jst
MozReview-Commit-ID: 5eZ2XLmIjkk
2016-02-17 10:17:20 +02:00
Kyle Huey 20d0dc7286 Bug 1259294: Part 2 - Use MOZ_ALWAYS_SUCCEEDS. r=froydnj 2016-03-28 10:28:15 -07:00
Birunthan Mohanathas bfee0fb40c Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
Phil Ringnalda d871b9515f Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
CLOSED TREE

Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas 245cd6a02f Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00