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

704437 Коммитов

Автор SHA1 Сообщение Дата
Simon Giesecke 4bef2b41e0 Bug 1626570 - Improve handling of copying arrays in toolkit/components/url-classifier/. r=gcp
Differential Revision: https://phabricator.services.mozilla.com/D72328
2020-04-30 09:40:24 +00:00
Simon Giesecke e3a88d2d40 Bug 1626570 - Improve handling of copying arrays in toolkit/components/telemetry/. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D72327
2020-04-30 09:39:56 +00:00
Simon Giesecke 884e6748f3 Bug 1626570 - Improve handling of copying arrays in toolkit/components/extensions/. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D72326
2020-04-30 09:39:07 +00:00
Simon Giesecke 02f800012c Bug 1626570 - Improve handling of copying arrays in toolkit/components/perfmonitoring/. r=tarek
Differential Revision: https://phabricator.services.mozilla.com/D72325
2020-04-30 09:38:55 +00:00
Simon Giesecke 8c2e9ea51c Bug 1626570 - Improve handling of copying arrays in toolkit/components/places/. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D72323
2020-04-30 09:38:47 +00:00
Simon Giesecke 3e08d0afd5 Bug 1626570 - Improve handling of copying arrays in uriloader/. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D72322
2020-04-30 09:38:40 +00:00
Simon Giesecke 49eb05a114 Bug 1626570 - Improve handling of copying arrays in widget/. r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D72321
2020-04-30 09:38:38 +00:00
Simon Giesecke a6c4405725 Bug 1626570 - Improve handling of copying arrays in dom/ipc/. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D72320
2020-04-30 09:37:05 +00:00
Simon Giesecke 6a983da8c3 Bug 1626570 - Improve handling of copying arrays in extensions/spellcheck. r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D72319
2020-04-30 09:36:26 +00:00
Simon Giesecke 9ad17cfd3d Bug 1626570 - Improve handling of copying arrays in accessible/. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D72318
2020-04-30 09:36:14 +00:00
Simon Giesecke 4a9809b4f9 Bug 1626570 - Improve handling of copying arrays in tools/profiler/gecko. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D72317
2020-04-30 09:36:07 +00:00
Simon Giesecke 652b5d3980 Bug 1626570 - Add ParamTraits for CopyableTArray. r=nika
Differential Revision: https://phabricator.services.mozilla.com/D72690
2020-04-30 09:36:04 +00:00
Simon Giesecke 2a39ffc1e4 Bug 1626570 - Add CopyableTArray. r=xpcom-reviewers,nika
Differential Revision: https://phabricator.services.mozilla.com/D72315
2020-04-30 09:35:57 +00:00
Stefan Hindli e791b2e3f6 Backed out 2 changesets (bug 1633401) for perma wpt failures in /storage-access-api/hasStorageAccess.sub.window.html CLOSED TREE
Backed out changeset 51411fecaf48 (bug 1633401)
Backed out changeset c06a6718ad5f (bug 1633401)
2020-04-30 12:51:11 +03:00
Razvan Maries c92da124b3 Backed out 8 changesets (bug 1620621) for build bustages. CLOSED TREE
Backed out changeset 14a57e32c414 (bug 1620621)
Backed out changeset 56b2b19a9bc1 (bug 1620621)
Backed out changeset 6df42b7528ec (bug 1620621)
Backed out changeset c23703684254 (bug 1620621)
Backed out changeset 206ad824e1bc (bug 1620621)
Backed out changeset e0f3e057b311 (bug 1620621)
Backed out changeset 12817823a3c9 (bug 1620621)
Backed out changeset 80dcb089ce8e (bug 1620621)
2020-04-30 12:29:30 +03:00
aarushivij 145445e3bc Bug 1634076 - Remove redundant .PanelUI-subView toolbarseparator rule r=dao
Differential Revision: https://phabricator.services.mozilla.com/D73195
2020-04-30 09:10:01 +00:00
Rob Wu 6b89689536 Bug 1620621 - Temporarily disable test_remote_settings_poll.js r=glasserc
This test uses the Kinto client to access the RemoteSettings database.
However, due to the database version bump from D72416, the kinto client
is no longer compatible with the RemoteSettings database.

