Nathan Froyd
c1d1748428
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
Wes Kocher
21203b47b5
Merge inbound to m-c a=merge
...
MozReview-Commit-ID: JgXkqrOwl3N
2017-05-03 13:40:24 -07:00
Nathan Froyd
5f0417d309
Bug 1361511 - change ownership assertion mechanism for various DOM classes; r=baku
...
The declarations of their refcounting methods already includes an owning
thread, so let's just piggyback on top of that to assert their owning
thread, rather than having separate fields and tests.
2017-05-03 11:48:54 -04:00
Shawn Huang
e1f1921930
Bug 1359708 - Add a telemetry probe for Storage API features, data-r=bsmedberg, r=bsmedberg,janv
...
MozReview-Commit-ID: 5DpRPOFVerW
--HG--
extra : rebase_source : 564593b482052b7531729f2b51bd5685da0557f1
2017-04-27 19:06:54 +08:00
Shawn Huang
5a2544848e
Bug 1294400 - Implement Storage Pressure event to notify UI, r=janv
2017-04-26 21:43:44 +08:00
Shawn Huang
0a2239bee6
Bug 1358767 - Make PersistentStoragePermissionRequest a cycle collected object in StorageManager, r=janv,bevistseng
2017-04-24 21:41:01 +08:00
Tom Tung
bd3c648130
Bug 1358035: Move the check for persisting an invalid origin to test_bad_origin_directory.js and add skip beta/release flag on it since we don't check invaild origins on beta/release. r=janv
...
MozReview-Commit-ID: GYcw4RYoIms
--HG--
extra : rebase_source : ca6dc7225a5180aeb0c47573710ebe0e0c8ac876
2017-04-20 15:26:31 +08:00
Shawn Huang
25a1e25bd9
Bug 1357975 - Set pref browser.storageManager.enabled for storage browser tests, r=janv
2017-04-20 17:18:19 +08:00
Shawn Huang
e858947e71
Bug 1357975 - Set the pref to enable dom.storageManager in helpers.js, r=janv
2017-04-20 17:18:03 +08:00
Jan Varga
20e990962b
Bug 1350564 - Don't try to addref a null mResult in Request::GetResult and UsageRequest::GetResult (mResult can be null when mHaveResultOrErrorCode is true); r=btseng
2017-04-18 10:15:57 +02:00
Shawn Huang
d1021ec94a
Bug 1348874 - If origin is an opaque origin, reject promise with a TypeError, r=janv
2017-04-17 15:07:15 +08:00
Shawn Huang
1bffdaa737
Bug 1286717 - Part 4: Resolve a promise for persist() in private browsing mode, r=janv
2017-04-17 15:07:02 +08:00
Shawn Huang
3ee2d007ef
Bug 1286717 - Part 2: Add mochitests for persist/persisted functions, r=janv
2017-04-17 15:06:39 +08:00
Shawn Huang
c9c55c765e
Bug 1286717 - Part 1: Expose persist/persisted to StorageManager, r=janv, r=baku
2017-04-17 15:06:27 +08:00
Ehsan Akhgari
3c7ded9416
Bug 1304566 - Unregister from the obsever service in order to prevent re-entrancy; r=janv
2017-04-16 11:34:00 -04:00
Jan Varga
ee8bdbeba6
Bug 1348660 - Part 6: Rename QuotaManager::IsOriginWhitelistedForPersistentStorage() to QuotaManager::IsOriginInternal(); r=btseng
2017-03-22 12:14:09 +01:00
Jan Varga
08e526c841
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
84e0671a2c
Bug 1348660 - Part 4: Extract common code from GetOriginUsageOp to a new base class QuotaUsageRequestBase; r=btseng
2017-03-22 12:13:58 +01:00
Jan Varga
ae1ee28451
Bug 1348660 - Part 3: Separate the canceled state out of UsageInfo; r=btseng
2017-03-22 12:13:54 +01:00
Jan Varga
4221505b78
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
Jan Varga
2232d1fd5c
Bug 1348660 - Part 1: Convert nsIQuotaUsageRequest result related attributes to a new structure nsIQuotaUsageResult and expose it using a new result attribute of type nsIVariant; r=btseng
2017-03-22 12:13:38 +01:00
Tom Tung
1f030ffe56
Bug 1298329 - Part 2: Add a test to verify persist()/persisted(); r=janv
2017-03-20 14:55:12 +08:00
Tom Tung
b21732dac3
Bug 1298329 - Part 1: Implement persist/persisted in QuotaManager and expose them to QuotaManagerService; r=janv
2016-08-25 10:19:31 +08:00
Tom Tung
aa5d3ca4c9
Bug 1298329 - Part 0: Add persisted attribute to OriginInfo; r=janv
2017-01-17 09:41:00 +08:00
Jan Varga
aa833e5068
Bug 1345120 - 1.0 to 2.0 upgrade kills off the process when starting a debug build. r=asuth
2017-03-07 10:21:00 -05:00
Jan Varga
2c456d0807
Bug 1339081 - Part 23: Treat it as an error if the origin stored in the database doesn't match the origin used to open the database; r=asuth
2017-03-06 18:40:37 +01:00
Jan Varga
8ba58bb018
Bug 1339081 - Part 22: Rename "schema" to "scheme" where appropriate; r=asuth
2017-03-06 18:40:33 +01:00
Jan Varga
b7172cf3d7
Bug 1339081 - Part 21: Rename file manager directories as part of new upgrade helper; r=asuth
2017-03-06 18:40:31 +01:00
Jan Varga
668951fa09
Bug 1339081 - Part 17: Strip obsolete origin attributes as part of new upgrade helper (needed for bug 1314361), original patch by Kris Maglione; r=asuth
2017-03-06 18:40:18 +01:00
Jan Varga
8aa8c239ef
Bug 1339081 - Part 16: Remove apps data as part of new upgrade helper (needed for bug 1311057), add a bunch of new tests to verify upgrade methods; r=asuth
2017-03-06 18:40:13 +01:00
Jan Varga
abd3a27c40
Bug 1339081 - Part 15: Shift code to correct place; r=asuth
2017-03-06 18:40:09 +01:00
Jan Varga
13fabd5cfe
Bug 1339081 - Part 14: Don't try to upgrade obsolete origins, remove them right after we detect them; r=asuth
2017-03-06 18:40:07 +01:00
Jan Varga
98b838f625
Bug 1339081 - Part 13: Move morgue directory cleanup to new upgrade helper; r=asuth
2017-03-06 18:40:02 +01:00
Jan Varga
ea68f97a21
Bug 1339081 - Part 12: Add a baseline helper for 1.0 to 2.0 upgrade; r=asuth
2017-03-06 18:39:58 +01:00
Jan Varga
9b5aef9c4a
Bug 1339081 - Part 11: Fallback to PR_Now() if GetLastModifiedTime() fails; r=asuth
2017-03-06 18:39:56 +01:00
Jan Varga
54f45ff479
Bug 1339081 - Part 10: Unify GetDirectoryMetadata() in upgrade helpers; r=asuth
2017-03-06 18:39:51 +01:00
Jan Varga
7cca6c51e2
Bug 1339081 - Part 9: Allow origin properties to be checked before they are added to the list for processing in upgrade helpers; r=asuth
2017-03-06 18:39:49 +01:00
Jan Varga
71cfe5b3f6
Bug 1339081 - Part 8: Rename the upgrade helper to match the method that is using it; r=asuth
2017-03-06 18:39:44 +01:00
Jan Varga
a2571e9f2b
Bug 1339081 - Part 7: Implement safe metadata writting using temp files; r=asuth
2017-03-06 18:39:40 +01:00
Jan Varga
f0b8133f92
Bug 1339081 - Part 6: Fix unknown file handling; r=asuth
2017-03-06 18:39:38 +01:00
Jan Varga
61fe32371f
Bug 1339081 - Part 5: Add a method for testing origin initialization; r=asuth
2017-03-06 18:39:33 +01:00
Tom Tung
71ac66b1e9
Bug 1339081 - Part 4: Add a result attribute to nsIQuotaRequest; r=janv
2017-03-06 18:39:29 +01:00
Jan Varga
9c49950e02
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
528102ba20
Bug 1339081 - Part 2: Add a method for testing storage initialization; r=asuth
2017-03-06 18:39:21 +01:00
Jan Varga
0b3480d328
Bug 1339081 - Part 1: Create a standalone testing infrastructure with a basic test; r=asuth
2017-03-06 18:39:17 +01:00
Jan Varga
928e24d75d
Bug 1311057 - Part 3: Code simplification and cleanup after isApp removal; r=asuth
2017-03-06 18:38:44 +01:00
Jan Varga
dcc35b89e6
Bug 1311057 - Part 2: Remove isApp from quota manager and its clients; r=asuth
2017-03-06 18:38:42 +01:00
Joel Maher
f297f17181
Bug 1339232 - annotate more dom/* moz.build files with BUG_COMPONENT. r=overholt
...
MozReview-Commit-ID: 2HbPxGkrVfv
2017-03-01 08:20:25 -05:00
Tom Tromey
d2667a2b27
Bug 1060419 - make AppendPrintf and nsPrintfCString use Printf.h, r=froydnj
...
MozReview-Commit-ID: 2E8FoiNxU8L
--HG--
extra : rebase_source : 810ac727bef0751f24edea18c52e0ec170bf367d
2016-12-14 09:32:21 -07:00
Jeff Walden
965f401e22
Bug 1287006 - Don't pass Nullable by value in various places, rather by const&. r=bz
...
--HG--
extra : rebase_source : cbdd6e33cc69f58983a4b6ce97642caf54ddbc9a
2017-02-13 09:07:40 -08:00