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

630972 Коммитов

Автор SHA1 Сообщение Дата
Masayuki Nakano 8c30926700 Bug 181137 - part 1: Move nsContentIterator and nsContentSubtreeIterator into mozilla namespace r=smaug
First, we should move nsContentIterator and nsContentSubtreeIterator into
mozilla namespace and then, remove "ns" prefix.

Additionally, this patch separates the definition of the classes into
ContentIterator.h and exposes it as "mozilla/ContentIterator.h".  This allows
everybody access those concrete classes.

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

--HG--
rename : dom/base/nsContentIterator.cpp => dom/base/ContentIterator.cpp
rename : dom/base/nsContentIterator.cpp => dom/base/ContentIterator.h
extra : moz-landing-system : lando
2019-01-10 08:43:50 +00:00
Brian Birtles 9b742685c0 Bug 1518982 - Don't register animations with playbackRate == 0 with a timeline; r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D16153

--HG--
extra : moz-landing-system : lando
2019-01-10 06:56:09 +00:00
Masayuki Nakano 95635bbb30 Bug 1499430 - Make PresShell::PageMove() use result of nsFrameSelection::GetFrameToPageSelect() when PresShell::GetScrollableFrameToScroll() returns nullptr r=smaug
If there is no scrollable frame, PresShell::GetScrollableFrameToScroll() returns
nullptr.  However, even when we don't expand selection, we need to move caret
in current selection root.  Therefore, it should call
nsFrameSelection::CommonPageMove() with the result of
nsFrameSelection::GetFrameToPageSelect() to move caret.

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

--HG--
rename : layout/base/tests/test_expanding_selection_per_page.html => layout/base/tests/test_moving_and_expanding_selection_per_page.html
extra : moz-landing-system : lando
2019-01-10 05:02:56 +00:00
Eitan Isaacson e708455671 Bug 1518805 - Don't update bounds on gone or defunct accessibles. r=MarcoZ
Differential Revision: https://phabricator.services.mozilla.com/D16064

--HG--
extra : moz-landing-system : lando
2019-01-10 06:59:16 +00:00
Andreas Pehrson 7577f27956 Bug 1518834 - Don't disable pulling when stopping microphone source. r=drno
Differential Revision: https://phabricator.services.mozilla.com/D16148

--HG--
extra : moz-landing-system : lando
2019-01-10 06:13:25 +00:00
Marco Zehe b4ebbe90ae Bug 1515186 - Always calculate group position for all children of an accessible after a tree mutation, r=Jamie
Previously, if we had children a, b, c, and d, then removed b, the group position for c and d would potentially be marked as dirty, but a would not. This caused the check for the availability of previous group info to return outdated information.

This patch now always forces the update of all children's group position when a children move has occurred, since it potentially affects all the children, not just the ones after it. In addition, accGroupInfo::Update() now checks if the previous and next siblings that are being used as shortcuts have dirty group info, and are being used only if they do not.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 05:59:01 +00:00
Kyle Machulis d9173f8644 Bug 1518991 - Make nsIPrincipal URI getter infallible; r=bholley
nsIPrincipal::GetURI returns NS_OK for all implementations. Make it
infallible so we can clean up status checks in C++ code that uses principals.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 05:44:33 +00:00
Tooru Fujisawa 8c733563b0 Bug 1518662 - Clear pending exception when leaving promise rejection tracker callback. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D16003

--HG--
extra : moz-landing-system : lando
2019-01-10 05:17:06 +00:00
Mike Hommey a0b6688faa Bug 1518726 - Apply https://reviews.llvm.org/D56475 to clang. r=froydnj
Firefox uses multiple processes. It has intentional leaks, and when
running with ASAN, we have suppressions to eliminate those. When running
ASAN builds through CI tests, when Firefox exits, each of the processes
(parent and child) exits and goes through its leaks and when there are
(which is a given), the ASAN runtime runs llvm-symbolizer to symbolicate
and match against suppressions. So each process runs llvm-symbolizer. At
the same time.

Some of the addresses to symbolicate are in libxul. Which contains all
DWARF info, making it a ~1GB monster. Oh, and because you're lucky,
things align perfectly such that libxul size is a multiple of the page
size. That makes llvm-symbolizer pread() the file instead of mmap()ing
it. Did I say there are multiple processes? So suddenly you have n
processes simultaneously allocating and filling 1GB of memory each, on
CI machines that have enough memory for the job they usually run, but
not enough for a sudden rush of n GB.

