Commit Graph

670363 Commits

Author SHA1 Message Date
championshuttler
7141b73975 Bug 1552317 - Fix codespell errors for image/. r=tnikkel
Differential Revision: https://phabricator.services.mozilla.com/D45553

--HG--
extra : moz-landing-system : lando
2019-09-12 09:00:52 +00:00
Zibi Braniecki
8aee81540e Bug 1578370 - Refactor TriggerInitialDocumentTranslation for readability. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D45589

--HG--
extra : moz-landing-system : lando
2019-09-12 16:07:49 +00:00
Kershaw Chang
de860c0a83 Bug 1580046 - Introduce new trr pref: builtin-excluded-domains r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D45518

--HG--
extra : moz-landing-system : lando
2019-09-12 12:44:16 +00:00
Tom Tung
c960a1a6b6 Bug 1580238 - Extend the release for the prob of initialization time on QM and add another one to catch the longest time; r=janv,sg
Differential Revision: https://phabricator.services.mozilla.com/D45501

--HG--
extra : moz-landing-system : lando
2019-09-11 13:55:50 +00:00
YUKI "Piro" Hiroshi
18076b6f51 Bug 1476195 - Allow invoking drag sessions outside of mouseDragged. r=mstange,spohl
The parent process usually starts a native drag session during the processing
of a Gecko mouse move event while the mouse is down. Usually, these Gecko mouse
move events are processed synchronously during -[ChildView mouseDragged:]. But
in some cases, the Gecko mouse move event can be a synthetic mouse move event
that was generated in response to a reflow. Those get processed during refresh
driver ticks, which run at a time that's completely unrelated to when
mouseDragged is invoked.
So the widget should just assume that drags can be started at any time between
mouseDown and mouseUp.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 14:13:14 +00:00
Daniel Holbert
785fe64f03 Bug 1573631: Let "text-decoration-skip-ink", "text-decoration-thickness", and "text-underline-offset" ride the trains to release. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D45233

--HG--
extra : moz-landing-system : lando
2019-09-12 07:24:57 +00:00
Mike Conley
59ef387149 Bug 1536011 - Add title to Picture-in-Picture player window. r=JSON_voorhees,flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D45605

--HG--
extra : moz-landing-system : lando
2019-09-12 15:26:12 +00:00
Logan Smyth
62539da15f Bug 1580645 - Ensure that node removal only removes mutation BPs in subtree. r=davidwalsh
Differential Revision: https://phabricator.services.mozilla.com/D44296

--HG--
extra : moz-landing-system : lando
2019-09-12 15:33:51 +00:00
Gurzau Raul
4793791015 Backed out changeset 84302aebbe43 (bug 1573813) for failing mochitest jobs on a CLOSED TREE. 2019-09-12 18:35:47 +03:00
Gurzau Raul
fe4bb6d539 Backed out 6 changesets (bug 1574493) for wrench failures at stacking-context-clip.yaml on a CLOSED TREE.
Backed out changeset 8a8736ac4e25 (bug 1574493)
Backed out changeset 4a3294e88823 (bug 1574493)
Backed out changeset 0c26ecdc1ddc (bug 1574493)
Backed out changeset 11257f7b3ad3 (bug 1574493)
Backed out changeset dcedc286ad9d (bug 1574493)
Backed out changeset 87f216e0753d (bug 1574493)
2019-09-12 18:34:07 +03:00
Junior Hsu
fcaa80da0d Bug 1579012 - use COOP in top-levl browsing context of opener for iframe r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D45582

--HG--
extra : moz-landing-system : lando
2019-09-12 14:44:16 +00:00
Kris Maglione
f261e424d2 Bug 1580377: Re-disable test_reloadInFreshProcess under Fission. r=mccr8
Differential Revision: https://phabricator.services.mozilla.com/D45670

--HG--
extra : moz-landing-system : lando
2019-09-12 14:17:49 +00:00
Junior Hsu
9a29f4d19b Bug 1574690 - P3 longer timeout to ease intermittent COEP test r=annevk
This might be necessary since we fail to load the second blank page in 500 ms all the times

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

--HG--
extra : moz-landing-system : lando
2019-09-11 17:32:05 +00:00
Junior Hsu
7471d215c9 Bug 1574690 - P2 COOP intermittent timeout adjustment r=valentin
We fail to release component manager in content process, which should has nothing to do with COOP implemetation

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

