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

688410 Коммитов

Автор SHA1 Сообщение Дата
Simon Giesecke 34cd11297e Bug 1609943 - Move mode line section from C++ to general coding style. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D60262

--HG--
extra : moz-landing-system : lando
2020-01-18 11:43:19 +00:00
Simon Giesecke 615906c9b7 Bug 1609943 - Split guideline on unary operators into C++ and JavaScript part. r=sylvestre
C++: Remove reference to JavaScript typeof from 'Operators' section and specifically refer to sizeof only.

JavaScript: Added remainder of the guideline referring to typeof.

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

--HG--
extra : moz-landing-system : lando
2020-01-21 08:19:55 +00:00
Simon Giesecke dfc0fdd507 Bug 1609943 - Cleanup in-line code fragments to use proper encapsulation. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D60260

--HG--
extra : moz-landing-system : lando
2020-01-17 15:51:35 +00:00
Nihanth Subramanya dde23c4501 Bug 1609037 - DoH Rollout Extension: Wait until a top-level location change to show the doorhanger. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D59833

--HG--
extra : moz-landing-system : lando
2020-01-21 08:28:25 +00:00
Nihanth Subramanya 7dc0b07882 Bug 1608320 - DoH Rollout Extension: Don't show the doorhanger if the user has seen the post-DoH privacy statement. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D59830

--HG--
extra : moz-landing-system : lando
2020-01-21 08:22:03 +00:00
Nihanth Subramanya 0d2a8199d0 Bug 1600109 - Fix network change handling and test telemetry. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D58196

--HG--
extra : moz-landing-system : lando
2020-01-21 08:22:01 +00:00
Nihanth Subramanya eee7b4fa3c Bug 1600109 - Implement setup function in head.js to set up prefs and telemetry, and call it in all tests. r=dragana,JuniorHsu
Differential Revision: https://phabricator.services.mozilla.com/D58195

--HG--
extra : moz-landing-system : lando
2020-01-21 08:21:59 +00:00
Makoto Kato 452a87b7b0 Bug 1574307 - Part 4. Notify GV of viewport-fit. r=geckoview-reviewers,snorp
`viewport-fit` is hint that browser application can use cutout area. So we should expose it to GeckoView application to set `layoutInDisplayCutoutMode`.

When meta element is found or changed, `ContentDelegate.onMetaviewportFitChange` is called. Even if nothing, it will be called after DOMContentLoaded is fired.

Depends on D57398

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

--HG--
extra : moz-landing-system : lando
2020-01-20 08:42:05 +00:00
Makoto Kato 7b3ef75994 Bug 1574307 - Part 3. Dispatch DOMMetaViewportFitChanged when viewport-fit is changed. r=smaug,hiro
Actually, we have `DOMMeta*` event for modifying meta element. But GeckoView wants viewport-fit change only.

@hiro suggests new event that is fired by viewport-fit will be changed. This event doesn't need current viewport-fit value since GeckoView doesn't need current value immediately.

Depends on D57397

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

--HG--
extra : moz-landing-system : lando
2020-01-20 08:41:05 +00:00
Makoto Kato 163a589174 Bug 1574307 - Part 2. Add nsIDOMWindowUtils.getViewportFitInfo r=smaug
Per discussing with @hiro, we should add new method to get viewport-fit
instead of adding parameter of `nsIDOMWindowUtils.getViewportInfo`.

Depends on D55609

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

