Commit Graph

681453 Commits

Author SHA1 Message Date
Jason Laster
11e7ffff6f Bug 1597946 - Browser debugger goes blank. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D54001

--HG--
extra : moz-landing-system : lando
2019-11-26 17:42:14 +00:00
Gurzau Raul
865834687b Backed out changeset 74162d71ef4d (bug 1597704) for failing at browser_insecurePasswordConsoleWarning.js on a CLOSED TREE. 2019-11-26 19:30:19 +02:00
Māris Fogels
75d85af992 Bug 1590745 - Make the $PYTHON3 build var use a virtualenv r=mshal
Make the $PYTHON3 build var point to a full virtualenv bootstrapped with
the same libraries as the $PYTHON Python 2 build var. This allows us to
upgrade build tasks from $PYTHON to $PYTHON3.

This patch adds some debug logging and documentation to the Python
2 virtualenv so that it is easier to diagnose issues that may arise
from running two different Python interpreters in re-entrant
multiprocess routines.

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

--HG--
extra : moz-landing-system : lando
2019-11-25 20:23:03 +00:00
Māris Fogels
8200f05c80 Bug 1598830 - Fix sys.executable in the macOS Python tests r=ahal
Homebrew on OS X will change Python's sys.executable to a custom value
which messes with mach's virtualenv handling code. Override Homebrew's
changes with the correct sys.executable value.

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

--HG--
extra : moz-landing-system : lando
2019-11-26 15:01:30 +00:00
Jeff Walden
9d88d72ec8 Bug 1598082 - Add comments to |ModuleObject::instantiateFunctionDeclarations| clarifying ownership of |funDecls|. r=jonco
Differential Revision: https://phabricator.services.mozilla.com/D54211

--HG--
extra : moz-landing-system : lando
2019-11-22 10:04:42 +00:00
Zibi Braniecki
d50efd5781 Bug 1597822 - Hook up intl.l10n.pseudo in DOM/chrome. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D53892

--HG--
extra : moz-landing-system : lando
2019-11-26 16:41:55 +00:00
Gijs Kruitbosch
d956d52b32 Bug 1599277 - fix docs paths for uriloader/exthandler, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D54638

--HG--
extra : moz-landing-system : lando
2019-11-26 15:02:00 +00:00
Sebastian Streich
a22a53ebb2 Bug 1597704 - Move is OriginPotentially Trustworthy into Principal r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D53830

--HG--
extra : moz-landing-system : lando
2019-11-26 16:00:49 +00:00
Ricky Stewart
0ab8b21981 Bug 1596219 - Augment wasi sysroot from bug 1582192 with bits necessary to perform wasm builds r=froydnj
Build a full sysroot by downloading the `wasi-sdk` repo, which has `llvm-project` and `wasi-libc` as submodules. `wasi-sdk` builds a `clang` in a unique configuration (with `wasm32-wasi` as a default target) and uses that `clang` to build the rest of the pieces for the wasm sysroot.

In principle it should be possible to build the sysroot using our in-house automation-built `clang`, but I kept running into strange, hard-to-diagnose issues when I attempted that. If someone else is able to straighten out all the compilation issues, we could replace this script and stop pulling in `wasi-sdk` entirely, which would result in a build that takes much less time overall. Until then, this will have to do to unblock the rest of the wasm sandboxing work.

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

--HG--
extra : moz-landing-system : lando
2019-11-26 13:27:39 +00:00
Simon Giesecke
0d86246c8c Bug 1599420 - Ensure that strong references to newly created cursors are kept until the DOM Binding is created. r=dom-workers-and-storage-reviewers,ttung,janv
Differential Revision: https://phabricator.services.mozilla.com/D54704

--HG--
extra : moz-landing-system : lando
2019-11-26 14:38:16 +00:00
Ricky Stewart
938a5f9a2e Bug 1599264 - lucetc must be declared as a prerequisite for automation Linux builds r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D54628

--HG--
extra : moz-landing-system : lando
2019-11-26 13:27:02 +00:00
Sebastian Streich
a3be2f9036 Bug 1594004 - Enable CacheSplit in nightly r=ckerschb,annevk
***
Fix Cache-Split related Tests

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

--HG--
extra : moz-landing-system : lando
2019-11-26 15:38:53 +00:00
Emily Toop
544204da37 Bug 1599452 - fix Javadoc naming r=geckoview-reviewers,snorp
An error means that javadoc is being copied to the incorrect folder as the {project} variable is incorrectly formatted

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