And things go awry. When you're lucky and the OOM killer didn't take
care of killing the CI entirely, symbolication couldn't happen and the
suppressions are not matched, and leaks are reported.

This all turns out it originates in how llvm-symbolicate chooses between
pread() and mmap(), which turns out is just defaults not being made for
binary files.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 00:18:28 +00:00
Timothy Guan-tin Chien 005832324b Bug 1454357 - Remove the scrollbox binding r=NeilDeakin
With all the previous efforts, the scrollbox binding now does nothing but to create an inner box element holding the scrolling content.

It turned out that inner box can be easily removed. The padding set by the document sheets can be moved to the srollbox element directly.

The only gotcha is XULScrollElement::ScrollByIndex() -- it can now reach the child item frames directly from the scrolled frame.

Depends on D15169

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

--HG--
extra : moz-landing-system : lando
2019-01-09 20:12:26 +00:00
shindli e980a1693d Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-10 06:05:38 +02:00
shindli 9e30b4d75a Merge inbound to mozilla-central. a=merge 2019-01-10 06:03:36 +02:00
edward.i.wu 06030d9eb9 Bug 1370077 - Avoid deprecation message when background.persistent is true r=robwu,aswan
Add support for enumerations to boolean types, and use it to only show
a deprecation message when background.persistent is false.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 01:11:44 +00:00
Tooru Fujisawa e872cc3650 Bug 1510586 - Integrate clang-format into BinAST code generator. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D15059

--HG--
extra : moz-landing-system : lando
2019-01-10 02:53:50 +00:00
Andreas Pehrson 8b813e9e30 Bug 1515068 - Allow UpdateSrcStreamTime while paused. r=jya
This can legitimately happen while paused since the watchmanager calling this
is dispatching the calls. As such they're out of sync with the paused state,
and we need to allow updating the time while paused.

FireTimeUpdate does ignore the call if the time hasn't actually been updated,
so the only impact from this is that we could do a lot of unnecessary
dispatching while paused without noticing.

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

--HG--
extra : moz-landing-system : lando
2019-01-09 17:15:18 +00:00
Brian Grinstead 31787227c8 Bug 1441935 - Remove browser XBL binding r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D15594

--HG--
extra : moz-landing-system : lando
2019-01-10 01:45:45 +00:00
Brian Grinstead f6c12a437b Bug 1441935 - Modifications on top of the generated MozBrowser Custom Element r=mconley
In order to make the history easier to navigate, this changeset includes the
modifications required to make <xul:browser> actually work as a Custom Element,
and switches the app to use it instead of the XBL browser.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 01:45:43 +00:00
Brian Grinstead 5b6fac1c1c Bug 1441935 - Copy browser.xml and import the generated MozBrowser Custom Element r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D14910

--HG--
rename : toolkit/content/widgets/browser.xml => toolkit/content/widgets/browser-custom-element.js
extra : moz-landing-system : lando
2019-01-10 01:45:41 +00:00
Jed Davis 3e70bf3ff1 Bug 1487287 - Move child process launch off the I/O thread. r=mccr8
Launching processes takes enough time that we should avoid blocking the
parent process's IPC I/O thread for it; it's less bad for responsiveness
than blocking the main thread, but it's not good.

On Windows we need to use a dedicated thread, because the sandbox isn't
thread-safe and it asserts that the same thread is used for every
launch.  Otherwise, a thread pool is used.  (Or, in the Web Replay
middleman process, where there isn't enough of XPCOM for any of this,
launching the actual content processes remains on the I/O thread.)

Depends on D15886

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

--HG--
extra : moz-landing-system : lando
2019-01-09 02:52:10 +00:00
Jed Davis 47e47c7561 Bug 1487287 - Fix thread-safety of crash reporter pid map. r=gsvelto
Depends on D8945

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

--HG--
extra : moz-landing-system : lando
2019-01-08 23:53:37 +00:00
Jed Davis 3fe8a630c1 Bug 1487287 - Set profiler env vars in child processes without side-effecting the parent process. r=mstange
We can directly set environment variables for the child process on
all platforms now, instead of changing the parent's environment and
inheriting the changes.  This simplifies memory management, but more
importantly it's necessary for thread safety to allow launching
processes from a thread pool.

