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

643893 Коммитов

Автор SHA1 Сообщение Дата
Andrea Marchesini 08bff459b5 Bug 1537882 - Initialize QuotaManagerService in ClearDataService for GeckoView, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D24675

--HG--
extra : moz-landing-system : lando
2019-03-25 12:08:31 +00:00
Andrea Marchesini 06c0315fb7 Bug 1538647 - Use Service.ETLD in ClearDataService, r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D24674

--HG--
extra : moz-landing-system : lando
2019-03-25 11:32:32 +00:00
Martin Stransky 706514741c Bug 1468911 - [Wayland] Visible artifacts during window resize, r=ashie
When wayland surface is newly created or resized,
postpone buffer commit (drawing) until gecko updates whole screen
and don't publish partial updates.

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

--HG--
extra : moz-landing-system : lando
2019-03-23 03:02:24 +00:00
Martin Stransky 0961433659 Bug 1536099 - [Wayland] Provide logging to Wayland surface, r=ashie
Differential Revision: https://phabricator.services.mozilla.com/D23854

--HG--
extra : moz-landing-system : lando
2019-03-23 02:53:07 +00:00
Cosmin Sabou ddfb7ebc97 Backed out changeset a04938b3a757 (bug 1536781) for android mochitest failures on test_settings_fontinflation.html.
--HG--
extra : rebase_source : 7ca18ca3408b1ad18e5d57ddf4b5ad986f2daa08
2019-03-25 13:45:38 +02:00
Sebastian Hengst bf8d28e2cf Backed out 2 changesets (bug 1335740) for permafailing mda task on Android 8.0
Backed out changeset 7beefe9e4d81 (bug 1335740)
Backed out changeset 35abcd7c962a (bug 1335740)

--HG--
rename : testing/web-platform/meta/mediacapture-streams/MediaDevices-getSupportedConstraints.https.html.ini => testing/web-platform/meta/mediacapture-streams/MediaDevices-getSupportedConstraints.html.ini
rename : testing/web-platform/meta/mediacapture-streams/historical.https.html.ini => testing/web-platform/meta/mediacapture-streams/historical.html.ini
rename : testing/web-platform/tests/mediacapture-streams/MediaDevices-getSupportedConstraints.https.html => testing/web-platform/tests/mediacapture-streams/MediaDevices-getSupportedConstraints.html
rename : testing/web-platform/tests/mediacapture-streams/historical.https.html => testing/web-platform/tests/mediacapture-streams/historical.html
2019-03-25 12:31:48 +01:00
ffxbld 3f834cdb15 No Bug, taskcluster/docker/funsize-update-generator pipfile-update. r=sfraser
Differential Revision: https://phabricator.services.mozilla.com/D24676

--HG--
extra : moz-landing-system : lando
2019-03-25 11:07:49 +00:00
Henri Sivonen 935b754f86 Bug 1521249 part 2 - Make packed_simd compile with Rust 1.32 and later. r=glandium
This adds the Firefox-required build.rs hack and reverts the commit
that added bitmasks in a way that depends on Rust 1.34 compiler
internals.

Depends on D20288

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

--HG--
extra : moz-landing-system : lando
2019-03-23 14:17:35 +00:00
Henri Sivonen 7d1d8a5c3c Bug 1521249 part 1 - Update encoding_rs to 0.8.16. r=glandium
This changeset requires nightly Rust (to be changed in the next part).

Depends on D21891

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

--HG--
rename : third_party/rust/simd/LICENSE-APACHE => third_party/rust/packed_simd/LICENSE-APACHE
rename : third_party/rust/simd/LICENSE-MIT => third_party/rust/packed_simd/LICENSE-MIT
extra : moz-landing-system : lando
2019-03-23 14:17:35 +00:00
Henri Sivonen 5792feaaf5 Bug 1521249 part 0 - Remove Rust version cap from --enable-rust-simd. r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D21891

