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

696049 Коммитов

Автор SHA1 Сообщение Дата
Cosmin Sabou 7b3658a6c7 Backed out changeset 309c896d7f8e (bug 1599943) for linux tsan mochitest failures on test_scrollbar_colors.html. 2020-03-13 04:07:56 +02:00
James Teh 73a8260a74 Bug 1621517: Make nsIAccessible child retrieval work for OuterDocAccessibles with remote documents. r=yzen
This code (and an upcoming dependent patch) is currently behind a pref which is disabled by default, as there is uncertainty as to how it might impact the Dev Tools A11y Panel.
The A11y Panel is currently a moving target due to ongoing refactor for Fission.
This pref should be removed once that groundwork is complete and the impact has been verified.

This patch also includes fixes to some ProxyAccessible methods which previously crashed when there was no parent, as is the case for top level documents.
Without these fixes, the Dev Tools A11y Panel would crash the parent process.

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

--HG--
extra : moz-landing-system : lando
2020-03-13 01:37:14 +00:00
mirefly 75f2319471 Bug 1579734 - Add-ons manager extension Permissions tab always shows all domains. r=robwu
Differential Revision: https://phabricator.services.mozilla.com/D66510

--HG--
extra : moz-landing-system : lando
2020-03-13 01:04:41 +00:00
Cosmin Sabou 571c1e5045 Backed out changeset 2befc9d57826 (bug 1600228) for bc failures on browser_asrouter_bookmarkpanel.
CLOSED TREE
2020-03-13 02:47:45 +02:00
Theo Ottah bb0e7503e5 Bug 1612650 - Shift clicking navigation buttons in private browser opens content in private window r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D65886

--HG--
extra : moz-landing-system : lando
2020-03-13 00:07:05 +00:00
Jed Davis 14f4c37266 Bug 1621808 - Fix crash messages for seccomp-bpf failures. r=gcp
Differential Revision: https://phabricator.services.mozilla.com/D66524

--HG--
extra : moz-landing-system : lando
2020-03-12 08:28:39 +00:00
Jed Davis 07db95a267 Bug 1621686 - Fix socket process sandbox's handling of prctl to prevent crash on kernels before 3.17. r=gcp,mjf
The special handling of PR_SET_NO_NEW_PRIVS can't be overridden with
Allow(); otherwise every thread in the process will repeatedly apply
copies of the policy to itself until it reaches whatever limits the
kernel imposes, and then we crash so we don't continue execution
seemingly unsandboxed.  (See also bug 1257361.)

The prctl policy for the socket process is still allow-all after this
patch; it just prevents crashing the socket process on startup on
kernels before 3.17 (which don't support applying the policy atomically
to all threads).

This patch also adds a comment to try to document this failure mode.

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

--HG--
extra : moz-landing-system : lando
2020-03-12 13:46:46 +00:00
Edwin Takahashi 79842aeb37 Bug 1599943 - update pixel count expectations and re-enable test_scrollbar_colors.html for linux1804 r=intermittent-reviewers,jmaher
Changes:

Due to scrollbar and other UI element changes in linux1804 this test was permafailing and was marked as such.

Now that migration has completed for mochitest-plain, re-enable the test with updated pixel count expectations.

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

--HG--
extra : moz-landing-system : lando
2020-03-12 23:38:09 +00:00
jbone 605f71ca7d Bug 1621418 - Replace BrowserTestUtils.waitForCondition with TestUtils.waitForCondition in browser_tabstrip_overflow_underflow.js. r=prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D66594

--HG--
extra : source : e1aa65d7ec79f146d1edd1880e6d8ed0f6a64647
2020-03-12 21:00:22 +00:00
Bogdan Tara 29964c7121 Bug 1604365 - Fix prettier lint on toolkit/components/normandy/lib/PreferenceExperiments.jsm CLOSED TREE 2020-03-13 02:10:18 +02:00
Michael Cooper 8af113ea34 Bug 1618408 - Remove action alias machinery r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D64499

