Commit Graph

630773 Commits

Author SHA1 Message Date
Nicolas Chevobbe
b338d1ec6e Bug 1515501 - Close autocomplete popup on Cmd/Ctrl + ArrowRight; r=Honza.
This was causing some issue with the resulting text being non-sense.
A test case is added to ensure it works as expected.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 15:35:43 +00:00
Belén Albeza
0cd52559d2 Bug 1488502 - [part 2] add test to check that service workers debugging is disabled in multi e10s. r=jdescottes,daisuke
Differential Revision: https://phabricator.services.mozilla.com/D14958

--HG--
extra : moz-landing-system : lando
2019-01-10 14:57:20 +00:00
Johann Hofmann
5bdbbb1dce Bug 1516340 - Properly clean up prefs in browser_contentblocking.js. r=ewright
Differential Revision: https://phabricator.services.mozilla.com/D16030

--HG--
extra : moz-landing-system : lando
2019-01-10 14:46:00 +00:00
Rob Wood
4926387aa4 Bug 1518972 - gecko-profile jobs should be tier-2, not tier-1; r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D16187

--HG--
extra : moz-landing-system : lando
2019-01-10 13:38:49 +00:00
Henrik Skupin
941be3d64d Bug 1441437 - [marionette] Remove dependency to cssTransform.html and cssTransform2.html in test_visibility.py. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D16182

--HG--
extra : moz-landing-system : lando
2019-01-10 14:27:20 +00:00
Nicolas Silva
7df7be6d7a Bug 1510076 - Reenable large-border-radius-dashed crashtests. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D16189

--HG--
extra : moz-landing-system : lando
2019-01-10 14:28:19 +00:00
Henrik Skupin
ccadd49d38 Bug 1507067 - [marionette] Listen for "visibilitychange" event in content process. r=ato
To detect when the window got minimized usally "visibilitychange" events
are fired to the content window. The "WebDriver:MinimizeWindow" command
has to wait for those.

Depends on D16096

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

--HG--
extra : moz-landing-system : lando
2019-01-10 14:26:52 +00:00
Henrik Skupin
96e367f76b Bug 1507067 - [marionette] Add support for EventListener callback to WebElementEventTarget. r=ato
Depends on D16095

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

--HG--
extra : moz-landing-system : lando
2019-01-10 14:26:26 +00:00
Henrik Skupin
5638bd8735 Bug 1507067 - [marionette] Add logging of received DOM events to ContentEventObserverService. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D16095

--HG--
extra : moz-landing-system : lando
2019-01-10 14:26:02 +00:00
Kartikaya Gupta
fa555ac02c Bug 1507522 - Drop revision.txt and WR update process. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D16105

--HG--
extra : moz-landing-system : lando
2019-01-10 14:14:13 +00:00
Kartikaya Gupta
ef25cd53ed Bug 1507522 - Add a note to the WebRender README about the new upstream. r=kvark
Differential Revision: https://phabricator.services.mozilla.com/D16104

--HG--
extra : moz-landing-system : lando
2019-01-10 14:14:00 +00:00
Kestrel
14467a827a Bug 1514715 - Update color prefs for new color IDs including -moz-win-accentcolor r=jmathies
Differential Revision: https://phabricator.services.mozilla.com/D14723

--HG--
extra : moz-landing-system : lando
2019-01-09 16:37:34 +00:00
Alex Chronopoulos
96cd8b2f6a Bug 1515549 - Avoid resetting volume in every AudioSink restart in case volume has changed outside firefox. r=jya
Avoid resetting volume in every AudioSink restart to stop unexpected volume change during play/pause and seek. Volume changes could occur if the volume has been modified outside firefox (for example pavucontrol in Linux).

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

--HG--
extra : moz-landing-system : lando
2019-01-10 11:24:29 +00:00
Henri Sivonen
b10e89785b Bug 1515351 - Update encoding_rs to 0.8.14. r=m_kato
Differential Revision: https://phabricator.services.mozilla.com/D15934

--HG--
extra : moz-landing-system : lando
2019-01-10 09:42:39 +00:00
Oriol Brufau
f49f3db6d7 Bug 1515046 - Let reps invoke the right getter when it's shadowed. r=nchevobbe
Depends on D15788

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

--HG--
extra : moz-landing-system : lando
2019-01-09 01:47:34 +00:00
Oriol Brufau
69e25dc980 Bug 1515046 - Add receiverId parameter in objectClient.getPropertyValue. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D15788