--HG--
extra : moz-landing-system : lando
2019-09-12 14:33:17 +00:00
Junior Hsu
b5c25c47c4 Bug 1574690 - P1 Adjust wpt metadata for COOP and COEP tests r=annevk
Note that sandbox and sw are not supported at this moment

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

--HG--
extra : moz-landing-system : lando
2019-09-12 14:33:17 +00:00
David Walsh
d8814e5764 Bug 1580636 - Set inline preview left before injection r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D45606

--HG--
extra : moz-landing-system : lando
2019-09-12 14:29:31 +00:00
Jan Horak
9f70c0454a Bug 1573813 - use parent window scale factor for the popup/tooltips; r=stransky
For popup windows with parent we need to get scale factor of the parent
window. Because when the windows are hidden they're not receiving updates
about changing scaling factor. So when moving from normal dpi to
the hidpi monitor the newly opened popup windows will have the same scale.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 13:29:03 +00:00
Andrew Halberstadt
1b4d182145 Bug 1567642 - [mozharness] Fix missed print statement in 'test_base_script.py', r=Callek
Differential Revision: https://phabricator.services.mozilla.com/D45666

--HG--
extra : moz-landing-system : lando
2019-09-12 14:09:23 +00:00
Razvan Maries
197ecba57e Backed out changeset c7e276985276 (bug 1580636) for ES Lint failure. CLOSED TREE 2019-09-12 17:08:46 +03:00
Vlad Baicu
0d2e8f845e Bug 1576170 - Onboarding Sign up strings. r=delphine
Differential Revision: https://phabricator.services.mozilla.com/D45528

--HG--
extra : moz-landing-system : lando
2019-09-11 21:21:52 +00:00
David Walsh
8f28239f59 Bug 1580636 - Set inline preview left before injection r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D45606

--HG--
extra : moz-landing-system : lando
2019-09-12 02:52:27 +00:00
ffxbld
5af1f73d04 No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
Differential Revision: https://phabricator.services.mozilla.com/D45662

--HG--
extra : moz-landing-system : lando
2019-09-12 13:37:51 +00:00
Andrew Osmond
ff567c5ddb Bug 1574493 - Part 6. Add reftest annotations for newly failing/passing tests. r=jrmuizel,kvark
Differential Revision: https://phabricator.services.mozilla.com/D45539

--HG--
extra : moz-landing-system : lando
2019-09-12 12:42:52 +00:00
Andrew Osmond
fbb941e1dd Bug 1574493 - Part 5. Snap scroll offsets and pictures during frame building. r=kvark
The snapping during scene building is unable to take into account scroll
offsets. Since we have already snapped the primitive rects in the raster
space, we know that this can only result in a translation rather than a
size change, and thus is safe to do during frame building.

When we update the transform tree, we now snap the scroll offset in
device space to ensure that scroll offsets should primarily be integer
offsets and not have snapping implications.

The local rect of a picture is calculated during the first picture
traversel. It is composed of already snapped primitives, however the
picture itself may inflate itself, and thus is now snapped again as part
of inflation.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 12:42:50 +00:00
Andrew Osmond
fba00abf09 Bug 1574493 - Part 4. Snap primitives during scene building. r=kvark
Now that rounding has been removed from Gecko, we need to start snapping
properly in WebRender. Snapping can change the size of a primitive, and
thus it is problematic to do any later than scene building due to the
GPU caching and sharing of data between clips and such that only differ
in their positioning.