This will be fixed in bug 1634203.

Differential Revision: https://phabricator.services.mozilla.com/D73160
2020-04-30 09:08:14 +00:00
Rob Wu 6986e261ef Bug 1620621 - Add initial dump of addons blocklist r=Gijs
The MLBF (addons-mlbf.bin) itself is 64 KB.
Together with the metadata, this is 65 KB.
In contrast, the current JSON-based dump (addons.json) is 913 KB.

Differential Revision: https://phabricator.services.mozilla.com/D73159
2020-04-30 02:48:46 +00:00
Rob Wu 978c90cbf6 Bug 1620621 - Implement blocklist stashing behind pref r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D72890
2020-04-30 02:48:30 +00:00
Rob Wu 34e22a3202 Bug 1620621 - Unit tests for MLBF-based blocklist r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D72631
2020-04-30 08:28:11 +00:00
Rob Wu 5047bb6dea Bug 1620621 - Add bloomfilter-based blocklist for addons r=Gijs,aswan
NOTE: This commit does not yet include a dump of the RemoteSettings
collection and attachment. This will be added in the near future.

Differential Revision: https://phabricator.services.mozilla.com/D72418
2020-04-30 02:48:35 +00:00
Rob Wu 4c8480260e Bug 1620621 - Add support for fallback to dumps for attachments r=Gijs,leplatrem
With this piece, it is now possible for RemoteSettings clients to always
have a valid attachment.

This adds the client APIs that could support bug 1542177.

Differential Revision: https://phabricator.services.mozilla.com/D72417
2020-04-30 02:48:37 +00:00
Rob Wu e515fb95e2 Bug 1620621 - Add caching and recovery mechanisms to RemoteSettings's download() method r=Gijs,leplatrem
The current RemoteSettings API has two methods for downloading:

- `download(record)` to download an attachment to disk, with a filename
  given by the record. The file is read and returned before downloading.
  A new download attempt overwrites the file, with no recovery mechanism
  if the download fails.
- `downloadAsBytes(record)` to download an attachment in memory.

The `download` method does have a cache, but it is only useful for
reducing bandwidth usage, not for availability of data. Moreover, if its
associated record is removed from the collection, then callers do not
have a way to delete the file since its identifier (filename) originates
from the record.

The `downloadAsBytes` method does not have this file tracking issue
since it does not persist the data, but it forces callers to implement
their own attachment storing mechanism.

This commit adds the `useCache` option to the `download()` method to
enable callers to use an IndexedDB-based cache instead of the
filesystem. The following options unlock significant features:

- `fallbackToCache` - If the requested attachment is not available, the
  last known attachment is returned.
- `fallbackToDump` - If the requested attachment is not available, nor
  cached, then the attachment (dump) that is packaged with the client is
  returned instead. This is implemented in the next commit (D72417).

The original record is cached along with the attachment, to allow
callers to use the file (identified by the given `attachmentId`) and
its metadata, even when the original record has been removed from the
collection.

This is particularly useful for scenarios where one wants to keep a file
(and metadata) up to date via RemoteSettings, without having to develop
a separate storage and synchronization mechanism.

The deprecation of the old behavior will be handled in bug 1634127.

Differential Revision: https://phabricator.services.mozilla.com/D72416
2020-04-30 09:02:14 +00:00
Rob Wu 021277de0e Bug 1620621 - Add XPCOM FFI for rust_cascade r=emilio,vporof
Differential Revision: https://phabricator.services.mozilla.com/D66166
2020-04-30 02:48:42 +00:00
Razvan Maries c409ec27d3 Bug 1633850 - Disabled browser_ignore_toolbox_network_requests.js on multiple platforms. r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D73197
2020-04-30 08:52:32 +00:00
Nicolas Chevobbe f0b7591da9 Bug 1631799 - Fix order of command and its result message when server and client don't have the same clock time. r=jdescottes.
When remote-debugging a device, it might happen that the device clock
is not exactly at the same time as the client clock. In such case, we
may end up in cases where the result of a command as an older timestamp,
which means we could have in the console output a result that was displayed
before the command message that triggered it.
In order to fix this, we add a `startTime` property on the evaluateJSAsync
response, that we can then check on the client. If the server time is
older than the client time, then we remove the existing command message
and add a new one, with the server timestamp.

