Andrew McCreight
2c2e9cbbbe
Bug 1412125, part 2 - Fix dom/ mode lines. r=qdot
...
This was automatically generated by the script modeline.py.
MozReview-Commit-ID: BgulzkGteAL
2017-10-26 15:08:41 -07:00
Kris Maglione
375dfdb59d
Bug 1409249: Require singleton constructors to return explicit already_AddRefed. r=froydnj
...
Right now, NS_GENERIC_FACTORY_SINGLETON_CONSTRUCTOR expects singleton
constructors to return already-addrefed raw pointers, and while it accepts
constructors that return already_AddRefed, most existing don't do so.
Meanwhile, the convention elsewhere is that a raw pointer return value is
owned by the callee, and that the caller needs to addref it if it wants to
keep its own reference to it.
The difference in convention makes it easy to leak (I've definitely caused
more than one shutdown leak this way), so it would be better if we required
the singleton getters to return an explicit already_AddRefed, which would
behave the same for all callers.
This also cleans up several singleton constructors that left a dangling
pointer to their singletons when their initialization methods failed, when
they released their references without clearing their global raw pointers.
MozReview-Commit-ID: 9peyG4pRYcr
2017-10-16 21:08:42 -07:00
Andrea Marchesini
0fdc656620
Bug 1408333 Get rid of nsIIPCBackgroundChildCreateCallback - part 14 - QuotaManager, r=asuth
2017-10-24 12:02:41 +02:00
Ehsan Akhgari
d3ece34e74
Bug 1364764 - Ignore the return value of nsIIdleService::RemoveIdleObserver() because it may fail during shutdown; r=janv
...
MozReview-Commit-ID: HC3T1qZkSTk
2017-07-12 12:19:49 -04: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
Jan Varga
5ff35232c4
Bug 1348660 - Part 5: Implement a method to retrieve usage data for all origins at once; r=btseng
2017-03-22 12:14:04 +01:00
Jan Varga
2d4c860589
Bug 1348660 - Part 2: Rename usage related methods and structures to express the relation to a concrete origin; r=btseng
2017-03-22 12:13:48 +01:00
Tom Tung
b2c063ffff
Bug 1298329 - Part 1: Implement persist/persisted in QuotaManager and expose them to QuotaManagerService; r=janv
2016-08-25 10:19:31 +08:00
Jan Varga
5faa6e2da3
Bug 1339081 - Part 5: Add a method for testing origin initialization; r=asuth
2017-03-06 18:39:33 +01:00
Jan Varga
769bca6a3e
Bug 1339081 - Part 3: Split OriginClearOp to make code more readable and cleaner; r=asuth
2017-03-06 18:39:25 +01:00
Jan Varga
d010f7bdd2
Bug 1339081 - Part 2: Add a method for testing storage initialization; r=asuth
2017-03-06 18:39:21 +01:00
Boris Zbarsky
654688b0da
Bug 1335368 part 17. Get rid of IsCallerChrome in the quota manager service. r=bholley
...
This class is not exposed to untrusted script at all, so only system callers are possible.
2017-02-01 15:43:38 -05:00
Cervantes Yu
b3d13f4c64
Bug 1321244 - Lazily init global variables that could implicitly initialize NSPR. r=froydnj
...
MozReview-Commit-ID: IPU9Qc8lr50
2016-12-01 11:48:32 +08:00
Yoshi Huang
13130453ba
Bug 1324115 - Part 2: replace the callers to use C++ helper. r=smaug
2016-12-21 14:59:21 +08:00
Andrea Marchesini
579778e2b1
Bug 1320275 - QuotaManager must be registered as battery observer before calling hal:GetCurrentBatteryInformation, r=janv
2016-11-28 22:22:51 +01:00
Yoshi Huang
85db56b906
Bug 1237152 - rename clear-origin-data to clear-origin-attributes-data, r=smaug
...
find \( -name '*.cpp' -o -name '*.h' -o -name '*.js' -o -name '*.jsm' -o -name '*.idl' -o -name '*.html' \) \
-a -type f -exec sed -i 's/clear-origin-data/clear-origin-attributes-data/g' {} \;
2016-10-07 17:45:10 +08:00
Shawn Huang
d789b79397
Bug 1267941 - Implement Storage API estimate() feature, r=janv,baku
2016-06-14 13:57:36 +01:00
Tim Huang
df74042208
Bug 1278037 - Part 3: Modify the nsIQuotaManagerService.clearStoragesForPrincipal() for clearing all storages under the given origin. r=janv
2016-08-17 14:46:16 +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
Tom Tung
08561a04ae
Bug 1281103 - Support getting the group usage and the limit in QuotaManagerService. r=janv.
2016-06-24 10:24:06 +08:00
Jan Varga
c0c8eca8b9
Bug 1261491 - Intermittent test_quotaExceeded_recovery.js | application crashed [@ mozilla::dom::IndexedDatabaseManager::Notify]; r=khuey
2016-07-18 18:51:54 +02:00
Jan Varga
e6e5ce2cf2
Bug 1246828 - Part 4: Rename profile-before-change2 to profile-before-change-qm and profile-before-change3 to profile-before-change-telemetry; r=asuth
2016-06-15 11:49:04 +01:00
Kyle Huey
ce5451c01a
Bug 1246828 - Part 2: Main changes, quota manager shutdown pushed back to profile-before-change2; r=asuth
2016-06-15 11:48:50 +01:00
Jan Varga
b9a0bf422d
Bug 1195930 - Part 8: Fixed support for origin clearing, reworked internal origin patterns to use OriginAttributesPattern; r=asuth
2016-06-05 21:42:48 +02:00
Kyle Huey
a9cf047227
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Kyle Huey
20d0dc7286
Bug 1259294: Part 2 - Use MOZ_ALWAYS_SUCCEEDS. r=froydnj
2016-03-28 10:28:15 -07:00
Wes Kocher
4d8a0aa516
Backed out changeset e28540fe266a (bug 1246828) for xpcshell failures in test_TelemetrySession.js CLOSED TREE
2016-02-10 13:40:41 -08:00
Kyle Huey
44c38f9ae0
Bug 1246828: Push QuotaManager shutdown back to profile-before-change2
2016-02-10 10:53:26 -08:00
Jan Varga
8c230732db
Bug 1228932 - Create Quota background actor directly if PBackgroundChild exists; r=khuey
2015-12-01 11:54:40 +01:00
Jan Varga
ea0cabfec0
Bug 961049 - Part 4: QuotaManager on PBackground core changes; r=baku
2015-11-22 10:43:55 +01:00