This patch produces a snapping transform which allows any primitive to
snap using information known during scene building. This excludes
animated tranforms which are assumed to be the identity. This allows for
primitives that are marked as will-change: transform but given no
initial transform to render the same as primitives that are not. This
also excludes scroll positioning because that is not known until frame
building. A follow up patch will deal with that.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 12:42:48 +00:00
Andrew Osmond
320cbbf828 Bug 1574493 - Part 3. Stop rounding rects/clips during display list building. r=jrmuizel
Rounding in layout pixels is very close to snapping in raster pixels if
there are no transforms involved. This is why it worked most of the time
and fell flat in many edge cases. In future parts of this series, we
will trust scene building and frame building to do the heavy lifting for
snapping purposes.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 12:42:41 +00:00
Andrew Osmond
571a0f49e1 Bug 1574493 - Part 2. Remove snapping in frame building. r=kvark
This will be rewritten in a later patch in the series. The shaders will
be provided the correct information and will no longer need to concern
themselves with snapping.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 12:42:39 +00:00
Andrew Osmond
7cda552aeb Bug 1574493 - Part 1. Split out repeating and non-repeating images in the display list. r=jrmuizel
Repeating/background images may have extra parameters such the stretch
size and tile spacing, that non-repeating images do not require. By
splitting these apart, we can make it easier to infer what we should do
if snapping changes the size of an image primitive, in addition to
reducing the display list size for non-repeating images.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 12:42:37 +00:00
Nathan Froyd
7c06e89288 Bug 1577583 - use __builtin_popcount in cairo for clang; r=lsalzman
`register` isn't allowed in C++17, but cairo is too old to care.
Instead of turning off the warning, just use the `__builtin_popcount`
path for clang.  This path also applies to clang-cl.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 13:06:01 +00:00
Neil Deakin
c3bcfee4c1 Bug 1580506, fix incorrect pointerlock message names, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D45577

MANUAL PUSH: re-push with eslint bustage fix

--HG--
extra : rebase_source : 88e90063f4ae11170c7151f21deabe6675971323
extra : amend_source : 5895721851fe48ce4f57f6f33838b5b1885fee3b
extra : source : f779d14e3ab8bb8b31a29601e9391775babbc2da
2019-09-12 12:08:41 +00:00
Andrew Halberstadt
b6461aa946 Bug 1567642 - [reftest] Fix flake8 under Python 3 lint issues r=gbrown
Depends on D45415

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

--HG--
extra : moz-landing-system : lando
2019-09-10 19:15:30 +00:00
Andrew Halberstadt
1e231d1bd8 Bug 1567642 - [telemetry] Fix flake8 under Python 3 lint issues r=chutten,janerik
Depends on D45414

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

--HG--
extra : moz-landing-system : lando
2019-09-11 11:40:15 +00:00
Andrew Halberstadt
c0a039e70d Bug 1567642 - [mozharness] Fix flake8 under Python 3 lint issues r=Callek
Depends on D45413

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

--HG--
extra : moz-landing-system : lando
2019-09-12 13:17:19 +00:00
Razvan Maries
3e9327e5b9 Backed out changeset f779d14e3ab8 (bug 1580506) for ES Lint failure on browser_pointerlock_warning.js. CLOSED TREE 2019-09-12 16:02:04 +03:00
Ola Gasidlo
caf9aff884 Bug 1565213 - Add routing for sidebar component, r=ladybenko
Add routing for sidebar component

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

--HG--
extra : moz-landing-system : lando
2019-09-12 12:55:46 +00:00
Gerald Squelart
8bc66c201a Bug 1580664 - #include <sys/types.h> in jsctypes-test.h - r=froydnj
After removing <wchar.h> from TypeTraits.h in bug 1580458, there was a build
failure in jsctypes-test.h on some platforms, because of an undefined `off_t`,
which can be found in sys/types.h.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 13:06:49 +00:00
Razvan Maries
98fb942aa9 Backed out changeset 70e72871917e (bug 1576659) for Linux x64 debug build bustages. CLOSED TREE 2019-09-12 15:51:31 +03:00
Nicolas Silva
40a8a07d2f Bug 1570081 - Fix a number of issues with the tile decomposition code. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D44689

--HG--
extra : moz-landing-system : lando
2019-09-12 11:49:29 +00:00
Neil Deakin
f00a06829c Bug 1580506, fix incorrect pointerlock message names, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D45577

--HG--
extra : moz-landing-system : lando
2019-09-12 12:08:41 +00:00
Sylvestre Ledru
e79e716c67 Bug 1577236 - clang-10: Fix -Wimplicit-int-float-conversion warnings in /layout/ r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D43784

--HG--
extra : moz-landing-system : lando
2019-09-12 12:32:12 +00:00
Ryan Hunt
dfedc2095a Bug 1507765 - Wasm: Use gc::SystemAddressBits() for determing whether we use huge memory. r=lth
This commit uses gc::SystemAddressBits() to disable huge memory in low address
space situations on process startup. I've tried to pick a conservative number
here, but it may require some tuning.

Some systems can limit the available virtual memory (e.g. ulimit -v) and this
takes effect independently of gc::SystemAddressBits(). This commit uses
'getrlimit' to detect any limit, and if set uses this as another heuristic to
disable huge memory.