Depends on D8944

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

--HG--
extra : moz-landing-system : lando
2019-01-08 23:53:36 +00:00
Mike Hommey e489736f60 Bug 1518703 - Remove R_386_PC32 check. r=froydnj,ted
The test is actually redundant with the TEXTREL check in
check_binary.py (R_386_PC32 relocations will only happen as text
relocations)

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

--HG--
extra : moz-landing-system : lando
2019-01-10 00:07:53 +00:00
Matt Woodrow b2e6afc9ac Bug 1516702 - Skip building nsDisplaySVGGeometry display items when they have opacity:0. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D15891

--HG--
extra : moz-landing-system : lando
2019-01-09 23:06:28 +00:00
Botond Ballo 7c6946581e Bug 1518953 - Remove non-ASCII characters from comments in nsLayoutUtils.cpp. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D16113

--HG--
extra : moz-landing-system : lando
2019-01-09 23:21:44 +00:00
Dave Townsend 07e80de57e Bug 1518575: Remove unused nsIToolkitProfileService.lockProfilePath. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D15965

--HG--
extra : moz-landing-system : lando
2019-01-09 15:17:13 +00:00
Dave Townsend e1283ad6c2 Bug 1518846: Fix missing includes in nsUpdateDriver.cpp. r=rstrong
Adds some includes that are needed for functions used in nsUpdateDriver.cpp.

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

--HG--
extra : moz-landing-system : lando
2019-01-09 17:27:21 +00:00
Ehsan Akhgari 3d2f05466f Bug 1518853 - Fix ContentBlockingLog::HasBlockedAnyOfType() to actually take into whether the recorded log entry is a blocked event or an allowed exception; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D16069

--HG--
extra : moz-landing-system : lando
2019-01-09 18:55:46 +00:00
Edwin Gao 0f390a7703 Bug 1514075 - added updated hostutils for macOS r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D16111

--HG--
extra : moz-landing-system : lando
2019-01-09 22:59:12 +00:00
Mike Hommey 3dc15d5c35 Bug 1516374 - Upgrade clang to 7.0.1. r=dmajor
Differential Revision: https://phabricator.services.mozilla.com/D15346

