Commit Graph

648862 Commits

Author SHA1 Message Date
Emily Toop
1cdb609e6a Bug 1527074 - Expose storage manager API to GeckoView r=geckoview-reviewers,snorp
Differential Revision: https://phabricator.services.mozilla.com/D25408

--HG--
extra : moz-landing-system : lando
2019-04-25 16:20:48 +00:00
Nicolas B. Pierron
15e75bcd4d Bug 1521158 - Invalidate ARM64 caches by increments of at most 32 bytes instead of increments of cache lines. r=sstangl
Differential Revision: https://phabricator.services.mozilla.com/D28827

--HG--
extra : moz-landing-system : lando
2019-04-25 16:39:14 +00:00
Andrew McCreight
9cc584e045 Bug 1544115 - Consolidate whitelisting of Rust allocation functions for LSan WPT. r=chmanchester
This whitelisting is not as mangled as the old one, so hopefully it
will be more resilient to changes in the Rust compiler. I moved them
to the top level white list, because like with the JS leaks we are
mostly focused on C++ leaks. Any interesting Rust leak is probably due
to a C++ leak.

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

--HG--
extra : moz-landing-system : lando
2019-04-25 16:28:38 +00:00
Tim Nguyen
bf280eed12 Bug 1546042 - Fix contrast of advanced panel in about:neterror in dark mode. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D28448

--HG--
extra : moz-landing-system : lando
2019-04-25 16:27:34 +00:00
Gurzau Raul
71e35400ef Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-04-25 19:30:38 +03:00
Gurzau Raul
dc61b90737 Merge inbound to mozilla-central. a=merge 2019-04-25 19:19:37 +03:00
Jim Blandy
52031426cb Bug 1546853: Implement mozilla::Variant::addTagToHash. r=froydnj
Define the Variant::addTagToHash method, which perturbs a hash value according
to the variant's current alternative's tag. This makes it easier to avoid
collisions in variants in which different alternatives might hash similarly.

Tests included.

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

--HG--
extra : moz-landing-system : lando
2019-04-25 14:03:40 +00:00
Gijs Kruitbosch
dc4531ece2 Bug 1515204 - add mouseup after drop in EventUtils, r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D28749

--HG--
extra : moz-landing-system : lando
2019-04-25 15:45:23 +00:00
Belén Albeza
0a6a1831d4 Bug 1505126: Part 2 - Render the ADB status into a new component, with an icon r=jdescottes,daisuke,Ola
Differential Revision: https://phabricator.services.mozilla.com/D28664

--HG--
extra : moz-landing-system : lando
2019-04-25 16:07:41 +00:00
Belén Albeza
ae85677b92 Bug 1505126 - Part 1: UX fixes. r=jdescottes,daisuke,Ola
Differential Revision: https://phabricator.services.mozilla.com/D28515

--HG--
extra : moz-landing-system : lando
2019-04-25 16:05:08 +00:00
Tom Prince
fa5bf2bd57 No bug: Handle unicode output from docker builds; r=dustin
This is not strictly required in mozilla-central, as `mach` sets
the encoding of the output to UTF-8.

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

--HG--
extra : moz-landing-system : lando
2019-04-25 15:49:33 +00:00
Drew Willcoxon
441baf366e Bug 1545916 - Make quantumbar match highlighting case insensitive. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D28751

--HG--
extra : moz-landing-system : lando
2019-04-25 08:56:47 +00:00
Andreas Tolfsen
3c8ae0e869 bug 1546722: remote: print better errors in browser chrome tests; r=yulia
We can reconstruct the CDP error and print a better error message
using RemoteAgentError.  This is better than the current output,
which in a lot of cases will be "CDP Exception: [object Object]".

A possible future improvement to this involves extending the CDP
protocol to send the individual components of the error individually,
so that we don't have to parse the string.

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

--HG--
extra : moz-landing-system : lando
2019-04-25 15:16:46 +00:00
Jan de Mooij
cae806b2c7 Bug 1546934 - Change LCov code coverage machinery to use a process-wide flag. r=nbp
This will simplify the Baseline Interpreter work.

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

--HG--
extra : moz-landing-system : lando
2019-04-25 13:35:55 +00:00
Danny Coates
7dab664a8c Bug 1543121 - Add buttons for toggling FxA message (in bookmark panel) r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D28165