--HG--
extra : moz-landing-system : lando
2020-03-12 17:41:08 +00:00
Michael Cooper 305f9489b6 Bug 1604365 - Remove old preference-experiment action r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D64498

--HG--
extra : moz-landing-system : lando
2020-03-12 17:40:40 +00:00
Kannan Vijayan cbaa10a6e3 Bug 1621386 - Add a way to convert strings to JS char16_t sequences without allocating memory. r=djvj
Differential Revision: https://phabricator.services.mozilla.com/D66302

--HG--
extra : moz-landing-system : lando
2020-03-12 23:09:45 +00:00
Ting-Yu Lin afe9123179 Bug 1622008 Part 3 - Remove nsPresContext* and PresShell* from the argument list of some continuing-frame-creation methods. r=dholbert
Both PresShell() and PresContext() are cached in nsIFrame. This
simplifies the setup for the callers to
nsCSSFrameConstructor::CreateContinuingFrame().

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

--HG--
extra : moz-landing-system : lando
2020-03-12 21:50:23 +00:00
Ting-Yu Lin fede1a91ef Bug 1622008 Part 2 - Use cached mPresShell in nsCSSFrameConstructor. r=dholbert
The nsPresContext* argument of
nsCSSFrameConstructor::CreateContinuingFrame() is used only to get
PresShell. However, mPresShell is already cached in
nsCSSFrameConstructor (via its base class nsFrameManager).

By switching to use the cached value, we can remove now-unused
nsPresContext* or PresShell* from some continuing-frame-creation
methods' argument list in the next part.

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

--HG--
extra : moz-landing-system : lando
2020-03-12 21:50:21 +00:00
Ting-Yu Lin 1edf5571f6 Bug 1622008 Part 1 - Revise nsFrameManager's documentation. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D66598

--HG--
extra : moz-landing-system : lando
2020-03-12 21:50:18 +00:00
caroline 1a8d31a2e8 Bug 1619445 - Split strict flag into two distinct flags for input and parse. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D65275

--HG--
extra : moz-landing-system : lando
2020-03-12 22:48:33 +00:00
caroline 2d11c8319b Bug 1619445 - Remove isDefaultClassConstructor immutable flag. r=tcampbell
Differential Revision: https://phabricator.services.mozilla.com/D65274

--HG--
extra : moz-landing-system : lando
2020-03-12 22:26:55 +00:00
Bogdan Tara 40bbb73e7b Backed out changeset e1aa65d7ec79 (bug 1621418) for mochitest failures on browser_google_behavior.js CLOSED TREE 2020-03-13 01:09:47 +02:00
Daniel Holbert d4ff6c52ed Bug 1621989 part 3: Where possible, reuse existing cache object to store updated flex item measurements (rather than always allocating a new one). r=TYLin
This should be a minor perf win, since we'll be avoiding needless reallocation.

One minor "purity" drawback: this change means the object can't be immutable
anymore -- we have to drop the `const` keyword from all its members so that it
can be reassigned when it's time to update it. That's fine, though; we only
assign these members atomically (via the constructor or via the implicit
whole-object reassignment operator), so we aren't really losing track of any
bookkeeping via these keyword removals.

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

--HG--
extra : moz-landing-system : lando
2020-03-12 22:44:09 +00:00
Daniel Holbert 56ee8045a9 Bug 1621989 part 2: Simplify the name for frame property that stores flex item reflow measurements. r=TYLin
This patch doesn't change behavior; it's effectively just a rename.

Before this patch, we would store instances of the class
"CachedMeasuringReflowResult" in a frame property with the (arbitrary and
nearly-identical) name "CachedFlexMeasuringReflow".  These subtly-different
names cause unnecessary confusion & typos.

Let's do away with the custom name for the property table entry, and just name
the entry "CachedMeasuringReflowResult::Prop".  This is what we do in
nsGridContainerFrame.cpp for the various frame properties (e.g. Subgrid::Prop),
and it works well for readability there.

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

