Jan Varga
42f5cca14e
Bug 1621916 - Fix IndexedDB to ignore unknown files in the client directory during initialization and usage calculation; r=dom-workers-and-storage-reviewers,sg,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D77073
2020-05-28 11:14:52 +00:00
Jan Varga
d123d73b2d
Bug 1621916 - Remove unused argument in Client::InitOrigin; r=dom-workers-and-storage-reviewers,sg
...
Depends on D77070
Differential Revision: https://phabricator.services.mozilla.com/D77072
2020-05-27 15:52:49 +00:00
Eden Chuang
501eb4718d
Bug 1603168 - Reject Cache.match and Cache.matchAll if the response doesn't match the caller context coep r=dom-workers-and-storage-reviewers,perry
...
Differential Revision: https://phabricator.services.mozilla.com/D70020
2020-05-23 01:44:58 +00:00
Christoph Kerschbaumer
026a7442f3
Bug 1636900: Remove TYPE_XBL from nsIContentPolicy. r=remote-protocol-reviewers,emilio,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D74835
2020-05-13 06:53:28 +00:00
Jean-Yves Avenard
dde81db3d7
Bug 1592488 - P9. Make a DOMCacheThread an AbstractThread. r=baku
...
This is a step towards bug 1119864. However, at this stage we only need the cache thread to support direct task dispatch so that we can have IPDL MozPromise acting in a similar fashion to JS promise.
Differential Revision: https://phabricator.services.mozilla.com/D74637
2020-05-13 00:12:19 +00:00
ssengupta
cf852bbfb9
Bug 1635399 - Function PrincipalInfoToPrincipal now returns Result<nsCOMPtr<nsIPrincipal>, nsresult> r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D73868
2020-05-12 19:02:05 +00:00
Honza Bambas
ef0d4e6dd1
Bug 1618536 - Introduce nsIContentPolicy::TYPE_INTERNAL_FONT_PRELOAD representing preload of font, mapping to TYPE_FONT externally, r=baku
...
Depends on D69628
Differential Revision: https://phabricator.services.mozilla.com/D72118
2020-05-11 14:13:16 +00:00
Simon Giesecke
75c988ec13
Bug 1627892 - Use SafeRefPtr for Request. r=dom-workers-and-storage-reviewers,perry
...
Differential Revision: https://phabricator.services.mozilla.com/D70390
2020-05-11 12:13:48 +00:00
Simon Giesecke
bec9351c13
Bug 1627892 - Make ThreadsafeHandle derive from SafeRefCounted. r=dom-workers-and-storage-reviewers,asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D69962
2020-05-11 12:13:25 +00:00
Simon Giesecke
4bd2bbd28a
Bug 1627892 - Make ManagerId derive from SafeRefCounted. r=dom-workers-and-storage-reviewers,perry
...
Differential Revision: https://phabricator.services.mozilla.com/D69961
2020-05-11 12:13:07 +00:00
Simon Giesecke
e5b657303a
Bug 1627892 - Make CacheWorkerRef derive from SafeRefCounted. r=dom-workers-and-storage-reviewers,perry
...
Differential Revision: https://phabricator.services.mozilla.com/D69960
2020-05-11 12:12:22 +00:00
Simon Giesecke
8118041984
Bug 1627892 - Make StreamList derive from SafeRefCounted. r=dom-workers-and-storage-reviewers,perry
...
Differential Revision: https://phabricator.services.mozilla.com/D69959
2020-05-11 12:11:33 +00:00
Simon Giesecke
32076b1063
Bug 1627892 - Make InternalRequest derive from SafeRefCounted. r=dom-workers-and-storage-reviewers,perry
...
Differential Revision: https://phabricator.services.mozilla.com/D69958
2020-05-11 12:10:53 +00:00
Simon Giesecke
c4c6f0c42c
Bug 1627892 - Make Context derive from SafeRefCounted. r=dom-workers-and-storage-reviewers,perry
...
Differential Revision: https://phabricator.services.mozilla.com/D69957
2020-05-11 12:09:55 +00:00
Simon Giesecke
33a08c2818
Bug 1627892 - Make Manager derive from SafeRefCounted. r=ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D69956
2020-05-11 12:09:02 +00:00
Simon Giesecke
521c25b58c
Bug 1627892 - Replace custom AutoLock by BaseAutoLock. r=ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D69945
2020-05-11 12:08:14 +00:00
Simon Giesecke
daf66e3fc8
Bug 1626570 - Improve handling of copying arrays in dom/cache/. r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D73643
2020-05-07 08:49:15 +00:00
Jan Varga
7908ce2965
Bug 1624802 - Refactor tests in dom/cache/test/xpcshell to use a common initialization function; r=dom-workers-and-storage-reviewers,ttung
...
Differential Revision: https://phabricator.services.mozilla.com/D73145
2020-05-05 06:28:31 +00:00
Tom Tung
09903525ea
Bug 1628076 - Ensure sFactory alive while it is calling Abort; r=dom-workers-and-storage-reviewers,asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D71323
2020-04-21 19:57:46 +00:00
Coroiu Cristina
43be71277d
Backed out 2 changesets (bug 1625500) for multiple failures on a CLOSED TREE
...
Backed out changeset 7d80233bcfcd (bug 1625500)
Backed out changeset 0a35b13dfcde (bug 1625500)
2020-04-17 15:36:05 +03:00
Gijs Kruitbosch
cc39a339a0
Bug 1625500 - fix use of .then(x, x) in the tree, r=marionette-reviewers,Standard8,whimboo
...
Differential Revision: https://phabricator.services.mozilla.com/D68614
2020-04-17 11:41:49 +00:00
Simon Giesecke
f776d67e10
Bug 1627918 - Make dom/cache build outside unified build environment. r=dom-workers-and-storage-reviewers,ttung,asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D69978
--HG--
extra : moz-landing-system : lando
2020-04-14 23:51:44 +00:00
Simon Giesecke
0cad3e5673
Bug 1627904 - Bugzilla component for dom/cache should be Storage: Cache API. r=jstutte
...
Differential Revision: https://phabricator.services.mozilla.com/D69970
--HG--
extra : moz-landing-system : lando
2020-04-09 12:07:45 +00:00
Andreas Farre
63e21eec70
Bug 1620594 - Part 1: Rework NS_ReleaseOnMainThreadSystemGroup. r=nika
...
To be able to remove SystemGroup, NS_ReleaseOnMainThreadSystemGroup
needs to have its dependency on SystemGroup removed. Since all
releases using SystemGroup would've released on the main thread anyway
we can safely replace NS_ReleaseOnMainThreadSystemGroup with
NS_ReleaseOnMainThread.
Depends on D64390
Differential Revision: https://phabricator.services.mozilla.com/D67631
--HG--
extra : moz-landing-system : lando
2020-04-07 15:16:23 +00:00
Eric Rahm
23071477d2
Bug 1626437 - Remove nsAutoPtr usage from dom/cache. r=dom-workers-and-storage-reviewers,sg
...
Differential Revision: https://phabricator.services.mozilla.com/D69107
--HG--
extra : moz-landing-system : lando
2020-04-03 21:04:57 +00:00
Andrew Sutherland
064b0f9501
Bug 1626728 - Normalize shutdown. r=perry,jstutte, a=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D69463
--HG--
extra : amend_source : fab5032257ffa8fe7232c5812244796dc73a25b1
1970-01-01 00:00:00 +00:00
Noemi Erli
0f9da9eb51
Backed out changeset b7170a7eaacb (bug 1626728) for causing assertion failures a=backout
2020-04-03 08:27:20 +03:00
Andrew Sutherland
6b6b505d5d
Bug 1626728 - Normalize shutdown. r=perry, a=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D69463
--HG--
extra : amend_source : 9f957a6cc3c3e767be73fadf428e8e7c3322d5ae
2020-04-02 23:40:45 +00:00
Subhamoy Sengupta
559d2b59e6
Bug 1624588 - dom/file/ipc sources now also build when not unified r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D68142
--HG--
extra : moz-landing-system : lando
2020-03-25 15:28:37 +00:00
Mihai Alexandru Michis
b12b39cb9b
Backed out changeset 34504844db03 (bug 1624588) for causing bustages in IPCBlobInputStreamParent.cpp
...
CLOSED TREE
2020-03-25 14:55:09 +02:00
Subhamoy Sengupta
8f9e4e8061
Bug 1624588 - dom/file/ipc sources now also build when not unified r=baku
...
Missing includes, namespace-related issues, and missing template instantiations added to make sources compile without unifying.
Differential Revision: https://phabricator.services.mozilla.com/D68142
--HG--
extra : moz-landing-system : lando
2020-03-25 12:45:59 +00:00
Andrea Marchesini
96d0e4f828
Bug 1402784
- Introduce nsIContentPolicy::TYPE_INTERNAL_AUDIOWORKLET and nsIContentPolicy::TYPE_INTERNAL_PAINTWORKLET, r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D67105
--HG--
extra : moz-landing-system : lando
2020-03-17 11:29:33 +00:00
Ed Lee
acb960676c
Bug 1620556 - Automatic code fixes for Prettier 1.19.1 upgrade. r=Standard8,remote-protocol-reviewers,marionette-reviewers,webcompat-reviewers,perftest-reviewers,sparky,whimboo,denschub
...
Differential Revision: https://phabricator.services.mozilla.com/D66128
--HG--
extra : moz-landing-system : lando
2020-03-13 23:38:52 +00:00
Yaron Tausky
ca1e31ce93
Bug 1507180 - Add explanatory comment r=dom-workers-and-storage-reviewers,sg
...
Hopefully this comment would prevent a future contributor from
removing the copy operation.
Differential Revision: https://phabricator.services.mozilla.com/D55424
--HG--
extra : moz-landing-system : lando
2020-03-05 09:36:39 +00:00
Boris Zbarsky
00cd5d4380
Bug 1619112 part 5. Stop accepting nsAString in ErrorResult error-throwing. r=smaug
...
Callers should pass in UTF-8, since that's what the JS engine ends up with in the end anyway.
The various URL changes are because NS_NewURI converts incoming nsAString to
UTF-8 anyway. So we might as well do that up-front and then use the UTF-8
string for both the NS_NewURI call and the error-reporting if it fails.
Differential Revision: https://phabricator.services.mozilla.com/D65543
--HG--
extra : moz-landing-system : lando
2020-03-06 21:08:02 +00:00
Boris Zbarsky
f31fe5e910
Bug 1619112 part 3. Pass UTF8 strings to MaybeRejectWithType/RangeError promise methods. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D65539
--HG--
extra : moz-landing-system : lando
2020-03-06 21:05:48 +00:00
Boris Zbarsky
c878a8bb26
Bug 1619112 part 2. Pass char literals instead of char16_t literals into ErrorResult throwing methods. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D65538
--HG--
extra : moz-landing-system : lando
2020-03-06 21:04:58 +00:00
Cosmin Sabou
9ec8941cd4
Backed out 2 changesets (bug 1603703) for xpc failures on test_storage_aggregates.js. CLOSED TREE
...
Backed out changeset 05dbbf7c379f (bug 1603703)
Backed out changeset a1e723439116 (bug 1603703)
--HG--
extra : rebase_source : 65d834f15b63fdd0ce5c90d2efd080e4841777aa
2020-03-05 19:37:32 +02:00
Simon Giesecke
9e296ae57f
Bug 1603703 - Part 2: Rename CreateFunction/RemoveFunction to RegisterFunction/UnregisterFunction. r=mak
...
Depends on D57089
Differential Revision: https://phabricator.services.mozilla.com/D65504
--HG--
extra : moz-landing-system : lando
2020-03-05 15:14:56 +00:00
Simon Giesecke
e6cae211c4
Bug 1603703 - Part 1: Change mozIStorageAsyncConnection::CreateFunction to accept a nsCOMPtr rather than a raw pointer. r=asuth,mak
...
Differential Revision: https://phabricator.services.mozilla.com/D57089
--HG--
extra : moz-landing-system : lando
2020-03-05 16:51:14 +00:00
Jan Varga
45769a3be8
Bug 1606635 - Modify QuotaManager::OpenDirectory to return a pending lock; r=asuth,dom-workers-and-storage-reviewers,sg
...
Differential Revision: https://phabricator.services.mozilla.com/D64715
--HG--
extra : moz-landing-system : lando
2020-02-29 04:42:50 +00:00
Simon Giesecke
a813e92dee
Bug 1613985 - Use default for equivalent-to-default constructors/destructors in dom/cache. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D63139
--HG--
extra : moz-landing-system : lando
2020-02-20 15:49:27 +00:00
Jed Davis
ee171b6406
Bug 1615155 - Don't generate default Recv__delete__
if there are args. r=nika
...
The default method implementations cause problems when trying to
override them with different types in a direct call class.
For the `Recv__delete__` case there's a simple solution: omit it if
there are any arguments, because it doesn't make much sense to specify
arguments and then completely ignore them, and the no-arg case isn't a
problem for overriding.
Differential Revision: https://phabricator.services.mozilla.com/D62977
--HG--
extra : moz-landing-system : lando
2020-02-18 20:46:21 +00:00
Boris Zbarsky
6c66fa85a4
Bug 1615022 part 2. Require an rvalue reference to reject a Promise with an ErrorResult. r=farre,kvark
...
The rejection process consumes the ErrorResult, so an rvalue reference is the honest thing here.
Differential Revision: https://phabricator.services.mozilla.com/D62632
--HG--
extra : moz-landing-system : lando
2020-02-14 15:42:30 +00:00
Simon Giesecke
b50347f917
Bug 1611415 - Prefer using std::move over forget. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D60980
--HG--
extra : moz-landing-system : lando
2020-02-13 14:38:48 +00:00
shindli
91aa0518dd
Backed out changeset 0c982bc69cb3 (bug 1611415) for causing build bustages in /builds/worker/workspace/build/src/obj-firefox/dist/include/nsCOMPtr CLOSED TREE
2020-02-12 20:13:29 +02:00
Simon Giesecke
f604a47fa5
Bug 1611415 - Applied FixItHints from mozilla-non-std-move. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D60980
--HG--
extra : moz-landing-system : lando
2020-02-12 17:24:41 +00:00
Boris Zbarsky
05327f8a52
Bug 1613978. Allow passing u"...", not just nsAStrings, to templated ThrowType/RangeError. r=peterv
...
Differential Revision: https://phabricator.services.mozilla.com/D62061
--HG--
extra : moz-landing-system : lando
2020-02-10 13:08:48 +00:00
Boris Zbarsky
02b5075a4f
Bug 1152078. Remove the const_cast<ErrorResult> bits from DOM cache code. r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D61651
--HG--
extra : moz-landing-system : lando
2020-02-05 16:15:07 +00:00
Tom Schuster
989660da15
Bug 1605854 - Remove uneval/toSource from DOM tests. r=smaug
...
Using JSON.stringify in dom/tests/mochitest/chrome/test_clonewrapper.xhtml might not be the best solution, because
the testObject contains ImageData objects.
Differential Revision: https://phabricator.services.mozilla.com/D58645
--HG--
extra : moz-landing-system : lando
2020-01-06 13:09:27 +00:00