Commit Graph

126 Commits

Author SHA1 Message Date
Jan Varga
f961342025 Bug 1540777 - LSNG: Move creation of empty databases to the connection thread; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D29134
2019-04-29 04:42:37 +02:00
Jan Varga
12fd20045f Bug 1513937 - LSNG: Compress specific values; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D29140
2019-04-29 06:10:42 +02:00
Jan Varga
120ed0037a Bug 1546310 - LSNG: Parent process should store values in UTF8; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D29139
2019-04-29 06:09:42 +02:00
Jan Varga
f482d3216d Bug 1547454 - LSNG: Create a new C++ class for local storage values; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D29138
2019-04-29 06:05:56 +02:00
Jan Varga
55c70603a2 Bug 1547452 - LSNG: Refactor Datastore::GetSnapshotInitInfo using a switch statement; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D29137
2019-04-29 06:05:55 +02:00
Jan Varga
128af24b07 Bug 1542669 - LSNG: GetItem, SetItem, RemoveItem should pass the key when creating a new snapsot; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D29136
2019-04-09 06:18:29 +02:00
Jan Varga
827b401e30 Bug 1513915 - Followup patch to increase requesttimeoutfactor for test_snapshotting.js; r=asuth 2019-05-03 18:10:11 +02:00
Jan Varga
864dcf0703 Bug 1513915 - LSNG: LoadItem could return more items (up to the prefill limit); r=asuth,jld
Differential Revision: https://phabricator.services.mozilla.com/D26476
2019-04-08 10:56:19 +02:00
Jan Varga
478be0531a Bug 1540401 - Part 2: Convert MOZ_ASSERT to MOZ_DIAGNOSTIC_ASSERT to verify that bug 1541775 has been fixed; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D27492
2019-04-15 13:49:35 +02:00
Jan Varga
1a8201461c Bug 1540401 - Part 1: Convert MOZ_ASSERT to MOZ_DIAGNOSTIC_ASSERT to verify that bug 1541972 has been fixed; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D27491
2019-04-15 13:46:06 +02:00
Jan Varga
4d4622f55f Bug 1546305 - LSNG: Add temporary support for downgrading; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D28800
2019-04-25 11:25:52 +02:00
Jan Varga
bb200f7d87 Bug 1541771 - LSNG: Don't cache usage in InitOrigin if it's not for temporary storage initialization; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D27490
2019-04-15 13:35:38 +02:00
Jan Varga
f968189930 Bug 1535221 - Dead lock with a11y's mscom and mozilla::dom::LSObject; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D27463
2019-04-15 05:04:02 +02:00
Jan Varga
d50956f778 Bug 1542706 - LSNG: Don't close database if there's a snapshot registered; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D27437
2019-04-13 17:59:55 +02:00
Jan Varga
8120eb21d7 Backout Bug 1540401 - Part 1: Convert MOZ_ASSERT to MOZ_DIAGNOSTIC_ASSERT to verify that bug 1541972 has been fixed; r=asuth 2019-04-16 20:05:49 +02:00
Jan Varga
91e4dfb638 Bug 1540401 - Part 1: Convert MOZ_ASSERT to MOZ_DIAGNOSTIC_ASSERT to verify that bug 1541972 has been fixed; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D27491
2019-04-15 13:46:06 +02:00
Jan Varga
31b9a4462c Bug 1542155 - LSNG: Convert MOZ_ALWAYS_TRUE(SendFinish()) to MOZ_DIAGNOSTIC_ALWAYS_TRUE(SendFinish()); r=asuth 2019-04-05 16:46:59 +02:00
Jan Varga
2927a7377f Bug 1543209 - LSNG: Detect missing unregister calls for live datastores using CheckedUnsafePtr; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D26826
2019-04-09 23:56:17 +02:00
Jan Varga
06dba23590 Bug 1542475 - LSNG: Potential double closing of datastores; r=asuth 2019-04-06 12:23:14 +02:00
Yaron Tausky
e8af6c032a Bug 1539538 - Introduce UnsafePtr r=froydnj,janv
This commit adds a smart pointer class that verifies that no dangling
pointers remain after the pointee went out of scope. This verification is
opt-in and can be controlled both statically and dynamically by the pointee.

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

--HG--
extra : moz-landing-system : lando
2019-04-09 14:41:57 +00:00
Sylvestre Ledru
03fc65347c Bug 1542146 - Apply the change with the option StatementMacros from clang-format-8 r=andi
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-04-05 21:42:17 +00:00
Jan Varga
caa68dc186 Bug 1542104 - LSNG: Incorrect usage calculation of archived data; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D26269
2019-04-05 06:15:21 +02:00
Jan Varga
4286c73927 Bug 1540381 - LSNG: Result of SendRequestAllowToClose call is not checked; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D25703
2019-04-02 05:44:56 +02:00
Ciure Andrei
4116e08315 Merge inbound to mozilla-central. a=merge 2019-04-04 07:34:14 +03:00
Ciure Andrei
ec1fe36f87 Backed out changeset 97d88752079f (bug 1540401) for causing a nightly startup crash a=backout 2019-04-04 04:45:08 +03:00
Daniel Varga
f89113118b Merge mozilla-central to mozilla-inbound. a=merge 2019-04-03 09:18:15 +03:00
Daniel Varga
14dc5b7d8a Merge mozilla-inbound to mozilla-central. a=merge 2019-04-03 09:05:41 +03:00
Gerald Squelart
e2d15a1cfb Bug 1429613 - Variant matcher callbacks renamed from match to operator() - r=froydnj
Mechanical change from Matcher::match(...) to Matcher::operator()(...).
This will now permit the use of generic lambdas, and facilitate the
implementation of multi-lambda match.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 11:53:47 +00:00
Jan Varga
8838c839de Bug 1540401 - LSNG: Convert most of MOZ_ASSERT to MOZ_DIAGNOSTIC_ASSERT; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D25549
2019-04-01 01:18:10 +02:00
Jan Varga
78e96d22bc Bug 1540189 - LSNG: Result of SendReady call is not checked; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D25423
2019-03-29 17:58:46 +01:00
Eden Chuang
72b79c6fbd Bug 1442778 - Add "chromeContext" parameter to console API and console service messages. r=smaug
1. Adding a new attribute chromeContext in ConsoleEvent
2. Adding a new boolean attribute isFromChromeContext in nsIConsoleMessage
3. Sending IsFromChromeContext to the parent process

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