--HG--
extra : moz-landing-system : lando
2019-03-23 14:17:35 +00:00
Oana Pop Rus 3bd8930fc3 Backed out 2 changesets (bug 1531693) for bc failures browser_privatebrowsing_about.js on a CLOSED TREE
Backed out changeset 4d2429507163 (bug 1531693)
Backed out changeset bf5460df1909 (bug 1531693)
2019-03-25 12:16:46 +02:00
Nils Ohlmeier [:drno] 92a38b7c16 Bug 1535868: don't send SRTP when not negotiated. r=bwc
Differential Revision: https://phabricator.services.mozilla.com/D23805

--HG--
extra : moz-landing-system : lando
2019-03-22 23:31:44 +00:00
Glenn Watson b625730d0b Bug 1538626 - Support fast path for clip-out rectangles in WR. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D24666

--HG--
extra : moz-landing-system : lando
2019-03-25 08:35:31 +00:00
Olli Pettay abc400e3b3 Bug 1536781, use the same paint suppression delay on mobile and desktop, r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D24658

--HG--
extra : moz-landing-system : lando
2019-03-25 00:20:15 +00:00
Marcos Cáceres 5278a7fde8 Bug 1538067 BasicCardRequest's supportedNetworks must default to = []. r=baku
update implementation to match spec.

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

--HG--
extra : moz-landing-system : lando
2019-03-25 09:26:10 +00:00
Sebastian Hengst 5e4a46be23 Bug 1538475 - Add comma to 'central-to-beta' and 'beta-to-release' generators to prevent concatenation of two folder paths of files to modify r=jlorenzo
Differential Revision: https://phabricator.services.mozilla.com/D24602

--HG--
extra : moz-landing-system : lando
2019-03-25 09:14:45 +00:00
Bastien Abadie 9b8eb1ef99 Bug 1536836 - Support multiple formatters with file output in ./mach lint, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D24193

--HG--
extra : moz-landing-system : lando
2019-03-25 09:16:14 +00:00
Matthew Gaudet 1894f5bdfd Bug 1538349 - Allow nullptr for the script parameter in AutoStructuredSpewer r=iain
It's useful to be able to use the AutoStructuredSpewer without necessarily
having a script at that moment.

Channels that use this won't be able to filter by script.

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

--HG--
extra : moz-landing-system : lando
2019-03-22 23:12:00 +00:00
Brian Hackett b851bf262e Bug 1535071 - Use the debugger global scope for worker error reporting if necessary, r=smaug,baku.
Differential Revision: https://phabricator.services.mozilla.com/D24270

--HG--
extra : moz-landing-system : lando
2019-03-25 09:26:48 +00:00
Dimi Lee 5e81ad2260 Bug 1522412 - P7. A mochitest to test different channel open call sites are classified. r=Ehsan
The goal of this testcase is to provide an easier way to add callsites
to test if it is correctly classified. This is a first step, more callsites should be added to
the testcase(See Bug 1532691)

Flow of the test case:
1. setup the server(trackerFrame.sjs) with the expceted number of request it should receive
2. load the test frame(trackerFrame.html) with cookie restriction off, to ensure all the tracking requests contain cookies
3. server responses a list of tracker's request with cookie after reciving all the requests
4. the list should contain all the trackers in the test frame.
5. enable cookie restriction and load the test frame again.
6. server responses a list of tracker's request without cookie after reciving all the requests
7. the list should contain all the trackers in the test frame.

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

--HG--
extra : moz-landing-system : lando
2019-03-25 12:51:58 +00:00
Dimi Lee 7e550c8668 Bug 1522412 - P6. Add a xpcshell-test for default classification. r=Ehsan
This patch adds a xpcsehll-test which tests all the combinations of
those parameters used by the heuristic classification algorithm.

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

--HG--
extra : moz-landing-system : lando
2019-03-25 12:50:29 +00:00
dlee dabe54958d Bug 1522412 - P5. Do not use system principal in testcase to test tracking protection. r=Ehsan
Some testcases are chrome scope testcase hence the resources it loads are triggered by
"system principal". This will exempt the resource from classification.

So in this patch, we used a new window to for the tracker test frame.
The window creation code is referenced from test_privatebrowsing_trackingprotection.html.

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

--HG--
extra : moz-landing-system : lando
2019-03-25 12:49:28 +00:00
dlee 99b23da7f0 Bug 1522412 - P4. Use LOAD_BYPASS_URL_CLASSIFIER flag for SafeBrowsing update/lookup r=Ehsan
We want to ensure SafeBrowsing update request is never classified so we
can recover from a bad SafeBrowsing database.