--HG--
extra : moz-landing-system : lando
2019-11-26 15:00:42 +00:00
Stephen Donner
61478a4536 Bug 1583197. Rename 'cold' conditioned profile to 'settled'. r=tarek
Differential Revision: https://phabricator.services.mozilla.com/D54241

--HG--
rename : testing/condprofile/condprof/scenarii/cold.py => testing/condprofile/condprof/scenarii/settled.py
extra : moz-landing-system : lando
2019-11-26 09:06:32 +00:00
Nicolas Silva
5096bece24 Bug 1594128 - Work around Mac GLSL compiler bug. r=kvark
The GLSL compiler appears to get confused by a function that just returns a defined constant.
See https://github.com/servo/webrender/wiki/Driver-issues#bug-1594128---glsl-on-macos-is-confused-by-a-function-that-just-returns-a-constant

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

--HG--
extra : moz-landing-system : lando
2019-11-26 15:32:21 +00:00
Nicolas Silva
95a287b185 Bug 1594128 - Don't rely on high bits to store the brush_kind varying. r=gw
In GLES the default precision for ints is only 16 bits in the fragment shader.

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

--HG--
extra : moz-landing-system : lando
2019-11-26 15:32:21 +00:00
Nicolas Silva
b67d63b117 Bug 1594128 - Tiddy up the multi-brush code. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D53998

--HG--
extra : moz-landing-system : lando
2019-11-25 20:01:50 +00:00
Nicolas Silva
05fb55f4ec Bug 1594128 - Add brush_radial_gradient to the multi-brush infrastructure. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D53996

--HG--
extra : moz-landing-system : lando
2019-11-25 20:01:49 +00:00
Nicolas Silva
769c50165c Bug 1594128 - Add brush_linear_gradient to the multi-brush infrastructure. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D53995

--HG--
extra : moz-landing-system : lando
2019-11-25 20:01:49 +00:00
Nicolas Silva
6bdc373992 Bug 1594128 - Add brush_mix_blend to the multi-brush infrastructure. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D53994

--HG--
extra : moz-landing-system : lando
2019-11-25 20:01:49 +00:00
Nicolas Silva
30dbc77429 Bug 1594128 - Add brush_blend to the multi-brush infrastructure. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D53993

--HG--
extra : moz-landing-system : lando
2019-11-25 20:01:49 +00:00
Nicolas Silva
ad0dcc4756 Bug 1594128 - Generic varyings for ps_text_run.glsl. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D53728

--HG--
extra : moz-landing-system : lando
2019-11-25 20:01:48 +00:00
Nicolas Silva
3606b4e2b1 Bug 1594128 - Use generic slots for text, image and solid shader varyings. r=gw
The 'multi-brush' shader will have to dynamically switch between different brushes. In order to support that without needing the sum of all brush varying locations, allow aliasing a number of generic slots.
This patch makes the assumption that one a vec2 and a vec4 cost the same amount of varying register space, which is suggested by the glsl specification about shader locations. If it is not the case we can add more granularity to the varying slots which are all vec4 at the moment. This also assumes that an unused varying is always optimized out.

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

--HG--
extra : moz-landing-system : lando
2019-11-25 20:01:48 +00:00
Nicolas Silva
e914c3b495 Bug 1594128 - Dynamically choose the brush kind in the shader. r=gw
This is an experiment with only image and solid to see what the infrastructure can be like.
If it works out I'll extend the it with more brush types. More work will be needed to get text rendering in there as well.

The multi-brush shader includes all brushes that it potentially needs suport for. Which brushes actually get compiled in is then specified via WR_FEATURE defines.
Since brushes can't have the same names for their entry points, they specify the function to use via a macros (WR_BRUSH_VS_FUNCTION and WR_BRUSH_FS_FUNCTION).

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

--HG--
extra : moz-landing-system : lando
2019-11-25 20:01:48 +00:00
Nicolas Silva
6265b9984a Bug 1594128 - Encode the brush shader type in the instance attributes. r=gw
This will allow the upcoming super-brush shader to select its behavior at runtime.

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

--HG--
extra : moz-landing-system : lando
2019-11-25 20:01:48 +00:00
Nicolas Silva
30a2b2634d Bug 1594128 - Only include shader sources once during parsing. r=gw
This chanes the shader parsing code to only inject #included shader sources once (the first time) if they are included multiple times.
This will allow some extra flexibility needed by the multi-brush shader.

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

--HG--
extra : moz-landing-system : lando
2019-11-25 20:01:47 +00:00
Doug Thayer
5705a57b83 Bug 1588223 - Use many domains in iframes for tabswitch test r=stephendonner,perftest-reviewers,rwood
This adds a tp5n-multiproc output directory which contains postprocessed
versions of the tp5n set. They are processed to take iframes with relative
URLs and output absolute URLs with domains similar to their original
domains. This will help us better simulate a real-world case for Fission,
which will split processes based on the ETLD+1 of the domain.

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