--HG--
extra : moz-landing-system : lando
2020-03-12 22:13:28 +00:00
Daniel Holbert 8773e7643e Bug 1621989 part 1: Rename "aDesiredSize" to "aReflowOutput" throughout nsFlexContainerFrame. r=TYLin
This patch doesn't change behavior. It just renames all ReflowOutput-type
variables to use "reflow output" in their naming, rather than "desired
size". (And it changes two code-comments with s/desired size/reflow-output
measurements/ for consistency.)

I'm doing this because I may want to create a new variable called "desired
size" (or similar) in a later patch, and that's easier if there aren't
similarly-named variables lying around.

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

--HG--
extra : moz-landing-system : lando
2020-03-12 22:16:52 +00:00
Bogdan Tara d64fc8c8c9 Backed out changeset 5eb9dee1b6f2 (bug 1617748) for hazard bustages CLOSED TREE 2020-03-13 00:52:12 +02:00
Emma Malysz 91c78bd4a6 Bug 1600228, lazy load the edit bookmark panel by storing in an HTML template r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D66143

--HG--
extra : moz-landing-system : lando
2020-03-12 22:01:01 +00:00
Ricky Stewart 1a53b93361 Bug 1617748 - Run `./mach build`, `./mach build-backend`, `./mach configure` with Python 3 r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D66107

--HG--
extra : moz-landing-system : lando
2020-03-12 22:34:19 +00:00
Emilio Cobos Álvarez 9f7c6a48b4 Bug 1622108 - Minor increase in the fuzz tolerance in a high-contrast test.
Differential Revision: https://phabricator.services.mozilla.com/D66675

--HG--
extra : moz-landing-system : lando
2020-03-12 22:26:05 +00:00
Eitan Isaacson 83b8e2b9c3 Bug 1618700 - Implement expected attributes and events for tabs. r=morgan
I made more generalized mozSelectableAccessible and
mozSelectableChildAccessible classes for other things that will need
this kind of support.

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

--HG--
extra : moz-landing-system : lando
2020-03-12 22:16:39 +00:00
Edwin Takahashi c7e8b475ec Bug 1621483 - set up separate enviornment for linux1804 marionette and web-platform-tests-wdspec r=jmaher,marionette-reviewers,whimboo
Changes:

As documented in bug 1621483, `marionette` experiences a non-trivial amount of issues when run on ubuntu1804 docker image with GTK/GNOME desktop environment enabled.

GTK/GNOME has a higher degree of asynciness when manipulating window size/position and this leads to `marionette` and the derived suite `web-platform-tests-wdspec` reporting intermittent oranges for a number of tests.

While attempts were made to incorporate a fix for the marionette driver itself, the best attempts have only been able to achieve a ~50% reliability in green runs.

This patch reintroduces the use of bare `compiz` window manager exclusively for these two problematic test suites so that at least the tests are running on non-legacy software.

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

--HG--
extra : moz-landing-system : lando
2020-03-12 21:43:56 +00:00
Toshihito Kikuchi 3bc1f2c50b Bug 1605308 - Do not use ShellExecuteByExplorer when a downloaded file is an executable. r=Gijs,froydnj
This is one of the efforts to reduce usage of `ShellExecuteByExplorer`
(bug 1620335).

The purpose of using `ShellExecuteByExplorer` in the scenario to open a
downloaded file is to support applications which are not compatible with
the mitigation policies of our process.  When a downloaded file is an
executable, however, we prefer security to compatibility and in particular
we want to prevent binary planting on a user's download directory.

The proposed fix is to go to `ShellExecuteExW` straight if the target
file to launch is an executable.

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

--HG--
extra : moz-landing-system : lando
2020-03-12 22:05:34 +00:00
Emilio Cobos Álvarez bd8d3d4ef8 Bug 1622077 - Mark a test as intermittently fuzzy.
Differential Revision: https://phabricator.services.mozilla.com/D66673

--HG--
extra : moz-landing-system : lando
2020-03-12 22:09:36 +00:00
Micah Tigley 32205cb577 Bug 1489653 - Simulate double-tap gestures in RDM r=botond,bradwerth
Utilizes windowUntils' `sendNativeTouchTap` to simulate double-tap gestures in RDM. Touch gesture simulation will be hidden behind pref until some issues regarding RDM itself are resolved (but are unrelated to this bug).  Another important note here is to make sure the pref `devtools.responsive.browserUI.enabled` should be enabled for this.

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

