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

723354 Коммитов

Автор SHA1 Сообщение Дата
Nick Alexander 851257343a Bug 1626336 - Remove `MOZ_GECKOVIEW_JAR`. r=agi,geckoview-reviewers
While we're here we remove some Gradle Fennec-isms that are no longer
needed.

Differential Revision: https://phabricator.services.mozilla.com/D87334
2020-08-24 18:13:49 +00:00
James Willcox 02dffea93c Bug 1660357 - Disable PanZoomControllerTest.touchEventForResult for intermittents r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D88045
2020-08-24 17:07:32 +00:00
Mihai Alexandru Michis b162701621 Backed out changeset 0cad1ef724ee (bug 1371386) for causing failures in emoji-fallback-3.html
CLOSED TREE
2020-08-24 21:02:10 +03:00
Andrew Halberstadt 77abfc0039 Bug 1657769 - Run some Talos tests with software webrender on linux64-qr, r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D86456
2020-08-24 16:23:02 +00:00
Nick Alexander 6e08086c28 Bug 1658040 - Part 3: Allow `mach build` with `--disable-compile-environment`. r=froydnj
Builds without a compilation environment don't produce
`libxul_so.list`, and therefore this `GeneratedFile` can't depend on
it.  But this `GeneratedFile` only makes sense for compilation, so we
just make it conditional.

Depends on D87332

Differential Revision: https://phabricator.services.mozilla.com/D87333
2020-08-18 17:07:50 +00:00
Nick Alexander 9c623dbc86 Bug 1658040 - Part 2: Deny `mach package-multi-locale ...` when it's going to fail. r=froydnj
Depends on D87331