--HG--
extra : moz-landing-system : lando
2019-04-01 22:42:34 +00:00
Mark Banner
dba6983e75 Bug 1415265 - Remove now unnecessary .eslintrc.js files or entries. r=mossop
Differential Revision: https://phabricator.services.mozilla.com/D23850

--HG--
extra : moz-landing-system : lando
2019-03-28 09:38:14 +00:00
Cosmin Sabou
78fc71e3c3 Backed out changeset 7fa7d6e6dedc (bug 1442778) for devtools failures on browser_webconsole_check_stubs_console_api.js CLOSED TREE 2019-03-26 20:27:55 +02:00
Csoregi Natalia
888d83038c Merge mozilla-central to autoland. CLOSED TREE 2019-03-26 19:45:08 +02:00
Eden Chuang
5e4df764d9 Bug 1442778 - Add "chromeContext" parameter to console API and console service messages. r=smaug
1. Adding a new attribute chromeContext in ConsoleEvent
2. Adding a new boolean attribute isFromChromeContext in nsIConsoleMessage
3. Sending IsFromChromeContext to the parent process

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

--HG--
extra : moz-landing-system : lando
2019-03-26 15:18:20 +00:00
Ian Moody
fe4fab15e3 Bug 1537776 - dom/ automated ESLint no-throw-literal fixes. r=asuth,mccr8
Result of running:
$ mach eslint -funix dom/ | sed -Ee 's/:.+//' - | xargs sed -E \
    -e 's/throw ((["`])[^"]+\2);/throw new Error(\1);/g' \
    -e 's/throw ((["`])[^"]+\2 \+ [^ ";]+);/throw new Error(\1);/g' \
    -e 's/throw \(/throw new Error(/g' -i

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

--HG--
extra : moz-landing-system : lando
2019-03-25 16:03:38 +00:00
Jan Varga
44461f8eff Bug 1535221 - Add more robust logging including more detailed logging for CheckClosingDatastore and DirectoryOpenPending state; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D24423
2019-03-21 21:08:00 +01:00
Gurzau Raul
b9149db16e Merge mozilla-central to inbound. a=merge CLOSED TREE 2019-03-26 11:56:14 +02:00
Jan Varga
8eef834961 Bug 1533789 - LSRequestBase::Finish is not called in some edge cases; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D24649
2019-03-24 15:02:05 +01:00
Jan Varga
1ce29b4c3b Bug 1535221 - Add infrastructure for hang debugging; r=asuth
This patch adds a timer for synchronous local storage requests. Once the timer
fires the request is canceled. The parent reports debugging information upon receiving cancellation.

Differential Revision: https://phabricator.services.mozilla.com/D24006
2019-03-19 12:23:16 +01:00
Jan Varga
1678e32e36 Bug 1535995 - Quick followup patch to fix an ESlint failure; r=asuth 2019-03-18 18:12:09 +01:00
Jan Varga
9db88adebf Bug 1535995 - Check that group information is up to date; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D23822
2019-03-18 07:14:26 +01:00
Sebastian Hengst
78d58dd656 Bug 1535619 - add meta information to create bugs for files in dom/localstorage/ in 'Core :: DOM: Web Storage' r=janv
Differential Revision: https://phabricator.services.mozilla.com/D23670

--HG--
extra : moz-landing-system : lando
2019-03-15 14:01:58 +00:00
Sylvestre Ledru
4aa92e3091 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D22514
2019-03-13 10:19:06 +01:00
Jan Varga
559e8234e4 Bug 1534208 - LSNG: DOM File thread and PBackground child for it must be created as soon as possible; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D22976
2019-03-11 15:35:04 +01:00
Jan Varga
8b4670b550 Bug 1533541 - dom/localstorage/test/unit/test_groupLimit.js fails with LSNG enabled; r=asuth
Reviewers: asuth

Reviewed By: asuth

Bug #: 1533541

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

--HG--
extra : rebase_source : fd352191fec915b68bb9161e1de7c89a0522be52
2019-03-07 20:46:46 -05:00
Jan Varga
c2058d3bc4 Bug 1526891 - Part 10: Fix a content process leak by closing databases at xpcom-shutdown; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D20919
2019-02-23 17:19:35 +01:00
Jan Varga
6b68f4dc07 Bug 1526891 - Part 5: Allow calling NextGenLocalStorageEnabled on any thread in the parent process; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D20914
2019-02-23 17:06:40 +01:00
Jan Varga
ea4f36b735 Bug 1526615 - Part 3: Avoid main thread during origin clearing; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D19284
2019-02-10 10:20:14 +01:00
Jan Varga
62cb092a89 Bug 1526615 - Part 2: Implement GenerateOriginKey2 which can be used on any thread; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D19283
2019-02-10 10:20:12 +01:00