Граф коммитов

283 Коммитов

Автор SHA1 Сообщение Дата
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
Boris Zbarsky 960d2b3ddd 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
Kartikaya Gupta 1af1a82edf Bug 1312319 - Add a NS_INLINE_DECL_PURE_VIRTUAL_REFCOUNTING macro and replace existing pure-virtual AddRef/Release declarations. r=froydnj
MozReview-Commit-ID: 5yt3O4Hoois

--HG--
extra : rebase_source : 5dad12cd8400b8a783e8407de874d4b7c75cb645
2017-01-25 14:51:34 -05:00
Eric Rahm 6af429ff8a Bug 1332202 - Convert most infallible NS_EscapeURL calls to fallible version. r=froydnj
This makes most users of |NS_EscapeURL| use the fallible version. A few are
left infallible as it seems like the entire function is assumed to be
infallible.

MozReview-Commit-ID: Cy1L5jQwjO1
2017-01-24 11:11:44 -08:00
Andrea Marchesini 359ae91eac Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby 2017-01-12 17:38:48 +01:00
Jan Varga c4553baa05 Bug 1329689 - QuotaManager: Upgrade loop should also cover "from 0_0 to 1_0" case; r=asuth 2017-01-10 11:44:32 +01:00
Nathan Froyd f6a73ed989 Bug 1315274 - rename mozilla::MakeRange to mozilla::IntegerRange; r=Waldo
MakeRange is just way too generic for this sort of thing.
2017-01-06 09:22:53 -05:00
Andrea Marchesini 94547f20bb Bug 604026 - Sync event loops in workers should be created only if compatible with the worker shutdown status, r=bkelly 2017-01-05 10:05:32 +01:00
Jan Varga 965cffb389 Bug 1286914 - Part 1: Prevent creation of origin directories which are not supported by our origin parser; r=asuth 2017-01-03 13:46:34 +01:00
Cervantes Yu 6629c9887c Bug 1321244 - Lazily init global variables that could implicitly initialize NSPR. r=froydnj
MozReview-Commit-ID: IPU9Qc8lr50

--HG--
extra : rebase_source : f25e7403492d1935c8ca714a75ccf99811775b44
2016-12-01 11:48:32 +08:00