--HG--
extra : moz-landing-system : lando
2019-04-25 14:47:24 +00:00
Andreas Tolfsen
8ccafe6392 bug 1546714: remote: fix bug component mapping for remote/targets/; r=ochameau
There are two concepts of targets in CDP: the target web document,
and the Target domain.  The remote/targets/ subfolder is related
to the first, which should have bugs filed under Remote Protocol ::
Agent, covered by the preceding rule.

DONTBUILD

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

--HG--
extra : moz-landing-system : lando
2019-04-25 13:49:57 +00:00
Andreas Tolfsen
d3121dd02c bug 1546714: remote: map Remote Protocol :: {DOM, Input} bug components; r=ochameau
Patch unfortunately has to add a few domain stubs so that mach does
not complain about not finding any files associated with these new
bug components.

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

--HG--
extra : moz-landing-system : lando
2019-04-25 14:27:15 +00:00
Dzmitry Malyshau
681ee8a0d0 Bug 1546371 - Switch render backend and API away from FramebufferPixel r=gw
The gist of the problem I introduced with the framebuffer coordinate system is that we provided the window rect (effectively) twice:
  1. when computing the document rectangle (and Y-inverting it)
  2. when rendering

If between these points the window got resized (during scene building), we end up with our document aligned to bottom left corner.
The user expects content to still be aligned to the top left, so that's what is visible as a bug.

The change here switched scene building to only care about device coordinate space, restraining the framebuffer coordinates to be mostly
an implementation detail of the renderer/device (the way it was originally meant to be, when introduced). This way the current window size
is only considered once during rendering.

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

--HG--
extra : moz-landing-system : lando
2019-04-25 13:02:47 +00:00
Marcos Cáceres
0e6e3ef889 Bug 1546859 add requestSecurityCode member to BasicCardRequest r=baku
the requestSecurityCode allows merchants to opt out of requiring a CVV from a credit card.

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