--HG--
extra : moz-landing-system : lando
2020-03-12 21:51:42 +00:00
Ricky Stewart 6f89b5b06f Bug 1622021 - processhandler.py supports Python 3 r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D66638

--HG--
extra : moz-landing-system : lando
2020-03-12 21:11:48 +00:00
Morgan Reschenberg 7cdb983c71 Bug 1124681: Query State() instead of NativeState() when deciding if a checkbox is checked. r=eeejay
Differential Revision: https://phabricator.services.mozilla.com/D66489

--HG--
extra : moz-landing-system : lando
2020-03-12 17:19:35 +00:00
Cosmin Sabou e7343ec23b Backed out changeset 01cef3030838 (bug 1605308) for build bustages on nsLocalFileWin.cpp
CLOSED TREE
2020-03-12 23:26:54 +02:00
Mike Hommey 277ae8c4e4 Bug 1621883 - Add a toolchain alias for the linux64-rust-cross-1.41 task. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D66544

--HG--
extra : moz-landing-system : lando
2020-03-12 20:50:41 +00:00
Eden Chuang 6d01e92f36 Bug 1407276 - Avoid creating InterceptedHttpChannel if the service worker has no fetch event handler r=dom-workers-and-storage-reviewers,asuth
Differential Revision: https://phabricator.services.mozilla.com/D64092

--HG--
extra : moz-landing-system : lando
2020-03-12 20:53:28 +00:00
Sebastian Streich c7989b585d Bug 1621310 - Remove geturi in ContentPrincipal.cpp r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D66250

--HG--
extra : moz-landing-system : lando
2020-03-12 19:47:56 +00:00
Sebastian Streich 332641fa44 Bug 1621307 - Remove Geturi in txMozillaStylesheetCompiler r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D66249

--HG--
extra : moz-landing-system : lando
2020-03-12 19:47:54 +00:00
Toshihito Kikuchi 156f519842 Bug 1605308 - Do not use ShellExecuteByExplorer when a downloaded file is an executable. r=Gijs,froydnj
This is one of the efforts to reduce usage of `ShellExecuteByExplorer`
(bug 1620335).

The purpose of using `ShellExecuteByExplorer` in the scenario to open a
downloaded file is to support applications which are not compatible with
the mitigation policies of our process.  When a downloaded file is an
executable, however, we prefer security to compatibility and in particular
we want to prevent binary planting on a user's download directory.

The proposed fix is to go to `ShellExecuteExW` straight if the target
file to launch is an executable.

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

--HG--
extra : moz-landing-system : lando
2020-03-12 21:05:24 +00:00
Ricky Stewart 13aa77e4a5 Bug 1619460 - ensure subsequent runs of `./mach build-backend` under Python 3 produce consistent results r=dmajor
Dictionary iteration under Python 3 is in an inherently unpredictable order, and while we try to keep DEFINES ordered through the use of OrderedDicts, if at any point we populate DEFINES directly or indirectly while iterating through the contents of a non-ordered dictionary, the order of the DEFINES (and therefore the contents of the output Makefile) will be nondeterministic as well. This patch makes a number of changes to ensure that we only ever populate DEFINES in a deterministic fashion. (Note that in Python 3.7 and later, the built-in dict class actually has deterministic ordering, so these changes are technically only necessary until our minimum Python version becomes 3.7.)

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

--HG--
extra : moz-landing-system : lando
2020-03-12 21:05:26 +00:00
Mike Hommey 6508a7f411 Bug 1621880 - Create a linux64-clang-win-cross toolchain. r=dmajor
This creates a new toolchain artifact that repacks a combination of the
linux64-clang compiler along with parts of the win64-clang-cl compiler.