Differential Revision: https://phabricator.services.mozilla.com/D87332
2020-08-18 17:07:47 +00:00
Nick Alexander a1aff5b241 Bug 1658040 - Part 1: Fix local `mach package-multi-locale ...` locally. r=snorp
This succeeded in automation because we [check for `MOZILLA_OFFICIAL`
before invoking `mach` from within
Gradle](https://searchfox.org/mozilla-central/rev/8df04ff073d0fa70f692935c5dcddc0e23cb0117/build.gradle#110-146).
Locally, the check for `AB_CD=multi` in the environment used to catch
this but it's no longer used.  Rather than continue confusion with
`AB_CD=multi make ...` versus `make AB_CD=multi ...`, we'll use the
Gradle-specific environment variable.

Differential Revision: https://phabricator.services.mozilla.com/D87331
2020-08-18 18:13:26 +00:00
Chris H-C 5493409c18 Bug 1654339 - Add Glean metrics autodocs to moztreedocs r=janerik,ahal
Also define a scheme for storing the index of Glean definitions files in a file
separate from the build system for consumption by
* mach build
* mach doc
* (future) mozilla/probe-scraper

Differential Revision: https://phabricator.services.mozilla.com/D87600
2020-08-21 16:30:45 +00:00
Emilio Cobos Álvarez 55361bf402 Bug 1660660 - Fix deadlock in gamepad initialization code. r=cmartin
StartGamepadMonitoring() can end up in AddGamepad, and acquire the lock
again on the same thread, effectively dead-locking.

This is a regression from bug 1657404. Relevant stack:

    (gdb) bt
    #0  0x00007fd19bace801 in clock_nanosleep@GLIBC_2.2.5 () at /lib64/libc.so.6
    #1  0x00007fd19bad4157 in nanosleep () at /lib64/libc.so.6
    #2  0x00007fd19bad408e in sleep () at /lib64/libc.so.6
    #3  0x00007fd195233e87 in ah_crap_handler(int) (signum=11) at /home/emilio/src/moz/gecko-4/toolkit/xre/nsSigHandlers.cpp:95
    #4  0x00007fd1952165c4 in nsProfileLock::FatalSignalHandler(int, siginfo_t*, void*) (signo=11, info=0x7fd14abb9db0, context=0x7fd14abb9c80) at /home/emilio/src/moz/gecko-4/toolkit/profile/nsProfileLock.cpp:177
    #5  0x00007fd1964973b2 in WasmTrapHandler(int, siginfo_t*, void*) (signum=11, info=<optimized out>, context=<optimized out>) at /home/emilio/src/moz/gecko-4/js/src/wasm/WasmSignalHandlers.cpp:978
    #6  0x00007fd19bf3ca90 in <signal handler called> () at /lib64/libpthread.so.0
    #7  mozilla::detail::MutexImpl::mutexLock() (this=<optimized out>) at /home/emilio/src/moz/gecko-4/mozglue/misc/Mutex_posix.cpp:118
    #8  mozilla::detail::MutexImpl::lock() (this=<optimized out>) at /home/emilio/src/moz/gecko-4/mozglue/misc/Mutex_posix.cpp:142
    #9  0x00007fd190cc795a in mozilla::OffTheBooksMutex::Lock() (this=0x7fd136649398) at /home/emilio/src/moz/gecko-4/xpcom/threads/BlockingResourceBase.cpp:318
    #10 0x00007fd19326e65e in mozilla::detail::BaseAutoLock<mozilla::Mutex&>::BaseAutoLock(mozilla::Mutex&) (this=<optimized out>, aLock=...) at /home/emilio/src/moz/gecko-4/obj-debug-no-sccache/dist/include/mozilla/Mutex.h:159
    #11 mozilla::dom::GamepadPlatformService::NotifyGamepadChange<mozilla::dom::GamepadAdded>(unsigned int, mozilla::dom::GamepadAdded const&) (this=0x7fd136649380, aIndex=1, aInfo=...)
        at /home/emilio/src/moz/gecko-4/dom/gamepad/GamepadPlatformService.cpp:65
    #12 0x00007fd193269178 in mozilla::dom::GamepadPlatformService::AddGamepad(char const*, mozilla::dom::GamepadMappingType, mozilla::dom::GamepadHand, unsigned int, unsigned int, unsigned int, unsigned int, unsigned int)
        (this=0x7fd136649380, aID=<optimized out>, aMapping=mozilla::dom::GamepadMappingType::_empty, aHand=mozilla::dom::GamepadHand::_empty, aNumButtons=11, aNumAxes=8, aHaptics=0, aNumLightIndicator=0, aNumTouchEvents=0)
        at /home/emilio/src/moz/gecko-4/dom/gamepad/GamepadPlatformService.cpp:96
    #13 0x00007fd19326de4a in (anonymous namespace)::LinuxGamepadService::AddDevice(mozilla::udev_device*) (this=<optimized out>, dev=<optimized out>) at /home/emilio/src/moz/gecko-4/dom/gamepad/linux/LinuxGamepad.cpp:139
    #14 0x00007fd19326a156 in (anonymous namespace)::LinuxGamepadService::ScanForDevices() (this=<optimized out>) at /home/emilio/src/moz/gecko-4/dom/gamepad/linux/LinuxGamepad.cpp:188
    #15 (anonymous namespace)::LinuxGamepadService::Startup() (this=<optimized out>) at /home/emilio/src/moz/gecko-4/dom/gamepad/linux/LinuxGamepad.cpp:233
    #16 mozilla::dom::StartGamepadMonitoring() () at /home/emilio/src/moz/gecko-4/dom/gamepad/linux/LinuxGamepad.cpp:334
    #17 0x00007fd193269c6b in mozilla::dom::GamepadPlatformService::AddChannelParent(mozilla::dom::GamepadEventChannelParent*) (this=<optimized out>, aParent=<optimized out>)
        at /home/emilio/src/moz/gecko-4/dom/gamepad/GamepadPlatformService.cpp:225
    #18 0x00007fd19326d175 in mozilla::dom::GamepadEventChannelParent::Init() (this=0x7fd136e76a00) at /home/emilio/src/moz/gecko-4/dom/gamepad/ipc/GamepadEventChannelParent.cpp:50
    #19 0x00007fd1913ba3a6 in mozilla::ipc::BackgroundParentImpl::RecvPGamepadEventChannelConstructor(mozilla::dom::PGamepadEventChannelParent*) (this=0x7fd13f888000, aActor=0x0)
        at /home/emilio/src/moz/gecko-4/ipc/glue/BackgroundParentImpl.cpp:1109
    #20 0x00007fd1917c7da1 in mozilla::ipc::PBackgroundParent::OnMessageReceived(IPC::Message const&) (this=0x7fd13f888000, msg__=...) at PBackgroundParent.cpp:4967
    #21 0x00007fd1913ea71d in mozilla::ipc::MessageChannel::DispatchAsyncMessage(mozilla::ipc::ActorLifecycleProxy*, IPC::Message const&) (this=0x7fd13f8880f8, aProxy=0x7fd13ff48140, aMsg=...)

Differential Revision: https://phabricator.services.mozilla.com/D87967
2020-08-24 17:06:58 +00:00
Nick Alexander 84b295af03 Bug 1627796 - Work around Android-Gradle plugin bug causing startup crash when substituting GeckoView. r=agi,geckoview-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D87551
2020-08-24 17:13:54 +00:00
Tom Schuster 14657c9047 Bug 1526820 - Handle WM_INITDIALOG in the ColorPicker hook to enable keyboard focus r=cmartin
WM_INITDIALOG is a special case for this hook. Returning TRUE tells it to set they keyboard focus.
In all other cases returning 0 from the hook invokes the standard behavior.

Differential Revision: https://phabricator.services.mozilla.com/D87870
2020-08-24 16:58:11 +00:00
Tom Schuster 0e1968be4a Bug 1660560 - Hard-code fallback MIME-extension mappings for common Office formats and iCalendar. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D87918
2020-08-24 16:50:48 +00:00
Gijs Kruitbosch 603d7b7137 Bug 1660608 - fix plugin crash notification bar message for GMP crashes to include plugin name, r=mconley
The test abstraction meant we missed that this broke in the refactor. This
fixes the bug and makes sure the test actually tests it.

Differential Revision: https://phabricator.services.mozilla.com/D88012
2020-08-24 16:48:27 +00:00
Jan Varga 549e4c14b7 Bug 1659677 - QM: Replace SuccessEnforcer with mozilla::Result::orElse; r=dom-workers-and-storage-reviewers,sg
Differential Revision: https://phabricator.services.mozilla.com/D87420
2020-08-24 16:36:08 +00:00
Ryan VanderMeulen b20a6e262f Bug 1660617 - Update pdf.js to version 2.6.302. r=bdahl
Differential Revision: https://phabricator.services.mozilla.com/D87957
2020-08-24 15:53:13 +00:00
Sebastian Streich f1c274e657 Bug 1660822 - Add isLocalIpAdress to nsIPrincipal r=ckerschb
Differential Revision: https://phabricator.services.mozilla.com/D82919
2020-08-24 16:28:26 +00:00
Severin 50f0e61d0e Bug 1650941 - expand pmgr doorhanger telemetry to include autocomplete suggestions;r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D85101
2020-08-24 16:03:17 +00:00
Sebastian Streich 27e2164c57 Bug 1656296 - Pass Blocked Downloads to the DownloadsUI r=ckerschb,Gijs
***

***
Added Better Testing

Differential Revision: https://phabricator.services.mozilla.com/D85439
2020-08-24 15:29:23 +00:00
Stephen A Pohl e8197c08de Bug 1660813: Allow for Android to enable the new non-native theme via pref. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D88040
2020-08-24 15:51:53 +00:00
manas 68019d8bda Bug 1660266 - Encapsulate the code for finding overflow causing elements inside the Overflow Debugging pref. r=gl
Differential Revision: https://phabricator.services.mozilla.com/D87926
2020-08-23 23:05:13 +00:00
Adam Vandolder 0e071c42fe Bug 1655947 - Change date parsing to be more consistent. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D87458
2020-08-21 19:00:24 +00:00
Jonathan Kew ba87878325 Bug 1371386 - Take account of requirements for emoji-style or text-style presentation during font selection & fallback. r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D87304
2020-08-24 14:24:12 +00:00
Olli Pettay 5dd6f7cbe3 Bug 1660499 - nsHistory::GetSessionHistory() should use BC tree, r=peterv
Differential Revision: https://phabricator.services.mozilla.com/D87890
2020-08-24 13:11:39 +00:00
Jan Varga ecaff7daea Bug 1659673 - Add the `mozilla::Result::orElse` method; r=froydnj,dom-workers-and-storage-reviewers,sg
Differential Revision: https://phabricator.services.mozilla.com/D87418
2020-08-24 14:44:50 +00:00
Mike Conley 1d14dc8f1a Bug 1648107 - Make sure PiP player window browser uses the right content process when Fission is enabled. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D86863
2020-08-16 23:55:58 +00:00
Sebastian Hengst 2635280bd6 Bug 1642506 - Add back Windows ccov test annotations for moving-between-documents folder 2020-08-24 16:49:31 +02:00
Andreas Pehrson dd185c9a8b Bug 1622349 - Re-enable test on webrender fission windows opt. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D88014
2020-08-24 13:55:12 +00:00
Bob Owen ec09c21cdd Bug 1660463: Only allow printing of a selection when mDisallowSelectionPrint is false. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D88028
2020-08-24 14:29:29 +00:00
Miko Mynttinen 8bd3018124 Bug 1659476 - Set gfx.webrender.enable-client-storage to true r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D87292
2020-08-23 09:42:21 +00:00
Ryan VanderMeulen 9e35313258 Bug 1657017 - Add some more WNP locales that missed the Fx80 RC build. r=mtabara
DONTBUILD
2020-08-24 10:10:28 -04:00
Emilio Cobos Álvarez 6e52b0c1c7 Bug 1636728 - Request a longer timeout in test_printpreview.xhtml. r=jwatt
The first patch in this bug makes this test a bit more heavy-weight.

Instead of rendering the print-preview document in an iframe, and
snapshotting the 400x400 pixels in the top left corner, we open a window
and snapshot the whole print preview document.

I could keep it doing the same if needed by passing the docshell
argument to window.printPreview. But this test wasn't great to begin
with, and the changes in part 1 are a net improvement imo.

The bad part is that they cause the test to become slower such as it can
time out in some debug builds. Request a longer timeout because of this.

Differential Revision: https://phabricator.services.mozilla.com/D87966
2020-08-24 11:14:27 +00:00
Emilio Cobos Álvarez 4dba1dc4b6 Bug 1636728 - Make a crashtest properly close its windows. r=smaug
This crashtest opens a gazillion popups via window.open() which then it
never closes.

This becomes a problem because other better-behaved crashtests in the
same subdirectory get their popups blocked by the popup blocker and then
time out when not removing the reftest-wait class, like this:

  https://searchfox.org/mozilla-central/source/dom/base/crashtests/1529203-2.html#17

This didn't happen before the first patch of this bug, because we were
aborting when creating these windows here, and after my patches we fall
back to opening in a new window:

  https://searchfox.org/mozilla-central/rev/3c98465c9d329625c4e1b22a7b832aabeafc4cc3/dom/ipc/ContentParent.cpp#5027-5030

I could restore the abort if preferred, but I don't think that's great.

Differential Revision: https://phabricator.services.mozilla.com/D87965
2020-08-24 12:02:01 +00:00
Hector Zhao 406493d10b Bug 1660725 - Consider `CARGO_HOME` when checking for `rustc` & `cargo` in configure. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D87993
2020-08-24 14:08:17 +00:00
David Major b43ea36da9 Bug 1660341 - Pin code coverage builds to clang-9 r=froydnj
At the upcoming upgrade to clang-11, we'll need to keep code coverage builds on clang-9, so that their file format is understandable our currently LLVM-9-based rustc.

As currently written this change is NFC, but for the future it will opt-out ccov builds from the retargeting of the `linux64-clang` alias.

The macosx.yml change looks larger than it really is, it's mostly pushing defaults down into the tasks so that coverage builds can override them.

Differential Revision: https://phabricator.services.mozilla.com/D87901
2020-08-22 13:56:36 +00:00
Bryce Seager van Dyk 7f964ba354 Bug 1659941 - Avoid an IntervalSet copy when inserting frames in TrackBuffersManager. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D87913
2020-08-22 18:48:09 +00:00
Bryce Seager van Dyk b0e7b41949 Bug 1659941 - Add a method to IntervalSet to check if it intersects with another IntervalSet. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D87912
2020-08-23 09:04:23 +00:00
Joel Maher bbef58adcc Bug 1660590 - add expectations to browser_startup_syncIPC.js to work on windows10 hardware. r=Gijs
add expectations to browser_startup_syncIPC.js to pass on windows10 hardware.

Differential Revision: https://phabricator.services.mozilla.com/D87939
2020-08-24 11:39:12 +00:00
Joel Maher 66ed7f07fc Bug 1660582 - Add expected file access to browser_startup_mainthreadio.js while running on windows10 hardware. r=Gijs
Add expected file access to browser_startup_mainthreadio.js while running on windows10 hardware

Differential Revision: https://phabricator.services.mozilla.com/D87938
2020-08-24 11:38:58 +00:00
Joel Maher b0af2e5f20 Bug 1660480 - Add expected read access for ShaderCache in browser_startup_content_mainthreadio.js. r=Gijs
Add expected read access for ShaderCache in browser_startup_content_mainthreadio.js

Differential Revision: https://phabricator.services.mozilla.com/D87929
2020-08-24 11:39:18 +00:00
Joel Maher 4652cf039c Bug 1660625 - adjust web-platform-tests expectations to work on windows 10 hardware. r=bc
adjust web-platform-tests expectations to work on windows 10 hardware

Differential Revision: https://phabricator.services.mozilla.com/D87962
2020-08-24 12:27:17 +00:00
Kershaw Chang 4fdec2e031 Bug 1658532 - Add `REL_PRELOAD_MISS_RATIO` telemetry measuring ratio of used vs unused preloads per "as" type, r=smaug,chutten
Differential Revision: https://phabricator.services.mozilla.com/D86736
2020-08-24 11:24:21 +00:00
Daisuke Akatsuka 5341051fc9 Bug 1634045: Add a README for the compatibility panel. r=rcaliman,Honza
Differential Revision: https://phabricator.services.mozilla.com/D87981
2020-08-24 11:19:47 +00:00
Jared Wein 2421d68d38 Bug 1660558 - Handle any exception thrown when trying to load Subprocess due to unsupported platforms. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D87954
2020-08-24 11:09:56 +00:00
Jared Wein 32685b1f6e Bug 1659847 - Explicitly set the showBookmarksToolbarAfterMigration pref so tests will continue to run after the feature is disabled. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D87980
2020-08-24 10:32:27 +00:00
Jared Wein c4f4ade870 Bug 1660620 - Automated test for displaying the bookmarks toolbar upon startup of new profile. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D87953
2020-08-24 09:32:04 +00:00
Peter Van der Beken 30b0eb25b2 Bug 1659992 - Fix nsDocShell::LoadURI for session history loads to not rely on session history in the child. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D87744
2020-08-23 17:41:13 +00:00
Peter Van der Beken 73b5ecf2d5 Bug 1659991 - Reuse an existing shared state in the parent process. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D87743
2020-08-23 20:14:03 +00:00
Peter Van der Beken 6e49bf5815 Bug 1659991 - Generate an id if we create a new session history entry in the child process. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D87742
2020-08-23 17:41:06 +00:00
Peter Van der Beken a4a8b3da89 Bug 1649131 - Implement history.pushState/.replaceState for session history in the parent. r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D87039
2020-08-23 17:41:03 +00:00
Peter Van der Beken e08ef28207 Bug 1649131 - Store some data in a pseudo shared state in the child process. r=smaug
The entries in the parent process stores some data in a shared state for some of
the entries that share a document. We also need to store some of this data in
the info objects in the child process, but it doesn't make sense to have it be
shared: the data shouldn't be mutated in the child process, and we probably only
have one of the info objects anyway. This adds a structure that holds the shared
data for an info object in the child process, but without actually sharing it.
As we use info objects in both parent and child, we hold a void pointer that's a
strong reference to a shared state in the parent process, and an owning pointer
to the pseudo-shared state in the child process.

Differential Revision: https://phabricator.services.mozilla.com/D87038
2020-08-23 17:36:10 +00:00