We could have waited the result of the command before displaying the
command message (so we don't have to add a message, and then remove it
when the timestamps don't match), but the UI wouldn't feel snappy, and
even worse in case of long execution times (e.g. a top-level await fetch command).

Differential Revision: https://phabricator.services.mozilla.com/D72705
2020-04-30 06:31:14 +00:00
Masayuki Nakano 94a85cde62 Bug 1540037 - part 4: Move `EditorBase::SplitNodeDeepWithTransaction()` to `HTMLEditor` r=m_kato
It's only used by `HTMLEditor` so that we can move it.

Differential Revision: https://phabricator.services.mozilla.com/D72826
2020-04-30 07:29:27 +00:00
Joel Maher f7fe0d0066 Bug 1632079 - mark content-security-policy/navigation/to-javascript-url-script-src.html as backlog(tier-2). r=ckerschb
mark content-security-policy/navigation/to-javascript-url-script-src.html as backlog(tier-2).

Differential Revision: https://phabricator.services.mozilla.com/D73101
2020-04-30 06:54:49 +00:00
Florin Strugariu 31cfde3fdb Bug 1628627 - [mozproxy] Mitmproxy is ignoring 301 requests r=perftest-reviewers,tarek,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D72338
2020-04-30 07:39:32 +00:00
Florin Strugariu 657a067337 Bug 1624813 - Update raptor tests to mitm 5.0.1 r=perftest-reviewers,AlexandruIonescu
Differential Revision: https://phabricator.services.mozilla.com/D72337
2020-04-29 19:59:43 +00:00
Gijs Kruitbosch f6364a8a1b Bug 1630766 - use Remote Settings instead of kinto-offline-client for remote_settings_worker sanity checks, r=leplatrem
Depends on D72063

Differential Revision: https://phabricator.services.mozilla.com/D72064
2020-04-30 08:23:36 +00:00
Gijs Kruitbosch 6a1f88f746 Bug 1630766 - optimize clear() in remote settings' Database.jsm to delete based on a keyrange instead of cursor'ing through everything, r=asuth
Depends on D71326

Differential Revision: https://phabricator.services.mozilla.com/D72063
2020-04-29 22:57:18 +00:00
Gijs Kruitbosch ca9538bd16 Bug 1630766 - handle abort events in Remote Settings' executeIDB and test that this works, r=asuth,leplatrem
This adds abort handlers to Database.jsm and RemoteSettingsWorker.js's
indexedDB transactions, so we handle transaction aborts appropriately
and do not leave consumers waiting forever.

It also adds explicit error passing to places where we continue operating on a
store via a live transaction after control flow passes back to executeIDB,
because we use the `onsuccess` handler of earlier IDBRequests to run more
requests in the transaction.

In this case, in theory exceptions get handled by IndexedDB by invoking the
abort handler on the transaction (which we do not have right now...), but as a
belt-and-braces approach, it's probably better to do this explicitly.

Differential Revision: https://phabricator.services.mozilla.com/D71326
2020-04-30 08:17:54 +00:00
Mathieu Leplatre 77fd51daf1 Bug 1633502 - Fix usage of timestamp in changeset querystring r=mythmon
Differential Revision: https://phabricator.services.mozilla.com/D73133
2020-04-29 20:49:27 +00:00
Mark Hammond c777f6f9ed Bug 1634257 - expose wipe_all to mozIExtensionStorageArea. r=lina
Differential Revision: https://phabricator.services.mozilla.com/D73191
2020-04-30 08:16:26 +00:00
Mark Banner 96e61ff62e Bug 1633514 - Rework test_paramSubstitution.js to work with WebExtensions rather than a manually added one. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D72742
2020-04-29 17:12:47 +00:00
Mark Banner 77e99bfe2a Bug 1633514 - Add SearchTestUtils.installSearchExtension to make testing search engine WebExtensions easier. r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D72741
2020-04-29 17:12:47 +00:00
Liang-Heng Chen cd62b4fd69 Bug 1634169 - Enable blocking access to storage from tracking resources by default; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D73158
2020-04-30 07:29:25 +00:00
Andrea Marchesini f5b1872f05 Bug 1634251 - Propagate the IntrinsicStoragePrincipal when cloning a document, r=xeonchen
Differential Revision: https://phabricator.services.mozilla.com/D73189
2020-04-30 07:27:41 +00:00
Stefan Hindli e22cd35728 Backed out 9 changesets (bug 1580448) for linux build bustages in /builds/worker/workspace/obj-build/dist/include/mozilla/dom/JSWindowActorChild.h CLOSED TREE
Backed out changeset 6b4db1a501df (bug 1580448)
Backed out changeset 677257a41457 (bug 1580448)
Backed out changeset 6db8de5fc125 (bug 1580448)
Backed out changeset fd7527c86239 (bug 1580448)
Backed out changeset bfbd3330b0a5 (bug 1580448)
Backed out changeset dafa80c63322 (bug 1580448)
Backed out changeset 2a1701831a6a (bug 1580448)
Backed out changeset 9b548bd38671 (bug 1580448)
Backed out changeset 358f764ae48b (bug 1580448)
2020-04-30 10:58:27 +03:00
Stefan Hindli 49c6346195 Backed out changeset 13bb4d7dde88 (bug 1634257) for spidermoney bustages CLOSED TREE 2020-04-30 10:56:43 +03:00
Jon Coppeard 72eac88fe9 Bug 1633752 - Calculate non-incremental threshold based on heap size and increase it for smaller heaps r=sfink
This adds a splits the non-incremental threshold parameter into one for small heaps and one for large.  What counts as large and small are controlled by the existing parameters that were previously used for dynamic heap growth.  I also renamed the parameter from "non-incremental threshold" to "incremental limit".

The small heap parameter is increased to 1.4.  This avoids non-incremental GC on facebook and reddit as reported in the dependent bugs and allows us to remove the splay latency hack that was previously necessary.

Differential Revision: https://phabricator.services.mozilla.com/D72903
2020-04-29 07:45:19 +00:00
Jon Coppeard ee52a5774c Bug 1633752 - Use doubles rather than floats for GC parameters r=sfink
When I tested the main patch for this bug I got test failures in the gc/gcparam.js jit-test because of rounding errors converting GC parameters between integer percentages and floats in GCSchedulingTunables::setParameter. Making these all double fixes the problem, and it's the default floating point type in C++ anyway.

Differential Revision: https://phabricator.services.mozilla.com/D72902
2020-04-29 08:00:10 +00:00
Jon Coppeard d92a182d73 Bug 1633457 - Rename some GC parameters for clarity r=sfink
Differential Revision: https://phabricator.services.mozilla.com/D73012
2020-04-29 21:54:22 +00:00
David Teller 6fa45f443f Bug 1580448 - JSProcessActor{Child, Parent}::AfterDestroy;r=nika
Differential Revision: https://phabricator.services.mozilla.com/D73017
2020-04-30 07:37:06 +00:00
David Teller 024b5f5200 Bug 1580448 - Add NS_DECL_NSICONTENTPARENT to ContentParent;r=nika
This is a fixup to Bug 1580447, which landed some time ago.

Differential Revision: https://phabricator.services.mozilla.com/D72758
2020-04-30 07:36:36 +00:00
David Teller f700c5624c Bug 1580448 - JSProcessActor tests;r=nika
Differential Revision: https://phabricator.services.mozilla.com/D69819
2020-04-30 07:36:29 +00:00
David Teller a8154d1972 Bug 1580448 - Renaming Test{Child, Parent} => TestWindow{Child, Parent};r=nika
Differential Revision: https://phabricator.services.mozilla.com/D69818
2020-04-30 07:36:01 +00:00
David Teller 6fc81ee749 Bug 1580448 - ChromeUtils.{register, unregister}ProcessActor;r=nika
Differential Revision: https://phabricator.services.mozilla.com/D69786
2020-04-30 07:35:24 +00:00
David Teller b53c3a4ae1 Bug 1580448 - nsIContent{Child, Parent}::getActor;r=nika
Differential Revision: https://phabricator.services.mozilla.com/D69784
2020-04-30 07:35:20 +00:00