gecko-dev/dom/quota
Tom Tung f770fd0631 Bug 1539666 - Add more warning message while a URL is not recognized by MozURL and mark these directries as obsolete to pass the upgrade; r=asuth
We found this issue by finding out a url with trailing "-" cannot parsed by
MozURL (more specifically, rust-url). This patch tries to fix all related
unparsed url issues at once. So, the first thing we want to fix here is to make
it more easier to be debugged. Thus, this patch adds more QM_WARNING while
MozURL::Init() is failing to parse the url. Secondly, if failures happen during
metadata restoring or upgrading, breaking the whole initialization or upgrades
is not the thing we want. Ideally, the best approach would be somehow keep the
directory and wait until the problem on MozURL to be fixed. Then, upgrade the
directroy. However, it's relative hard to do and might have many edge cases.
Therefore, this patch take the approach of removing them in these situation.
Note that restoring and upgrading should be rarly happens.

Differential Revision: https://phabricator.services.mozilla.com/D25437

--HG--
extra : moz-landing-system : lando
2019-03-29 20:08:24 +00:00
..
test Bug 1539666 - Add more warning message while a URL is not recognized by MozURL and mark these directries as obsolete to pass the upgrade; r=asuth 2019-03-29 20:08:24 +00:00
ActorsChild.cpp Bug 1529301 - P1 - Have a method to get origins only on QuotaManagerService; r=asuth 2019-03-20 17:54:08 +00:00
ActorsChild.h Bug 1529301 - P1 - Have a method to get origins only on QuotaManagerService; r=asuth 2019-03-20 17:54:08 +00:00
ActorsParent.cpp Bug 1539666 - Add more warning message while a URL is not recognized by MozURL and mark these directries as obsolete to pass the upgrade; r=asuth 2019-03-29 20:08:24 +00:00
ActorsParent.h Bug 1526891 - Part 13: Send an async IPC message instead of dispatching a runnable to the PBackground thread when shutting down quota manager; r=asuth 2019-02-23 17:30:41 +01:00
Client.h Bug 1520931 - Remove dom/asmjscache (r=ttung) 2019-03-26 16:57:55 -05:00
FileStreams.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
FileStreams.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
MemoryOutputStream.cpp Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
MemoryOutputStream.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
OriginScope.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
PQuota.ipdl Bug 1529301 - P1 - Have a method to get origins only on QuotaManagerService; r=asuth 2019-03-20 17:54:08 +00:00
PQuotaRequest.ipdl Bug 1529301 - P1 - Have a method to get origins only on QuotaManagerService; r=asuth 2019-03-20 17:54:08 +00:00
PQuotaUsageRequest.ipdl Bug 1431029 - Expose timestamp for quota managed storage. r=asuth 2018-02-20 14:54:17 +01:00
PersistenceType.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
QuotaCommon.cpp Bug 1535221 - Add more robust logging including more detailed logging for CheckClosingDatastore and DirectoryOpenPending state; r=asuth 2019-03-21 21:08:00 +01:00
QuotaCommon.h Bug 1535221 - Add more robust logging including more detailed logging for CheckClosingDatastore and DirectoryOpenPending state; r=asuth 2019-03-21 21:08:00 +01:00
QuotaManager.h Bug 1423917 - P12 - Return an error if it failed to remove the asmjs directory and move the deprecated client check to InitializeOrigin; r=asuth 2019-03-25 15:15:03 +00:00
QuotaManagerService.cpp Bug 1529301 - P1 - Have a method to get origins only on QuotaManagerService; r=asuth 2019-03-20 17:54:08 +00:00
QuotaManagerService.h Bug 1526891 - Part 9: Send an async IPC message instead of dispatching a runnable to the PBackground thread when aborting operations for process; r=asuth 2019-02-23 17:17:21 +01:00
QuotaObject.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
QuotaRequests.cpp Bug 1529301 - P1 - Have a method to get origins only on QuotaManagerService; r=asuth 2019-03-20 17:54:08 +00:00
QuotaRequests.h Bug 1529301 - P1 - Have a method to get origins only on QuotaManagerService; r=asuth 2019-03-20 17:54:08 +00:00
QuotaResults.cpp Bug 1529301 - P1 - Have a method to get origins only on QuotaManagerService; r=asuth 2019-03-20 17:54:08 +00:00
QuotaResults.h Bug 1529301 - P1 - Have a method to get origins only on QuotaManagerService; r=asuth 2019-03-20 17:54:08 +00:00
SerializationHelpers.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
StorageManager.cpp Bug 1525054 - Make ContentPermissionRequestBase calculate the isHandlingUserInput flag itself instead of relying on callers who may or may not pass in the correct information; r=baku 2019-02-04 19:56:48 +00:00
StorageManager.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
UsageInfo.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
components.conf Bug 1526891 - Part 1: Change handling of indexeddb:// from simple URI to standard URL; r=asuth 2019-02-23 04:20:29 +01:00
moz.build Bug 1526891 - Part 1: Change handling of indexeddb:// from simple URI to standard URL; r=asuth 2019-02-23 04:20:29 +01:00
nsIQuotaCallbacks.idl
nsIQuotaManagerService.idl Bug 1529301 - P1 - Have a method to get origins only on QuotaManagerService; r=asuth 2019-03-20 17:54:08 +00:00
nsIQuotaRequests.idl Bug 1529301 - P1 - Have a method to get origins only on QuotaManagerService; r=asuth 2019-03-20 17:54:08 +00:00
nsIQuotaResults.idl Bug 1529301 - P1 - Have a method to get origins only on QuotaManagerService; r=asuth 2019-03-20 17:54:08 +00:00
nsIndexedDBProtocolHandler.cpp Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan 2019-03-13 10:19:06 +01:00
nsIndexedDBProtocolHandler.h Bug 1526891 - Part 1: Change handling of indexeddb:// from simple URI to standard URL; r=asuth 2019-02-23 04:20:29 +01:00