SafeBrowsing lookup request is also critical because if it is blocked,
it means SafeBrowsing is out of function.

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

--HG--
extra : moz-landing-system : lando
2019-03-25 12:49:00 +00:00
dlee d7d67be8c9 Bug 1522412 - P3. Adopt nsIChannel.LOAD_BYPASS_URL_CLASSIFIER in the algorithm determining if we should classify a channel's URI. r=Ehsan,mayhemer
This patch uses the flag to exempt channels from classification, but it
doesn't include the use cases of this flag.

See Bug 1442496 for the list of the call sites should use this flag.

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

--HG--
extra : moz-landing-system : lando
2019-03-25 12:48:25 +00:00
dlee 9878ae650d Bug 1522412 - P2. Remove nsIChannel.LOAD_CLASSIFY_URI flag. r=Ehsan
nsIChannel.LOAD_CLASSIFY_URI is no longer required so we can remove it from
the codebase.
In the mean time, we add a new LOAD_BYPASS_URL_CLASSIFIER load flag for
channel creator to be able to force channel to bypass URL classifier check.
The use of the new LOAD_BYPASS_URL_CLASSIFIER flag will be addressed in
the other patches.

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

--HG--
extra : moz-landing-system : lando
2019-03-25 12:47:57 +00:00
dlee 5f710bb93b Bug 1522412 - P1. Replace LOAD_CLASSIFY_URI flag with a heuristic algorithm. r=Ehsan,mayhemer
In this patch, we move from a model where URL classification is opt-in
(by specifying LOAD_CLASSIFIER_URI) to a model where it is enforced by
default unless a channel opts out or is deemed to be a critical channel
based on simple heuristics.

The heuristics exempt a channel from classification if it is triggered
by system with an exception when it is a top level load.

To ensure critical channels are never classified, we also exempt
channels which are flagged as "BeConservative" (implemented in bug 1321783).
Another load flag LOAD_BYPASS_URL_CLASSIFIER is also introduced
for the same reason.

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

--HG--
extra : moz-landing-system : lando
2019-03-25 12:47:29 +00:00
ffxbld 927082cd95 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D24686

--HG--
extra : moz-landing-system : lando
2019-03-25 12:45:49 +00:00
Kershaw Chang 4311c49299 Bug 1536236 - Make sure mDNSPrefetch is always released on main thread r=valentin
This patch should make mDNSPrefetch to be released always on main thread.

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

--HG--
extra : moz-landing-system : lando
2019-03-25 12:39:45 +00:00
Florens Verschelde 9d9c19e064 Bug 1537724 - Make text selection visible in TreeView inputs; r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D24375

--HG--
extra : moz-landing-system : lando
2019-03-25 12:24:54 +00:00
Mark Banner 9ae7d04cfd Bug 1531693 - For the PrivateBrowsing about page test, ensure we wait for autocomplete to finish. r=mak
This ensures test stability, and avoids leaking browser windows when we're closing the private browsing window in the test.

Depends on D24529

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

--HG--
extra : moz-landing-system : lando
2019-03-22 22:40:33 +00:00
Mark Banner a07272112f Bug 1531693 - Relax the assertion for another editor handling the composition to take account of cycle collection. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D24529

--HG--
extra : moz-landing-system : lando
2019-03-23 11:54:24 +00:00
Marco Bonardo 134a6c11a6 Bug 1536751 - Quantum Bar should clear switch-to-tab overrides on blur. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D24492

--HG--
extra : moz-landing-system : lando
2019-03-25 09:04:31 +00:00
Paul Adenot 48e3befa11 Bug 1528319 - Don't create a Promise when shutting down an AudioContext. r=karlt
This is done in the same style as `::Suspend` and `::Resume`.

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

--HG--
extra : moz-landing-system : lando
2019-03-25 02:41:50 +00:00
Julian Descottes 9fc4dd6f7a Bug 1528912 - Do not stop ADB when closing aboutdebugging or webide;r=daisuke
It looks like we don't need to stop ADB. Most of the logic can stay, in order to start and stop the devices polling.

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