--HG--
extra : moz-landing-system : lando
2019-04-25 07:47:36 +00:00
Alex Chronopoulos
f0d62457c5 Bug 1545279 - Update cubeb from upstream to 3570749. r=padenot
Pick commits:
3570749 - wasapi: tie monitor lifetime with notification client lifetime. BMO 1545279 (#505)
162625a - test: add option to get the posotion of a stream (#504)

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

--HG--
extra : moz-landing-system : lando
2019-04-25 09:22:35 +00:00
Mathieu Leplatre
582063c263 Bug 1512451 - Read OneCRL blocklist from security-states/onecrl r=jcj,mgoodwin,glasserc
Read OneCRL blocklist from security-states/onecrl

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

--HG--
rename : services/common/tests/unit/test_blocklist_certificates.js => services/common/tests/unit/test_blocklist_onecrl.js
extra : moz-landing-system : lando
2019-04-24 14:52:13 +00:00
Wizard
150d7412e1 Bug 1546277 - Remove the className for the console.assert element. r=nchevobbe.
The className was making the color purple, although we want it to be red.
Removing the className makes it red.

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

--HG--
extra : moz-landing-system : lando
2019-04-25 09:17:48 +00:00
Bogdan Tara
240b24fbe1 Backed out 5 changesets (bug 1534712, bug 1545758) for test_ext_webrequest_upload.html failures CLOSED TREE
Backed out changeset 447b0f5a5802 (bug 1545758)
Backed out changeset 0528f8f11814 (bug 1545758)
Backed out changeset d85c68071b54 (bug 1545758)
Backed out changeset 10b380bc5b0c (bug 1545758)
Backed out changeset 57136f4e7b54 (bug 1534712)
2019-04-25 12:36:51 +03:00
Julian Seward
41aaeae2e3 Bug 1546157 - Wasm/Baseline: ensure stackmaps take into account reftyped locals. r=lhansen.
Prior to this patch, Wasm/Baseline's stackmap creation logic failed to take
into account reftyped locals which are not also parameters.  This patch fixes
that.  It also adds a new test that reliably exposes the failure on all 4
primary targets.  The test case also runs on Ion, and it appears that Wasm/Ion
does not suffer from an analogous problem.

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

--HG--
extra : rebase_source : 893bb5ad7e2028a29385f4624472d63defe3af19
2019-04-24 13:43:43 +02:00
Andreas Tolfsen
9d9634b875 bug 1546935: remote: reflect that remote agent is disabled in usage docs; r=me a=doc
DONTBUILD
2019-04-25 12:01:12 +01:00
Andreas Tolfsen
0ec47f620a bug 1546933: remote: clarify that tests are run on try; r=me a=doc
DONTBUILD
2019-04-25 11:52:53 +01:00
Andreas Tolfsen
86da122b28 bug 1546933: remote: drop unnecessary flags for ./mach test; r=me a=doc
The tests are instrumented to automatically set the remote.enabled
preference as part of their manifests. In the case of xpcshell,
it is also technically not need it as they do not trigger the
command-line-handler.js code path.

DONTBUILD
2019-04-25 11:52:52 +01:00
James Graham
17ae648e48 Bug 1546858 - Force the wpt manifest job to rebuild the manifest, r=Aryx
If we use the downloaded manifest then any bug that leads to an error in the manifest
may be propogated forward. Instead force the manifest to be built from scratch in CI.

Differential Revision: https://phabricator.services.mozilla.com/D28809
2019-04-25 11:28:36 +01:00
Bogdan Tara
b77143169d Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2019-04-25 12:51:48 +03:00
Bogdan Tara
b43af3bcfe Backed out 2 changesets (bug 1514965) for linux build bustage CLOSED TREE
Backed out changeset 7a6e07feb572 (bug 1514965)
Backed out changeset 8b36a9dda426 (bug 1514965)
2019-04-25 10:20:12 +03:00
Julian Descottes
7529452138 Bug 1546629 - Enable process category by default in about:debugging;r=Harald,daisuke
Differential Revision: https://phabricator.services.mozilla.com/D28632

--HG--
extra : moz-landing-system : lando
2019-04-25 02:06:52 +00:00
Drew Willcoxon
5d3e10fe23 Bug 1541921 - Remove duplicate-search bailout from quantumbar. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D27859

--HG--
extra : moz-landing-system : lando
2019-04-25 05:54:44 +00:00
Masayuki Nakano
2933c032e7 Bug 1545342 - part 3: Move remaining public enum of nsIPresShell to mozilla namespace in mozilla/PresShellForwards.h and make them enum class r=smaug
This patch moves remaining public `enum` of `nsIPresShell` to `mozilla`
namespace in `mozilla/PresShellForwards.h` and make them `enum class`es.

Additionally, some methods which use the moving `enum`s from `nsIPresShell`
to `PresShell`.

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

--HG--
extra : moz-landing-system : lando
2019-04-25 05:04:23 +00:00
Masayuki Nakano
3622509485 Bug 1545342 - part 2: Make some public enum of nsIPresShell move to mozilla namespace and defined as enum class in PresShellForwards.h r=smaug
This patch moves some `enum` in `nsIPresShell` which are in public scope into
`mozilla` namespace and change them as `enum class`es.

Unfortunately, only "where to scroll" enum is just defines constants of
percentages of scroll destination.  Therefore, this patch makes only them
as `static const`.

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

--HG--
extra : moz-landing-system : lando
2019-04-25 05:04:15 +00:00
Masayuki Nakano
5932f01d53 Bug 1545342 - part 1: Create mozilla/PresShellForwards.h and move global enums/constants in nsIPresShell.h and mozilla/PresShell.h into the new one r=smaug
This patch creates new header, `mozilla/PresShellForwards.h`.  It should have
all forward declarations of global class/struct in `nsIPresShell.h` and
`mozilla/PresShell.h`.

Additionally, this moves all `enum`s and `constant`s in them into the new file
with changing them to `enum class`es.

This will make other headers which require only specific types in the header
files not include them.

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

--HG--
extra : moz-landing-system : lando
2019-04-25 05:02:20 +00:00
Mike Conley
27357bc0b7 Bug 1540835 - Add some automated tests for the Picture-in-Picture toggle. r=Felipe
Depends on D27001

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

--HG--
extra : moz-landing-system : lando
2019-04-25 03:35:29 +00:00
Mike Conley
f2dd484a37 Bug 1540835 - Make Picture-in-Picture window closing more resilient to races. r=Felipe
We needed to handle the case where closePictureInPicture was being called on a window
that had already been closed but not yet GC'd.

Depends on D26807

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

--HG--
extra : moz-landing-system : lando
2019-04-25 03:35:09 +00:00
Zibi Braniecki
0e59a5d8f4 Bug 1544118 - Move nsINode::localize to use DocumentL10n::TranslateFragment. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D28269

--HG--
extra : moz-landing-system : lando
2019-04-24 10:35:37 +00:00
lloan
792e738fc6 Bug 1542312 - Add telemetry to track persist option usage in the Netmonitor panel. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D27999

--HG--
extra : moz-landing-system : lando
2019-04-25 07:56:06 +00:00
Razvan Caliman
a850d96a7d Bug 1541824 - Make Copy All Changes button sticky in Changes panel. r=gl
Ensure the button to copy all changes remains in view even when the Changes panel is overflowing vertically.

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

--HG--
extra : moz-landing-system : lando
2019-04-24 07:58:50 +00:00
Geoff Brown
450e774300 Bug 1546922 - Update tryselect unit test name for android jittest; r=bc
Differential Revision: https://phabricator.services.mozilla.com/D28836

--HG--
extra : moz-landing-system : lando
2019-04-25 13:46:48 +00:00
Razvan Caliman
c284276473 Bug 1538648 - Ensure buttons don't have a selection highlight. r=pbro
Button elements are not user-selectable by default as defined by User Agent stylesheet defaults: https://www.w3.org/TR/css-ui-4/#issue-74a40dd9

However, by using the Selection.selectAllChildren() API, button elements do get a selection highlight (their text contents don't get copied to the clipboard; that is expected). See Bug 1546366.

Until bug 1546366 is addressed, this patch ensures that button elements in DevTools never get a selection highlight by unsetting any applied styles with the `::selection` pseudo-element.

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

--HG--
extra : moz-landing-system : lando
2019-04-25 14:41:10 +00:00
Bogdan Tara
f25c071146 Backed out changeset d0eebfb3d916 (bug 1545751) for spidermonkey builds bustages CLOSED TREE 2019-04-25 18:20:18 +03:00
Bogdan Tara
32cf128765 Backed out 2 changesets (bug 1505126) for browser_parsable_css.js failures CLOSED TREE
Backed out changeset cfca5a733e48 (bug 1505126)
Backed out changeset 0ff53dd72b6b (bug 1505126)
2019-04-25 18:14:33 +03:00
Adam Holm
322aae31af Bug 1492995 - Adding CacheIR support for String + Boolean. r=mgaudet
Differential Revision: https://phabricator.services.mozilla.com/D27376

--HG--
extra : moz-landing-system : lando
2019-04-25 01:07:55 +00:00
David Teller
5f3821de3e Bug 1545751 - In BinAST, pass Context while parsing;r=arai
The Context 0.1 format specifies that the (de)compression of nodes is determined by:
- its node type;
- its parent type;
- the index in the parent node;
- whether the node is an element of an array.

This patch modifies the parser generator to pass the information during parsing.

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

--HG--
extra : moz-landing-system : lando
2019-04-25 08:07:57 +00:00
Erica Wright
765b073841 Bug 1543037 - Improve "Reload all tabs" experience. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D27936

--HG--
extra : moz-landing-system : lando
2019-04-24 15:43:40 +00:00
Ehsan Akhgari
c2290ca6a3 Bug 1546390 - Enable determining whether the current document should respect resist fingerprinting mode on the main thread in OffscreenCanvas.toBlob(); r=baku
Differential Revision: https://phabricator.services.mozilla.com/D28593

--HG--
extra : moz-landing-system : lando
2019-04-25 07:47:45 +00:00
Ehsan Akhgari
3157527f0f Bug 1545807 - Fall back to the principal-based slow code path inside ThirdPartyUtil::IsThirdPartyWindow() when we face a document without a cached base domain; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D28524

--HG--
extra : moz-landing-system : lando
2019-04-25 07:47:58 +00:00
Ed Lee
b326d88fcd Bug 1546590 - Reenable hardcoded layout with expiration fixed r=andreio
Differential Revision: https://phabricator.services.mozilla.com/D28765

--HG--
extra : moz-landing-system : lando
2019-04-25 07:55:38 +00:00