--HG--
extra : moz-landing-system : lando
2019-11-25 18:31:36 +00:00
Nicolas Chevobbe
1ad791a1d0 Bug 1375752 - Render empty strings as <empty string> in console. r=yzen.
This only affects console api calls where one of the
argument is an empty string. Since we don't quote
string arguments for those, it was difficult to spot
an empty string there.
Jest test are added, as well as a mochitest for the
console to make sure that we don't have unwanted
side effects (for evaluation results, object with
empty string properties, ...)

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

--HG--
extra : moz-landing-system : lando
2019-11-26 15:09:00 +00:00
qiaopengcheng
5209b0b401 Bug 1403893 - Make Breakpad print out the MIPS floating point registers correctly. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D54730

--HG--
extra : moz-landing-system : lando
2019-11-26 14:52:55 +00:00
Sylvestre Ledru
948d330640 Bug 1596911 - refresh the ignore list with the new exts r=Gijs
Depends on D53266

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

--HG--
extra : moz-landing-system : lando
2019-11-26 15:02:02 +00:00
Sylvestre Ledru
4056ec2363 Bug 1596911 - Activate the license lint on more extensions r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D53266

--HG--
extra : moz-landing-system : lando
2019-11-26 14:59:31 +00:00
Sylvestre Ledru
e94f355d96 Bug 1596911 - Add missing license headers on the new managed extensions r=Gijs,MattN
Depends on D53267

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

--HG--
extra : moz-landing-system : lando
2019-11-26 15:00:00 +00:00
Gabriele Svelto
f8581fc656 Bug 1599449 - Add bug 1371390 to the breakpad patches we apply locally to prevent updates from clobbering it r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D54728

--HG--
extra : moz-landing-system : lando
2019-11-26 14:42:24 +00:00
Sylvestre Ledru
8d2f0d1b1f Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

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

--HG--
extra : moz-landing-system : lando
2019-11-26 14:35:02 +00:00
Krish De Souza
e6b8e53803 Bug 1591751 - Updated snapcraft.yaml and Dockerfile to make use of modern snapcraft features. r=jlorenzo
In this patch I have adapted the Docker file to make use of core18 and snapcraft3.
This is the recommended approach as stated here.
https://snapcraft.io/docks/t/creating-docker-images-for-snapcraft/11739
Specifically the part talking about replacing likes FROM ubuntu:xenial with FROM ubuntu:bionic.


In snapcraft.yaml.in, I adjusted the snap by using the gnome-3-28 extensions as described in
https://forum.snapcraft.io/t/the-gnome-3-28-extension/13485.
In addition, I followed the instructions presented by removing the unnecessary plugs relating
to the desktop extension and adding the relevant dbus slot.

As part of the build process, it required a bunch of extra staged packages which I have documented.
I also used the magic part from Ken Vandine's thunderbird snapcraft for updating mime info.
https://bazaar.launchpad.net/~ubuntu-desktop/thunderbird/snap/view/head:/snapcraft.yaml
I also removed the xdg-open as that seemed to not be enabling the building of the snap.

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

--HG--
extra : moz-landing-system : lando
2019-11-26 14:34:47 +00:00
ssengupta
70cc52ae23 Bug 1595085 - BackgroundCursorChild::SendContinueInternal discards cached responses conditionally also for ContinuePrimaryKey r=sg
Differential Revision: https://phabricator.services.mozilla.com/D54518

--HG--
extra : moz-landing-system : lando
2019-11-26 13:33:56 +00:00
Mike de Boer
092cf95f26 Bug 1599172 - Re-initialize the Search Service when the pref 'browser.search.modernConfig' is flipped, to aid in testing. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D54683

--HG--
extra : moz-landing-system : lando
2019-11-26 12:35:43 +00:00
Tim Nguyen
eddf20e619 Bug 1583925 - Replace commonDialog.xul XUL grid with CSS grid. r=dao
This makes use of display: contents; in order to preserve the row-based markup that is needed by JS to hide certain rows.

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

--HG--
extra : moz-landing-system : lando
2019-11-26 13:41:16 +00:00
Jon Coppeard
293374b30f Bug 1599071 - Remove unnecessary GlobalObject::getOrCreateFinalizationGroupPrototype r=anba
Differential Revision: https://phabricator.services.mozilla.com/D54689