--HG--
extra : moz-landing-system : lando
2019-03-25 08:05:18 +00:00
James Teh 1911fb04f0 Bug 1530931: Correctly handle retrieving a container accessible for a shadow root. r=eeejay
This can happen, for example, when GetAccessibleOrContainer is called within SelectionManager::ProcessSelectionChanged due to focusing a direct child of a shadow root.
In this case, the common ancestor is the shadow root itself.
Previously, we returned null in this case because GetFlattenedTreeParent doesn't work on the shadow root itself.
Now, we check if the given node is the shadow root, and if so, we use the shadow host instead.
This prevents the "We must reach document accessible implementing text interface!" assertion in SelectionManager::ProcessSelectionChanged when a direct child of a shadow root gets focus.

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

--HG--
extra : moz-landing-system : lando
2019-03-25 05:04:29 +00:00
Lina Cambridge 2c912888e3 Bug 1482608 - Remove the JS bookmark merger. r=markh
Differential Revision: https://phabricator.services.mozilla.com/D20078

--HG--
extra : moz-landing-system : lando
2019-03-25 04:51:01 +00:00
Lina Cambridge 721342c909 Bug 1482608 - Fix up inconsistent bookmarks at sync time. r=markh,tcsc
This commit changes the mirror to store divergent structure, instead
of dropping or trying to fix up records as they're stored.

* We no longer ignore records for items with invalid GUIDs. Instead,
  we store them in the mirror, and make new GUIDs for them. Dogear
  takes care of marking the old GUID as deleted, and flagging the item
  and its parent for reupload.
* Each item stores its `parentid` in the database, so we can fix up
  orphans and parent-child disagreements.
* Each item also stores a new validity state: valid, reupload, or
  replace. An item marked with "reupload" can be applied, but should be
  updated remotely. We use this to rewrite legacy tag queries. An item
  marked with "replace" can't be applied; for example, a bookmark or
  query without a valid URL. If the item exists locally, we can replace
  the server's invalid copy with a valid local copy. If not, we must
  delete it from the server.
* We don't need to protect the mirror's roots, since Dogear fixes them
  for us.

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

--HG--
extra : moz-landing-system : lando
2019-03-25 04:50:38 +00:00
Lina Cambridge 99b7c7c7de Bug 1482608 - Port the synced bookmarks merger to Rust. r=nika,mak,markh,tcsc
This commit introduces a Rust XPCOM component,
`mozISyncedBookmarksMerger`, that wraps the Dogear crate for
merging and applying synced bookmarks.

How this works: `SyncedBookmarksMirror.jsm` manages opening
the connection, initializing the schema, and writing incoming
items into the mirror database. The new `mozISyncedBookmarksMerger`
holds a handle to the same connection. When JS code calls
`mozISyncedBookmarksMerger::apply`, the merger builds local and
remote trees, produces a merged tree, applies the tree back to Places,
and stages outgoing items for upload in a temp table, all on the
storage thread. It then calls back in to JS, which inflates Sync
records for outgoing items, notifies Places observers, and cleans up.

Since Dogear has a more robust merging algorithm that attempts to fix
up invalid trees, `test_bookmark_corruption.js` intentionally fails.
This is fixed in the next commit, which changes the merger to handle
invalid structure.

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

--HG--
extra : moz-landing-system : lando
2019-03-25 04:50:14 +00:00
Lina Cambridge 1ffcc4917b Bug 1482608 - Convert null pointers passed to `xpcom_method`s into `Option`s. r=myk,nika
Differential Revision: https://phabricator.services.mozilla.com/D20075

--HG--
extra : moz-landing-system : lando
2019-03-25 04:49:36 +00:00
Lina Cambridge 35f0c7a7f9 Bug 1482608 - Add owning thread pointer holders for Rust code. r=nika,myk
This commit adds `ThreadPtr{Handle, Holder}` to wrap an `XpCom` object
with thread-safe refcounting. These are analagous to
`nsMainThreadPtr{Handle, Holder}`, but can hold references to
objects from any thread, not just the main thread.