--HG--
extra : moz-landing-system : lando
2019-01-09 23:01:46 +00:00
WR Updater Bot b8486fffd6 Bug 1518899 - Update webrender to commit d3edc30cf95d3c96fd8308969b22062698a0f6ce (WR PR #3493). r=kats
https://github.com/servo/webrender/pull/3493

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

--HG--
extra : moz-landing-system : lando
2019-01-09 22:16:02 +00:00
Dana Keeler 9b29562c1f bug 1518679 - install 32-bit libsecret so secret storage tests can use libsecret on 32-bit test systems r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D16085

--HG--
extra : moz-landing-system : lando
2019-01-09 22:43:10 +00:00
Gabriele Svelto 8a2aee6162 Bug 1517730 - Enable the crash reporter by default on Windows/AArch64 builds r=ted
Differential Revision: https://phabricator.services.mozilla.com/D15763

--HG--
extra : moz-landing-system : lando
2019-01-09 22:39:22 +00:00
Brindusan Cristian d8250d1175 Backed out changeset b66f64e5709d (bug 1516702) for mochitest failures on test_pointer-events-1a.xhtml. 2019-01-10 00:31:36 +02:00
Nico Grunbaum b1e55aa134 Bug 1518735 - reformat PeerConnection stats test r=mjf
reformating the PeerConnection stats test to make it easier to maintain

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

--HG--
extra : moz-landing-system : lando
2019-01-09 22:04:57 +00:00
Robin Templeton 9b7ceac572 Bug 1518711 - Rename BigInt's ParseNodeKind to match the declaration from bug 1513040. r=jorendorff
Differential Revision: https://phabricator.services.mozilla.com/D16008

--HG--
extra : moz-landing-system : lando
2019-01-09 19:14:40 +00:00
thomasmo b16b2cbba6 Bug 1474034 - Use consistent prefixes for POD struct members in gfx/vr/external_api/moz_external_vr.h r=kip
This change updates the structs VRDisplayState, VRLayer_2D_Content, and VRLayer_Stereo_Immersive to not have 'm' prefix for its members.

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

--HG--
extra : moz-landing-system : lando
2019-01-09 21:57:36 +00:00
Kartikaya Gupta 3df27b4278 Bug 1518902 - Promote WR standalone CI jobs to tier-1. r=aryx
Differential Revision: https://phabricator.services.mozilla.com/D16087

--HG--
extra : moz-landing-system : lando
2019-01-09 21:56:22 +00:00
shindli eae80bd903 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-01-09 23:45:39 +02:00
shindli e196689816 Merge inbound to mozilla-central. a=merge 2019-01-09 23:42:10 +02:00
shindli 20a70f9169 Merge autoland to mozilla-central. a=merge 2019-01-09 23:40:48 +02:00
Matt Woodrow 784e839e49 Bug 1516702 - Skip building nsDisplaySVGGeometry display items when they have opacity:0. r=jwatt
Differential Revision: https://phabricator.services.mozilla.com/D15891

--HG--
extra : moz-landing-system : lando
2019-01-09 19:51:20 +00:00
WR Updater Bot 02fa01c82a Bug 1518901 - Update webrender to commit a25552ac640600e5bd456e048c0df592ab9fde93 (WR PR #3483). r=kats
https://github.com/servo/webrender/pull/3483

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

--HG--
extra : moz-landing-system : lando
2019-01-09 20:28:38 +00:00
WR Updater Bot a26a88d15c Bug 1518769 - Update webrender to commit 32e2f83a809e91f699847cbde209d4f24fca0141 (WR PR #3492). r=kats
https://github.com/servo/webrender/pull/3492

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

--HG--
extra : moz-landing-system : lando
2019-01-09 20:25:47 +00:00
Jeff Walden d64076ac48 Bug 1518812 - Redo the fix for bug 1516567 atop the moving of the relevant code to js/public/PropertySpec.h in bug 1517624. r=jandem 2019-01-09 08:45:05 -08:00
Cosmin Sabou 56680c0c2c Merge autoland to mozilla-central. a=merge 2019-01-09 18:36:27 +02:00
Adam Gashlin 22936a258f Bug 1514501 - Fix screen selection and scaling for fullscreen r=jmathies
I needed to scale the layout device pixels coming from Windows before passing them to ScreenForRect(). Also, I'm using GetRect() directly instead of GetRectDisplayPix() * scale now, to avoid an unnecessary double scale & round which was making fullscreen windows off by one pixel in many cases.

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

--HG--
extra : moz-landing-system : lando
2019-01-09 16:35:40 +00:00
Mike Cooper 59081613bd Bug 1479127 - Add featuregate library r=mossop,firefox-build-system-reviewers,mshal
Differential Revision: https://phabricator.services.mozilla.com/D5175

--HG--
extra : moz-landing-system : lando
2019-01-09 20:01:52 +00:00
Adam Gashlin 6b988936da Bug 1514898 - Disable user impersonation on release r=rstrong
This introduces a DISABLE_USER_IMPERSONATION define when EARLY_BETA_OR_EARLIER is set, if that is present the maintenance service will not attempt to get an impersonation token for the user's updater process, and the updater will not attempt to use any token it is given. The bulk of the changes are restoring the old failure status codes and the tests that expect them, sorry for the noise that causes.

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

--HG--
extra : moz-landing-system : lando
2019-01-09 19:57:31 +00:00
Brindusan Cristian 75f86d396d Backed out 7 changesets (bug 1504756) for xpcshell failures on test_sync.js.
Backed out changeset 9d80f662ad2b (bug 1504756)
Backed out changeset 8f9d90979825 (bug 1504756)
Backed out changeset 9715660f8c07 (bug 1504756)
Backed out changeset c25c93d2dc4d (bug 1504756)
Backed out changeset 58ab81d373b9 (bug 1504756)
Backed out changeset 21658a2d0174 (bug 1504756)
Backed out changeset 93ff3f0d95bd (bug 1504756)
2019-01-09 21:57:50 +02:00
Xidorn Quan f058e5cdbd Bug 1516068 - Fix a wrong indentation in nsNativeThemeWin. r=jmathies
Differential Revision: https://phabricator.services.mozilla.com/D15246

--HG--
extra : moz-landing-system : lando
2019-01-09 16:37:02 +00:00