Additionally, this change requires a change to the initialization order of JS
systems (Wasm <-> GC).

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

--HG--
extra : moz-landing-system : lando
2019-09-12 12:40:25 +00:00
Tim Huang
80a516cb71 Bug 1580106 - Fixing the hovering color issue for the toolbarbutton in general on the protections panel on Linux. r=nhnt11
This patch overrides the color of the toolbarbutton in general on
the protections panel on Linux for :hover and :hover:active

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

--HG--
extra : moz-landing-system : lando
2019-09-12 12:21:30 +00:00
Nihanth Subramanya
175e5af2b0 Bug 1578187 - Reduce Protections and Identity panel scale on linux. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D44882

--HG--
extra : moz-landing-system : lando
2019-09-11 08:56:41 +00:00
Andi-Bogdan Postelnicu
bc7bd7de68 Bug 1576659 - Update infer to 0.17.0. r=bastien
Differential Revision: https://phabricator.services.mozilla.com/D43471

--HG--
extra : moz-landing-system : lando
2019-09-12 12:17:50 +00:00
Nika Layzell
f103e26834 Bug 1579213 - Remove unused fields from ChangeRemoteness API, r=farre
This patch changes a few things about how nsFrameLoader is created, specifically
around the ChangeRemoteness API.

1. The private 'nsFrameLoader::nsFrameLoader' constructor has been simplified to
   only have one overload, shared by the different `::Create` static methods.

2. The creation static method used by `ChangeRemoteness` has changed name to
   `::Recreate`, as the signature is becoming more like the old method.

3. The `mNetworkCreated` bit is preserved when doing a `ChangeRemoteness`, as a
   remoteness change shouldn't be affecting that property.

4. Unused fields are removed from the ChangeRemoteness API.

5. The `remoteType` attribute is now mandatory in the ChangeRemoteness API,
   which simplifies the logic and makes it harder to accidentally misuse.

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

--HG--
extra : moz-landing-system : lando
2019-09-11 08:09:58 +00:00
Kris Maglione
d7eecef1e9 Bug 1574593: Silently ignore load attempt on/from discarded BrowsingContext. r=nika
The (non-normative) window.open spec does not specify what should happen when
window.open is called on a window with a null/discarded browsing context, but
in general the lookup and creation rules do not make sense when the window has
no BC. It does, however, specify that we should return null when a target BC
cannot be found or created, and gives us broad discretion over when we decide
to ignore a load request and return null. Since we can't trigger a
cross-process load from a discarded BC, simply aborting in that case seems
like the logical solution.

For Location objects, the spec is more specific, and requires that we ignore
load attempts on Location objects whose documents are null, which in our
implementation corresponds to a discarded BrowsingContext.
LocationBase::SetURI already enforces this, but a second check in
BrowsingContext::LoadURI is probably a good idea as well.

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

--HG--
extra : moz-landing-system : lando
2019-09-12 11:37:01 +00:00
Razvan Maries
7330509f46 Backed out changeset fdb95b58fb6c (bug 1580092) for build bustages. CLOSED TREE 2019-09-12 14:35:46 +03:00
Andreas Tolfsen
3852bf897f bug 1580470: remote: document security aspects of remote agent; r=remote-protocol-reviewers,maja_zf
This clarifies the security considerations we have made with the
remote agent.

The text is adapted from two sources:

	https://bugzilla.mozilla.org/show_bug.cgi?id=1542229
	https://docs.google.com/document/d/1LytMB7yueNLFehBp72Xzi_n4crncdHSHjQ3FCp0Meuo/edit#heading=h.k75yymb1qbxr

DONTBUILD

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

--HG--
extra : moz-landing-system : lando
2019-09-12 11:39:13 +00:00
Francesco Lodolo (:flod)
fa89d4cae1 Bug 1580092 - [ca-valencia] Search engine setup for Firefox for Catalan (Valencian) r=daleharvey
Differential Revision: https://phabricator.services.mozilla.com/D45307

--HG--
extra : moz-landing-system : lando
2019-09-12 10:53:44 +00:00
Andreas Pehrson
710f275abc Bug 1575271 - Keep a SharedDummyStream in MediaEncoder for access to the MediaStreamGraph. r=karlt
Differential Revision: https://phabricator.services.mozilla.com/D45195

--HG--
extra : moz-landing-system : lando
2019-09-12 11:26:46 +00:00