`ThreadPtrHolder` is similar to `ThreadBoundRefPtr`. However, it's
not possible to clone a `ThreadBoundRefPtr`, so it can't be shared
among tasks. This is fine for objects that are only used once, like
callbacks. However, `ThreadBoundRefPtr` doesn't work well for loggers
or event emitters, which might need to be called multiple times on
the owning thread.

Unlike a `ThreadBoundRefPtr`, it's allowed and expected to
clone and drop a `ThreadPtrHolder` on other threads. Internally,
the holder keeps an atomic refcount, and releases the wrapped object
on the owning thread once the count reaches zero.

This commit also changes `TaskRunnable` to support dispatching from
threads other than the main thread.

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

--HG--
extra : moz-landing-system : lando
2019-03-25 04:49:24 +00:00
Lina Cambridge 3e894ac30e Bug 1482608 - Add basic Rust bindings for mozStorage. r=nika,asuth,mak
This commit wraps just enough of the mozStorage API to support the
bookmarks mirror. It's not complete: for example, there's no way
to open, clone, or close a connection, because the mirror handles
that from JS. The wrapper also omits shutdown blocking and retrying on
`SQLITE_BUSY`.

This commit also changes the behavior of sync and async mozStorage
connections. Async (`mozIStorageAsyncConnection`) methods may be called
from any thread on any connection. Sync (`mozIStorageConnection`)
methods may be called from any thread on a sync connection, and from
background threads on an async connection. All connections now QI
to `mozIStorageConnection`, but attempting to call a sync method on
an async connection from the main thread throws.

Finally, this commit exposes an `OpenedConnection::unsafeRawConnection`
getter in Sqlite.jsm, for JS code to access the underlying connection.

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

--HG--
extra : moz-landing-system : lando
2019-03-25 04:49:18 +00:00
Nicholas Nethercote 653456467a Bug 1533240 - Replace DMD's custom TLS code with use of mozilla/ThreadLocal.h. r=erahm
Differential Revision: https://phabricator.services.mozilla.com/D22448

--HG--
extra : moz-landing-system : lando
2019-03-22 20:07:30 +00:00
Matt Woodrow b99da239b5 Bug 1538003 - Disable some more intermittently failing webvtt tests. r=alwu"
Differential Revision: https://phabricator.services.mozilla.com/D24436

--HG--
extra : moz-landing-system : lando
2019-03-26 02:11:55 +00:00
Dennis Schubert 43366a5c39 Bug 1538966 - Use legacy keyCode and charCode for sites with known issues. r=masayuki
Differential Revision: https://phabricator.services.mozilla.com/D24820

--HG--
extra : moz-landing-system : lando
2019-03-25 23:40:25 +00:00
Eric Rahm 3b644ff58e Bug 1538782 - Check for null when accessing tabModal. r=whimboo
The `tabModal` property getter can return null so we need to check it before accessing sub-properties.

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

--HG--
extra : moz-landing-system : lando
2019-03-26 00:55:03 +00:00
Mike Hommey 13064496dc Bug 1539005 - Make mach bootstrap install the thumbv7neon-linux-androideabi target. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D24825

--HG--
extra : moz-landing-system : lando
2019-03-26 00:19:20 +00:00
Mike Hommey 45d8ee6df1 Bug 1538419 - Add support for thumbv7neon to target-lexicon. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D24596

--HG--
extra : moz-landing-system : lando
2019-03-26 03:12:56 +00:00
shindli 8af903f814 Backed out changeset 030cb27161ee (bug 1538786) for raptor failures in testing/raptor/test/test_manifest.py::test_get_raptor_test_list_firefox CLOSED TREE 2019-03-26 04:52:51 +02:00
shindli a6cb898b72 Backed out changeset c0399366d123 (bug 1538419) for cargo library build bustages CLOSED TREE 2019-03-26 04:46:51 +02:00
James Teh ef2bda893e Bug 1473234: make a11y listen to DOM events from iframes and shadow DOM. r=eeejay
1. Register with the root document window's parent target, since this receives events for iframes and shadow DOM. (The root document itself doesn't.)
2. Hold onto the target node when scheduling processing of the DOM event, as GetOriginalTarget returns null when we process shadow DOM events async.

Depends on D21349

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

--HG--
extra : moz-landing-system : lando
2019-03-25 05:04:36 +00:00