--HG--
extra : moz-landing-system : lando
2019-01-09 06:42:58 +00:00
Henrik Skupin
c820e2d61d Bug 1504756 - [marionette] Added opening a new browsing context to Marionette client. r=ato
The patch updates the Marionette client and all Marionette unit
tests to make use of the new `Create Window` command as much as
possible.

Depends on D13663

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

--HG--
extra : moz-landing-system : lando
2019-01-10 10:13:17 +00:00
Henrik Skupin
c631c98202 Bug 1504756 - [marionette] Added "WebDriver:NewWindow" command to open a new top-level browsing context. r=ato
The patch adds the end-point for the recently defined `New Window`
command (https://github.com/w3c/webdriver/issues/1138). It allows
to open a new top-level browsing context as tab or as window.

Depends on D13662

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

--HG--
extra : moz-landing-system : lando
2019-01-10 10:14:24 +00:00
Henrik Skupin
ea87c4dedf Bug 1504756 - [marionette] Remove default timeout from PollPromise. r=ato
By default PollPromise has to behave similar to a normal Promise
and wait forever until it gets resolved or rejected.

Depends on D13662

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

--HG--
extra : moz-landing-system : lando
2019-01-10 10:12:24 +00:00
Henrik Skupin
74c45eb2ed Bug 1504756 - [marionette] Use waitForObserverTopic when waiting for observer notifications. r=ato
Depends on D13661

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

--HG--
extra : moz-landing-system : lando
2019-01-10 10:14:22 +00:00
Henrik Skupin
a384666194 Bug 1504756 - [marionette] Use waitForMessage() to wait for an expected message manager message. r=ato
Depends on D13660

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

--HG--
extra : moz-landing-system : lando
2019-01-10 10:12:17 +00:00
Henrik Skupin
2575586fb6 Bug 1504756 - [marionette] Use waitForEvent() when waiting for events. r=ato
Depends on D13659

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

--HG--
extra : moz-landing-system : lando
2019-01-10 10:10:47 +00:00
Henrik Skupin
be3136d0ab Bug 1504756 - [marionette] Add executeSoon() to run tasks on the main thread. r=ato
To be closer to other test harnesses which are using executeSoon()
to run a task on the main thread, this patch adds the same
method to Marionette's sync module.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 10:10:14 +00:00
James Graham
679f0aa4c4 Bug 1517322 - Allow LSAN suppressions path to be set from wptrunner command line, r=mccr8
Previously we assumed that the path for the lsan_suppressions.txt file was the same as the prefs path,
which is correct in CI but wrong for local builds. This adds a --lsan-dir command line argument and sets
it in mach to the correct value for local builds and uses the prefs directory as a default for backwards
compatibility

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

--HG--
extra : moz-landing-system : lando
2019-01-09 20:39:40 +00:00
Csoregi Natalia
13506c036a Backed out 8 changesets (bug 181137) for bustage on FragmentOrElement.cpp:1751. CLOSED TREE
Backed out changeset 99a977d519a0 (bug 181137)
Backed out changeset 65a4b245e851 (bug 181137)
Backed out changeset 5385d5fd9b8b (bug 181137)
Backed out changeset 83bec02c21d9 (bug 181137)
Backed out changeset b7ab59bf545e (bug 181137)
Backed out changeset b6fc7a332db7 (bug 181137)
Backed out changeset 654fdbad67db (bug 181137)
Backed out changeset 90a1ff49b6b1 (bug 181137)

--HG--
rename : dom/base/ContentIterator.h => dom/base/nsContentIterator.cpp
rename : editor/spellchecker/FilteredContentIterator.cpp => editor/spellchecker/nsFilteredContentIterator.cpp
rename : editor/spellchecker/FilteredContentIterator.h => editor/spellchecker/nsFilteredContentIterator.h
2019-01-10 11:42:27 +02:00
Masayuki Nakano
dcd72cf37f Bug 1514975 - Synthesize mousemove event before contextmenu event caused by long tap r=smaug,kats
Chrome synthesizes mousemove event and related events (mouseover, mouseenter,
etc) when context menu event is fired by long tap.  This allows users to open
submenu which is opened by moving mouse cursor over a link.

So, this fix improves accessibility of our users on some websites which are
designed for desktop.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 09:09:42 +00:00
Ehsan Akhgari
946ce15a46 Bug 1518959 - Don't format Java files by default; r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D16115

--HG--
extra : moz-landing-system : lando
2019-01-10 09:05:54 +00:00
Masayuki Nakano
796ceb094f Bug 181137 - part 8: Make ContentIteratorBase and its subclasses non-refcountable r=smaug
This patch makes ContentIteratorBase, PostContentIterator, PreContentIterator
and ContentSubtreeIterator classes non-refcountable because most users can
create their instances in stack and such users may be in a hot path.  So,
we can save a lot of cost of instantiation.

Unfortunately, only ScriptableContentIterator creates one of the concrete
classes and needs to destroy it properly.  Therefore, its
EnsureContentIterator(), destructor, traverse and unlink code becomes messy.
However, ScriptableContentIterator was designed for automated tests and we
need to maintain it not so many times.  Therefore, improvement of other
users must be worthwhiler than this demerit.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 08:50:41 +00:00
Masayuki Nakano
91a9670801 Bug 181137 - part 7: Get rid of nsIContentIterator interface r=smaug
Now, nobody requires nsIContentIterator interface.  So, we can get rid of it.

Unfortunately, there is no macro to keep the inherited class,
ContentSubtreeIterator, in the cycle collection to make it keep managing
ContentSubtreeIterator::mRange without nsISupports interface.  Therefore, this
patch moves it into ContentIteratorBase temporarily.  Anyway, the following
patch makes those classes not refcountable.  At that time, this issue will be
fixed.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 08:47:54 +00:00
Masayuki Nakano
d15a70b2c2 Bug 181137 - part 6: Make nsFilteredContentIterator not derived from nsIContentIterator r=smaug
nsFilteredContentIterator is used only by TextServicesDocument and there is
no reason that it should be derived from nsIContentIterator except consistency.
Additionally, it's now only class which is derived from nsIContentIterator
except ContentIteratorBase.  So, after this change, we can get rid of
nsIContentIterator completely.

This patch moves nsFilteredContentIterator into mozilla namespace and
makes TextServicesDocument treat FilteredContentIterator directly instead of
nsIContentIterator interface.

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

--HG--
rename : editor/spellchecker/nsFilteredContentIterator.cpp => editor/spellchecker/FilteredContentIterator.cpp
rename : editor/spellchecker/nsFilteredContentIterator.h => editor/spellchecker/FilteredContentIterator.h
extra : moz-landing-system : lando
2019-01-10 08:47:11 +00:00
Masayuki Nakano
bdc602b92f Bug 181137 - part 5: Make all users of PostContentIterator treat it directly rather than via nsIContentIterator r=smaug
Now, all users of PostContentIterator can access it directly.  This patch
makes them use the concrete class directly.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 08:46:32 +00:00
Masayuki Nakano
6f5a9fb98a Bug 181137 - part 4: Make all users of PreContentIterator treat it directly rather than via nsIContentIterator r=smaug
Now, all users of PreContentIterator can access it directly.  This patch makes
them use the concrete class directly.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 08:46:25 +00:00
Masayuki Nakano
e4fd546fbd Bug 181137 - part 3: Make all users of ContentSutreeIterator treat it directly rather than via nsIContentIterator r=smaug
Now, all users of ContentSubtreeIterator can access it directly.  This patch
makes them use the concrete class directly.

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

--HG--
extra : moz-landing-system : lando
2019-01-10 08:45:07 +00:00
Masayuki Nakano
d877816981 Bug 181137 - part 2: Make nsContentIterator class is a base class of other concrete classes r=smaug
Currently, ContentIterator is created with a bool flag to decide whether the
instance lists up post-order or pre-order.  However, this is not clear.  For
example:

nsCOMPtr<nsIContentIterator> preOrderIter = new ContentIterator(false);

This is not clear whether this does right thing or not.

This patch makes any users can create PostContentIterator for post-order
iterator, and creates PreContentIterator for pre-order iterator.  So, now,
each creator needs to writhe above as:

nsCOMPtr<nsIContentIterator> preOrderIter = new PreContentIterator();

or

nsCOMPtr<nsIContentIterator> postOrderIter = new PostContentIterator();

Additionally, with this change, if each user starts to use concrete classes
directly, compiler can stop using virtual calls because of all concrete
classes are now marked as "final".

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

--HG--
extra : moz-landing-system : lando
2019-01-10 08:44:24 +00:00
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