--HG--
extra : moz-landing-system : lando
2019-11-26 10:52:03 +00:00
Nicolas Chevobbe
8879b749c1 Bug 1536523 - Support performance.getEntries result in console.table. r=Honza.
PerformanceEntry values are put in the `getterValue` property in
the descriptor, so whenever we want to display a table we need
to check if the value could be in there.
This highlighted an issue in the console layout when there is a
large number of cells, which we fix in this patch.

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

--HG--
extra : moz-landing-system : lando
2019-11-26 09:56:40 +00:00
Nicolas Chevobbe
544183d2c2 Bug 1067710 - Bump console.table columns limit to 21 to match Chrome. r=Honza.
Increasing the number of columnns highlighted some issues:
- Some element could be off-screen, the grid-template-columns
  needed to be adjusted
- headers could be cut-off, we add a title on the element to
  have the full content in a tooltip
- properties that are not defined were displayed as "undefined",
  which is not really true, and take a lot of space. We render
  them as an empty cell in such case now.

A test is added to check the max-column limit.

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

--HG--
extra : moz-landing-system : lando
2019-11-26 13:21:12 +00:00
Andreas Tolfsen
66d0f10ce2 bug 1526364: browser: show visual cue when remote agent is listening; r=Gijs,remote-protocol-reviewers,maja_zf
We want to display a visual hint to the user that the browser session
is under control by a browser-external client when the remote agent
is listening.  The hint is the same as for when Marionette is active.

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

--HG--
extra : moz-landing-system : lando
2019-11-26 11:54:38 +00:00
Andreas Tolfsen
b749854d09 bug 1526364: browser, marionette: use "remote-listening" to indicate remote control; r=Gijs,marionette-reviewers,remote-protocol-reviewers,maja_zf
This changes the event Marionette emits when it is running from
"remote-active" to "remote-listening".

The background for this change is that the forthcoming Chromium-based
remote protocol uses the same observer notification to indicate
when it listens for browser-external connections.  This means that
with this change, the visual hint presented to the user will also
be applied when the remote agent starts its HTTPD listener.

Unlike Marionette however, the remote debugging protocol may be used
for browser-internal applications and it is not appropriate to signal
that the browser is under remote control under those circumstances,
hence the naming change away from "active".

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

--HG--
extra : moz-landing-system : lando
2019-11-26 13:23:29 +00:00
Ted Campbell
b1c82e8668 Bug 1599104 - Add JSFunction::delazifySelfHostedLazyFunction(). r=jandem
Split out the self-hosted handling from delazifyLazilyInterpretedFunction
since it will need to be handled differently when LazyScript merges with
JSScript.

Depends on D54526

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

--HG--
extra : moz-landing-system : lando
2019-11-26 10:24:55 +00:00
Ted Campbell
e3a2bc094a Bug 1599104 - Add JSFunction::enclosingScope(). r=jandem
Hide the check for LazyScript vs JSScript inside an accessor function.

Depends on D54525

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

--HG--
extra : moz-landing-system : lando
2019-11-26 10:11:09 +00:00
Ted Campbell
14050e5ead Bug 1599104 - Simplify JSFunction::maybeCanonicalFunction(). r=jandem
The 'function()' method is already defined on BaseScript, so this is
straightforward to fix.

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

--HG--
extra : moz-landing-system : lando
2019-11-25 18:00:52 +00:00
Sylvestre Ledru
1075743c03 Bug 1599397 - Improve the contribution tutorial + add new job doc r=marco
Differential Revision: https://phabricator.services.mozilla.com/D54693

--HG--
extra : moz-landing-system : lando
2019-11-26 12:43:42 +00:00
Andreas Tolfsen
86fc45b83b bug 1599400: remote: vendor puppeteer to c5a72e9
This contains maja_zf's browser picker changes.

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

--HG--
extra : moz-landing-system : lando
2019-11-26 11:33:44 +00:00
Martin Stransky
a731b16af1 Bug 1599016 [Wayland] Don't use GL_TEXTURE_EXTERNAL_OES textures with DMA BUF backend, r=sotaro
Differential Revision: https://phabricator.services.mozilla.com/D54690

--HG--
extra : moz-landing-system : lando
2019-11-26 11:15:48 +00:00
Jan de Mooij
d3860ab285 Bug 1599117 part 3 - Remove IonBuilder::detectAndOrStructure. r=tcampbell
I think this has been effectively dead code for a few years because we no longer
create the triangle structure for JSOP_AND and JSOP_OR.

Depends on D54535

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

--HG--
extra : moz-landing-system : lando
2019-11-25 17:59:22 +00:00