This has multiple advantages:
- It removes some convoluted parts of build task definitions (limiting
that to only occur on the win-cross toolchain itself).
- It simplifies the build setup by not requiring to prepare for where
clang-cl.exe is.
- It speeds up getting compiler artifacts because the win64-clang-cl
artifact is very large (due to there not being a llvm shared library)
and bzipped, which is slow to decompress. Here, we only take what we
need for the cross builds.
- It adds the runtime files that e.g. PGO will require, and that
linux clang-cl insists lives in the clang directory, not the
win64-clang-cl one, and that would require some convoluted setup to make
it work with the two separate toolchains.

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

--HG--
extra : moz-landing-system : lando
2020-03-12 21:05:28 +00:00
Gerald Squelart 3aec963bb6 Bug 1621866 - Use C++17 fold expressions in ProfileBufferEntrySerialization.h - r=canaltinova
Fold expressions are more expressive and probably produce better code than the
older template-recursion and initializer_list patterns.

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

--HG--
extra : moz-landing-system : lando
2020-03-12 21:05:31 +00:00
jbone 92015dc03c Bug 1621418 - Replace BrowserTestUtils.waitForCondition with TestUtils.waitForCondition in browser_tabstrip_overflow_underflow.js. r=prathiksha
Differential Revision: https://phabricator.services.mozilla.com/D66594

--HG--
extra : moz-landing-system : lando
2020-03-12 21:00:22 +00:00
Edwin Takahashi 17d6d54433 Bug 1620343 - add dependent-build-platforms translation for linux1804 and move appropriate linux64 tasks to linux1804-64 label r=jmaher
Changes:

Add `linux1804-64` translation layer for `linux64` builds.

Move python-tests under linux1804 treeherder label.

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

--HG--
extra : moz-landing-system : lando
2020-03-12 20:42:09 +00:00
Eugen Sawin 1fc127bf7a Bug 1620395 - [1.0] Deprecate GeckoView Snapshot Telemetry API. r=geckoview-reviewers,snorp,agi
Differential Revision: https://phabricator.services.mozilla.com/D66077

--HG--
extra : moz-landing-system : lando
2020-03-12 20:42:27 +00:00
Mike Hommey 34c25c873c Bug 1621885 - Stop excluding .chk files in diffoscope. r=dmajor
The files have been removed in bug 1620158, so they won't appear as
differences anymore.

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

--HG--
extra : moz-landing-system : lando
2020-03-12 12:55:04 +00:00
Bob Owen 8dd34fb2d8 Bug 1557282 Part 4: Use USER_LIMITED from the start of the socket process sandbox. r=handyman,gcp
Differential Revision: https://phabricator.services.mozilla.com/D66613

--HG--
extra : moz-landing-system : lando
2020-03-12 20:41:09 +00:00
Bob Owen 7446217e9b Bug 1557282 Part 3: Use SetLockdownDefaultDacl and AddRestrictingRandomSid in sandbox policies. r=handyman,gcp
Differential Revision: https://phabricator.services.mozilla.com/D66612

--HG--
extra : moz-landing-system : lando
2020-03-12 20:40:25 +00:00
Bob Owen 22f20a8d00 Bug 1557282 Part 2: Fix profiler issues when using SetLockdownDefaultDacl. r=dmajor
When we are running from a network drive the new feature in part 1 doesn't work.
So this uses DuplicateHandle instead of OpenThread to get the thread handle used
by the profiler.
It also removes a DuplicateHandle THREAD_ALL_ACCESS call that also fails and a
DuplicateHandle to get a real process handle, which only seems to have been to
fix something on Windows XP.
The handle passed in is always the profiler one, so already has the necessary
permissions. If no thread handle is passed then the pseudo handle is used.

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

--HG--
extra : moz-landing-system : lando
2020-03-12 20:40:50 +00:00
Bob Owen 739da258cc Bug 1557282 Part 1: Take chromium commit c1ce57ea5d31208af589b4839390a44ab20b0c8f. r=handyman,gcp
This adds AddRestrictingRandomSid feature, which fixes our issues with
SetLockdownDefaultDacl, apart from when we are running from a network drive.

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

--HG--
extra : moz-landing-system : lando
2020-03-12 20:39:40 +00:00