--HG--
extra : moz-landing-system : lando
2020-01-20 08:40:20 +00:00
Makoto Kato a94e918a29 Bug 1574307 - Part 1. Parse viewport-fit in meta element. r=smaug
For safe area insets (cutout) support, CSS Round Display Level 1 (https://drafts.csswg.org/css-round-display/#viewport-fit-descriptor) has new viewport value as `viewport-fit`.

To support safe area insets that is notch on display, CSS Environment Variables Module Level 1 (https://drafts.csswg.org/css-env-1/#safe-area-insets) adds `safearea-insets-*` (left, top, right and bottom). Also, `meta` element has `viewport-fit` enum value. (ex `<meta name="viewport" content="viewport-fit=cover>`) whether web browser window cover notch area.

`viewport-fit` has 3 enum value, `auto`, `cover` and `contain`.  GeckoView wants to expose this value to browser application such Fenix. Because Android API (https://developer.android.com/guide/topics/display-cutout) uses window root layout (It is set by Application) to cover notch on display.

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

--HG--
extra : moz-landing-system : lando
2020-01-20 08:40:05 +00:00
Tarek Ziadé 600d034817 Bug 1568092 - don't ignore tooltool_download() exit code and add a retry r=AlexandruIonescu,Bebe
This patch will check the exit code of the ProcessHandler() that
calls the tooltool script, and will also retry when it fails.

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

--HG--
extra : moz-landing-system : lando
2020-01-21 07:17:05 +00:00
Eric Rahm cfd1cc461f Bug 1610388 - Remove nsAutoPtr usage from gfx/. r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D60456

--HG--
extra : moz-landing-system : lando
2020-01-21 01:25:28 +00:00
Toshihito Kikuchi a172471711 Bug 1608645 - Ensure FindExportAddressTableEntry can handle a modified Export Table. r=aklotz
A third-party application can modify the export directory, the export address/name/ordinal
tables, or an entry in those tables.  If that happens, we will see an RVA is located outside
the mapped image and `RVAToPtr` returns null.  This patch makes sure we don't hit null AV
when modification is detected.

`FindExportAddressTableEntry` should not return a pointer to the modified table entry because
we dereference it in another process to cross-process detour.

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

--HG--
extra : moz-landing-system : lando
2020-01-21 00:44:28 +00:00
Mike Hommey 62778417a2 Bug 1609862 - Display more detailed memory info in resource usage report. r=froydnj
Instead of showing percentages, show actual numbers for memory usage,
with caveats:
- On macOS, psutil doesn't seem to be getting anything that would sum up
to the total it reports, so we keep the "percent".
- While the sum of all the fields shown on Linux does sum up to the total,
the visible usage doesn't quite match what the "percent" look like for
the same dataset.
- On Windows, only "used" and "free" are available. They do sum up to
the total.

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

--HG--
extra : moz-landing-system : lando
2020-01-17 13:25:23 +00:00
Mike Hommey 7bc320e0e3 Bug 1609832 - Install rustfmt when running mach bootstrap. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D60213

--HG--
extra : moz-landing-system : lando
2020-01-17 14:45:12 +00:00
Daniel Varga fe3011c6d5 Merge mozilla-central to autoland.
--HG--
extra : rebase_source : 351ee7d954c8a418c4f8d188ab187162035da8d5
2020-01-21 02:19:27 +02:00
Daniel Varga e5860143f4 Merge autoland to mozilla-central. a=merge 2020-01-21 02:16:46 +02:00
Ehsan Akhgari 8b642fb37e Bug 1609491 - Update the comment about differences with RFC2109/2616
This is based on the recent changes in
https://github.com/httpwg/http-extensions/issues/159 and
https://github.com/httpwg/http-extensions/pull/1018.

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

--HG--
extra : moz-landing-system : lando
2020-01-21 00:13:18 +00:00
Chris Manchester d30348f637 Bug 1604486 - Update profile generate sparse profile to include talos tests. r=sheehan
Differential Revision: https://phabricator.services.mozilla.com/D60463

--HG--
extra : moz-landing-system : lando
2020-01-20 23:04:39 +00:00
Sebastian Hengst 75c116e45a Backed out changeset dfc2cef99712 (bug 1588148) because the test still times out frequently. a=backout
Backout suggested by asuth in bug 1607076.
2020-01-20 23:48:16 +01:00
Ehsan Akhgari edaac73a6d Bug 1580759 - Increase the timeout in browser_blockingSharedWorkers.js
Differential Revision: https://phabricator.services.mozilla.com/D60453

--HG--
extra : moz-landing-system : lando
2020-01-20 21:05:17 +00:00
Jonathan Kew aca6f59e9c Bug 1102584 followup: adjust tests2dtext.yaml to match changes to the generated test file. r=lsalzman
Differential Revision: https://phabricator.services.mozilla.com/D60435

--HG--
extra : moz-landing-system : lando
2020-01-20 19:37:15 +00:00
Ehsan Akhgari 0574a70b8a Bug 1588980 - Part 2: Remove the deprecation warning for HTMLCanvasElement.mozGetAsFile; r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D60284

--HG--
extra : moz-landing-system : lando
2020-01-20 22:02:59 +00:00
Ehsan Akhgari 3f9530ed27 Bug 1588980 - Part 1: Hide HTMLCanvasElement.mozGetAsFile behind a preference; r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D60283

--HG--
extra : moz-landing-system : lando
2020-01-20 22:03:13 +00:00
Tim Nguyen a368c15da3 Bug 1610152 - Ensure extension browsers take at least their parent's min-height. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D60370

--HG--
extra : moz-landing-system : lando
2020-01-20 21:50:21 +00:00
Edwin Takahashi 381d441cce Bug 1610069 - remove NEED_COMPIZ flag throught the tree r=gbrown
Changes:

Bug 1552563 introduced the notion that `compiz` should only be run where it was required. This was an attempt to save some seconds through the CI system as `compiz` takes 15 seconds to return an exit code.

Now that majority of tests are running under ubuntu1804, which runs the GNOME desktop environment, the flag `NEED_COMPIZ` is no longer necessary.

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

--HG--
extra : moz-landing-system : lando
2020-01-20 19:31:34 +00:00
longsonr ceb7408d28 Bug 984461 - Remove nsIDOMSVGLength from the Components shim. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D58352

--HG--
extra : moz-landing-system : lando
2020-01-20 21:21:52 +00:00
Gijs Kruitbosch c84869e219 Bug 1608923 - use fluent for PiP button accessible labels, r=mconley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D60200

--HG--
extra : moz-landing-system : lando
2020-01-20 19:29:57 +00:00
Gijs Kruitbosch 399ccaf394 Bug 1608923 - reuse some DTD strings so at least play/pause and the mute/unmute button are labeled, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D60199

--HG--
extra : moz-landing-system : lando
2020-01-20 19:26:15 +00:00
Razvan Maries 96ed25174f Backed out 2 changesets (bug 1580176) for hazard bustages. CLOSED TREE
Backed out changeset 7e39efd27d4e (bug 1580176)
Backed out changeset 20f5bece309f (bug 1580176)
2020-01-20 22:43:53 +02:00
Andrew Creskey d2427c4e3f Bug 1591725 - Optimize at -O2 on android, clang r=froydnj,dmajor
For performance improvements to page load and speedometer, optimize at -O2 instead of -Oz.

The previous disabling of the outliner, "-mno-outline", was removed as it is not enabled by default with -O2.
(See Bug 1508547 and https://developer.arm.com/docs/101754/latest/armclang-reference/armclang-command-line-options/-moutline-mno-outline)

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

--HG--
extra : moz-landing-system : lando
2020-01-20 19:34:10 +00:00
Eric Rahm 1f1fb3adf6 Bug 1610070 - Part 1: Allow comparison of UniquePtr<T> and T*. r=froydnj
This allows us to compare a `UniquePtr` with it's raw pointer type. This allows `nsTArray`'s default comparator to function properly and lets us find/remove items from an nsTArray<UniquePtr<T>> with just a raw pointer.

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

--HG--
extra : moz-landing-system : lando
2020-01-20 20:06:30 +00:00
Razvan Maries 9ad088b041 Backed out 4 changesets (bug 1602840, bug 1603227) for xpcshell perma fails on test_registry.js. CLOSED TREE
Backed out changeset 02d52e2e7d62 (bug 1603227)
Backed out changeset faa15c6fed65 (bug 1602840)
Backed out changeset bc6122544852 (bug 1602840)
Backed out changeset 5ad4c0f6c5db (bug 1602840)
2020-01-20 22:10:42 +02:00
Razvan Maries 41ffa16326 Backed out changeset dbaa31392a53 (bug 1609877) for build bustages on DOMSecurityMonitor.cpp. CLOSED TREE 2020-01-20 22:08:07 +02:00
Christoph Kerschbaumer b7a9b6218a Bug 1609877: Convert prefs for domsecurity to use static prefs. r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D60403

--HG--
extra : moz-landing-system : lando
2020-01-20 18:10:38 +00:00
Nazım Can Altınova f70859c47d Bug 1609674 - Add innerWindowID param to AUTO_PROFILER_TEXT_MARKER_CAUSE and use that macro for setTimeout callback marker. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D60270

--HG--
extra : moz-landing-system : lando
2020-01-20 18:53:09 +00:00
Nazım Can Altınova f76aad2740 Bug 1609674 - Add innerWindowID to setTimout markers. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D60269

--HG--
extra : moz-landing-system : lando
2020-01-20 18:52:41 +00:00
Henrik Skupin 4b34baa214 Bug 1607823 - [remote] Use ContentTask.spawn instead of SpecialPowers.spawn in browser_setCacheDisabled.js. r=remote-protocol-reviewers,maja_zf
Depends on D60386

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

--HG--
extra : moz-landing-system : lando
2020-01-20 19:38:03 +00:00
Ciure Andrei 84ee07b418 Merge autoland to mozilla-central. a=merge 2020-01-20 17:43:42 +02:00
Lars T Hansen 5c79ccc8e1 Bug 1608791 - Harden the Rabaldr register wrappers. r=rhunt
By cleaning up the register set APIs very slightly we can simplify the wrappers and
make space for meaningful assertions.

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

--HG--
extra : moz-landing-system : lando
2020-01-20 12:23:12 +00:00
Lars T Hansen e980d0b059 Bug 1609138 - Clean up float registers on arm64. r=rhunt
Create a clearer distinction between the register's Encoding, which is
its hardware name, and its Code, which is a dense encoding of
bitwidth+Encoding along with a distinguished Invalid value.  These
concepts exist already but it gets out of hand when the FloatRegister
uses a Code to encode the Encoding.

Make FloatRegister contain separate fields for bitwidth, encoding, and
validity, as it does on other platforms.

Add assertions on validity of inputs and on the validity of the
FloatRegister for some operations.  And tidy up some, and rearrange
the file to mirror the x86 file as much as possible.

Expand the register name table so that it covers the possible range of
Code and so that we won't reference the table OOB.

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

--HG--
extra : moz-landing-system : lando
2020-01-20 12:22:23 +00:00
ffxbld 97c68411c7 No Bug, taskcluster/docker/funsize-update-generator pipfile-update. r=sfraser
Differential Revision: https://phabricator.services.mozilla.com/D60389

--HG--
extra : moz-landing-system : lando
2020-01-20 12:05:53 +00:00
Sebastian Hengst 8f821d77ab Backed out 3 changesets (bug 1525218) for breaking fenix, reference-browser speedometer tasks. a=backout
Backed out changeset 76036ce90611 (bug 1525218)
Backed out changeset 9c66ecb1f66c (bug 1525218)
Backed out changeset eb4b265deb5e (bug 1525218)

--HG--
extra : rebase_source : 5f1b01bd44628efff2a7e0f28a62a7ad673a73c0
2020-01-20 11:19:46 +01:00
Cosmin Sabou a2ee4459b3 Bug 1598726 - Modify syntax for coverage as the test was not skipped. a=test-only
--HG--
extra : rebase_source : 51d0b1047b7a2b843d0465c82b6a6a75fc10445f
2020-01-20 12:17:59 +02:00
Glenn Watson db33b7ce39 Bug 1608741 - Part 1 - Use nearest neighbor interpolation for DC surfaces. r=sotaro
There's no need for bilinear interpolation of DC surfaces. This
fixes a lot of the fuzziness issues when using virtual surfaces,
so it makes sense to land it now while continuing to investigate
the remaining issues.

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

--HG--
extra : moz-landing-system : lando
2020-01-20 09:51:20 +00:00
Frederik Braun 247fd24240 Bug 1580176 - Part 2: Log sent and received messages in JSWindowActor, r=nika
Also logs JSWindowActor{Child,Parent}::Init and JSWindowActor::{Start,After}Destroy.

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

--HG--
extra : moz-landing-system : lando
2020-01-20 19:19:19 +00:00
Kashav Madan 7e7452f3d1 Bug 1580176 - Part 1: Make some common actor utility methods virtual, r=nika
Adds GetManager on JSWindowActor (returns the associated WindowGlobalActor),
and IsInProcess on WindowGlobalActor (returns whether the actor is in process
or not).

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

--HG--
extra : moz-landing-system : lando
2020-01-20 19:00:30 +00:00
Eugen Sawin beba9129ed Bug 1609701 - [1.1] Ignore resuming of non-suspended windows. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D60274

--HG--
extra : moz-landing-system : lando
2020-01-20 18:52:28 +00:00
Henrik Skupin de8109653e Bug 1609627 - [remote] Implement Page.navigateToHistoryEntry. r=remote-protocol-reviewers,maja_zf
Differential Revision: https://phabricator.services.mozilla.com/D60122

--HG--
extra : moz-landing-system : lando
2020-01-20 18:59:08 +00:00