612580 Commits

Author SHA1 Message Date
Margareta Eliza Balazs
0a1635ffbd Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-06 13:00:37 +03:00
Margareta Eliza Balazs
baa535d4e0 Merge inbound to mozilla-central. a=merge 2018-09-06 12:53:57 +03:00
Margareta Eliza Balazs
a6eea652ba Merge autoland to mozilla-central. a=merge 2018-09-06 12:51:28 +03:00
Margareta Eliza Balazs
3d500e629e Backed out changeset fc5ee8a04645 (bug 1488871) for causing perma bc failures in browser/base/content/test/performance/browser_windowopen.js. a=backout 2018-09-06 12:49:58 +03:00
Martin Stransky
6fa6395791 Bug 1487763 - [Wayland] Set scale factor settings before wl_surface commit, r=jhorak
Differential Revision: https://phabricator.services.mozilla.com/D5029

--HG--
extra : moz-landing-system : lando
2018-09-06 09:06:10 +00:00
arthur.iakab
4862d62ddf Backed out changeset 5e21be5fdf9d (bug 1429421)for build busteges CLOSED TREE 2018-09-06 12:12:40 +03:00
yulia
139e4e0b9a Bug 1429421 - remove gcli code; r=jdescottes,julienw,ochameau
Remove remaining GCLI code

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

--HG--
extra : moz-landing-system : lando
2018-09-06 08:55:50 +00:00
Margareta Eliza Balazs
0489b50e96 Backed out changeset d4191ae7bccd (bug 1488657) for bc failures in browser/base/content/test/static/browser_parsable_css.js CLOSED TREE 2018-09-06 11:51:46 +03:00
Jean-Yves Avenard
38a3bd2e77 Bug 1488065 - Update ffvpx to version n4.0.2-6-g2be51cbeea. r=bryce
Differential Revision: https://phabricator.services.mozilla.com/D5041

--HG--
rename : media/ffvpx/libavcodec/null_bsf.c => media/ffvpx/libavcodec/mpegvideodata.h
extra : moz-landing-system : lando
2018-09-06 08:42:52 +00:00
Gerald Squelart
3627ef71ac Bug 1488701 - Remove misleading std::move's - r=froydnj
Doing std::move when returning/assigning a local or temporary object is
preventing the compiler from performing copy elision.

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

--HG--
extra : moz-landing-system : lando
2018-09-06 08:28:34 +00:00
Xidorn Quan
151fb96849 Bug 1488657 - Have anonymous element in text input inherit scrollbar-width from the element. r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D5101

--HG--
extra : moz-landing-system : lando
2018-09-06 07:36:20 +00:00
Andrea Marchesini
9290eb7909 Bug 1488165 - Remove security.csp.enable_violation_events pref, r=dveditz 2018-09-06 09:05:10 +02:00
Nicolas Chevobbe
3d61a36abf Bug 1479373 - Refactor autocomplete popup for performance; r=jdescottes.
This patch introduces some options that can be passed to
setItems and openPopup to prevent doing unecessary work.
The main ideas here are to create all the popup items and
put them in a document fragment which then will be appended
to the popup, so we don't add them one by one which can be costly.
When creatingthe items, we also create one directly with the
selected class if autoSelect is set to true. This way, we don't have
to toggle the class later (which led to another reflow).

We take this work as an opportinuity to clean up the component.
Unused function (like appendItem and removeItem) are removed,
selectedIndex does not use a getter/setter anymore.

Some of the consumers calls are updated and so is the component test.

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

--HG--
extra : moz-landing-system : lando
2018-09-06 05:48:02 +00:00
Masayuki Nakano
908ba601c1 Bug 1485925 - part 1: Create HTMLEditor::HideResizersInternal() for internal use r=m_kato
HTMLEditor::HideResizers() is an XPCOM method, so, we should create non-virtual
method for internal use.

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

--HG--
extra : moz-landing-system : lando
2018-09-06 05:02:46 +00:00
Andreea Pavel
8b5dde736c Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE 2018-09-06 07:44:02 +03:00
Andreea Pavel
746993f3e1 Merge mozilla-inbound to mozilla-central. a=merge 2018-09-06 07:37:40 +03:00
Lee Salzman
de75729420 Bug 1480615 - reuse scaled fonts across blob image recordings. r=jrmuizel 2018-09-05 21:55:53 -04:00
Gerald Squelart
b099eab802 Bug 1488684 - Made nsIFrame-derived classes and some others 'final' where possible - r=dbaron
All classes deriving from nsIFrame that did not have any subclasses themselves
(at the time of writing this patch) have been marked with `final`.
Some other Layout classes have also been made final, but this was opportunistic
while working on nsIFrame subclasses, and is definitely not exhaustive, further
patches welcome; refer to bug 1332680.

Advantages of marking a class final include:
- Allowing the compiler to devirtualize some method calls (i.e., calling
  virtual functions directly instead of going through the vtable),
- Indicating that the class is not currently subclassed,
- Preventing subclassing without being aware that this would remove the
  finalization benefits of the parent class.
`final` does not signify that these classes should *never* be subclassed, this
is left for developers to decide.

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

--HG--
extra : moz-landing-system : lando
2018-09-06 01:23:14 +00:00
Ehsan Akhgari
3bc37f679f Bug 1487556 - Disable the Cookies and Site Data section if Content Blocking has been turned off; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D4988
2018-09-05 20:09:11 -04:00
Mike Hommey
f74b691a6e Bug 1488587 - Don't default to lld when building with clang LTO. r=dmajor
As described in c2b5cf7bde83, it is still preferable to build with BFD
ld when doing clang LTO, and one of the reasons we defaulted to lld in
the first place is that we didn't have the LLVM gold plugin on
automation, which, as of bug 1488307, we now have.

Differential Revision: https://phabricator.services.mozilla.com/D4987
2018-09-06 08:01:39 +09:00
張俊芝
81562a9f6c Bug 1485581 - Make nsImageFrame report intrinsic inline sizes in the correct dimension (height) when writing-mode is vertical. r=dbaron 2018-09-05 15:48:56 -07:00
Tiberius Oros
81171b2595 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-09-06 01:29:33 +03:00
Tiberius Oros
b830a9d3a5 Merge inbound to mozilla-central. a=merge 2018-09-06 01:25:01 +03:00
Jonathan Kew
6428deabb4 Bug 1487553 - Use a more compact representation for gfxSparseBitSet. r=lsalzman 2018-09-06 00:04:30 +02:00
Tiberius Oros
7226233356 Merge autoland to mozilla-central. a=merge 2018-09-06 00:58:25 +03:00
Mike Hommey
89bf3fe1a7 Bug 1473786 - Enable LTO on macOS builds. r=ted 2018-09-06 06:45:32 +09:00
Mike Hommey
d71f4a53aa Bug 1473786 - Avoid the aboutNetError-new.xhtml url being smashed into pieces by compiler optimizations. r=felipe
The browser_all_files_referenced.js test partly relies on finding chrome
and resource urls in the libxul binary, but with LTO, clang actually
replaces AssignASCII calls to inline copies using immediate values, like
this:

  movabsq $0x726573776f72622f, %rcx
  movq   %rcx, 0x8(%rax)
  movabsq $0x2f3a656d6f726863, %rcx
  movq   %rcx, (%rax)

Those immediate values are, respectively, "/browser" and "chrome:/".

Somehow, the aboutNetError-new url is the only one where that causes
problems, which is kind of surprising, in a sense. It's also in a
special position, being temporary until aboutNetError is actually
replaced and the new about:certerror rides the train. Chances are, if we
add an exception for aboutNetError-new in the
browser_all_files_referenced.js test itself, it would remain there after
the new about:certerror rides the train.

However, using the somehow circumvoluted Assign(NS_LITERAL_CSTRING())
construct, we can prevent clang from LTOing the string into pieces. And
there are better chances the code will go away when the new
about:certerror rides the train.

Differential Revision: https://phabricator.services.mozilla.com/D5017
2018-09-06 06:45:25 +09:00
Sebastian Hengst
dcb2c6a1ba Bug 1487251 - Switch expectation for object-position-svg-001o.html back to fail on every platform. a=tier2-permafail-fix 2018-09-06 00:01:33 +03:00
Gabriel Luong
7e6297bc79 Bug 1478397 - Part 6: Refactor the styles in the layout panel. r=rcaliman 2018-09-05 16:04:16 -04:00
Jim Porter
963d00aef7 Bug 1483323 part 6 - Fix recognizing JSID_EMPTY r=tromey
Bug 1464036 changed how JSID_EMPTY was defined; this patch updates the gdb
plugin accordingly.

Depends on D4611

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

--HG--
extra : moz-landing-system : lando
2018-09-05 18:52:23 +00:00
Jim Porter
6ffca2f89f Bug 1483323 part 5 - Fix ExecutableAllocator pretty printer r=tromey
This accounts for internal hash table changes in bug 1478896 and bug 1462261.

Depends on D4610

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

--HG--
extra : moz-landing-system : lando
2018-09-05 18:52:10 +00:00
Jim Porter
7a9f4d36d9 Bug 1483323 part 4 - GCC emits typedefs in DWARF now r=tromey
Depends on D4609

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

--HG--
extra : moz-landing-system : lando
2018-09-05 18:52:02 +00:00
Jim Porter
596d1ba91a Bug 1483323 part 3 - Fix fetching the scriptsourceobj in the gdb plugin r=tromey
This accounts for changes to the layout of JS::Value from bug 1449051.

Depends on D4608

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

--HG--
extra : moz-landing-system : lando
2018-09-05 18:51:48 +00:00
Jim Porter
8c4a41e65e Bug 1483323 part 2 - Fix pretty-printing of JSStrings r=tromey
This updates the pretty-printer for JSStrings to account for the internal
changes in bug 1479900.

Depends on D4607

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

--HG--
extra : moz-landing-system : lando
2018-09-05 18:51:35 +00:00
Jim Porter
6eec37b885 Bug 1483323 part 1 - Fix initializing the SpiderMonkey gdb UnwinderTypeCache r=tromey
Differential Revision: https://phabricator.services.mozilla.com/D4607

--HG--
extra : moz-landing-system : lando
2018-09-05 18:51:22 +00:00
Luca Greco
88b7be38f8 Bug 1483002 - Added WEBEXT probes keyed by addon id. r=janerik,mixedpuppy
This patch contains a set of changes needed to add WEBEXT telemetry probes keyed by addon id.

The telemetry probes keyed by addon id has been added as separate telemetry histograms
named after the related generic WEBEXT probe with the additional "_BY_ADDONID" suffix.

A set of small helper methods have been defined in a new ExtensionTelemetry object, exported
by the ExtensionUtils.jsm.

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

--HG--
extra : moz-landing-system : lando
2018-09-05 20:16:35 +00:00
Drew Willcoxon
894f274b95 Bug 1484737 - Improve the handling of search alias highlighting in the urlbar. r=Mardak,mak
This has two parts:

(1) urlbar already had a formatValue method. Right now, it only does the URL formatting (domain highlighting, crossing out https for mixed content pages) that we do when the urlbar is not focused. This patch generalizes that method into a kind of "any formatting you want to do, do it here" method, and it adds alias formatting.

formatValue is called by the base autocomplete binding when `value` is set. So it's called when the selection in the popup changes and the autocomplete controller subsequently sets the input value. (It's also called by urlbar on focus and blur.) And if anyone else sets the value directly, it'll be called then too of course.

But it's not called when you're just typing in the input, so I added a call in urlbar.onResultsAdded, where we were calling highlightSearchAlias, to handle the first heuristic result being added or modified as a result of what you type.

So I think that should cover all possible times we need to highlight the alias?

(2) Just looking at the selected result to get the alias in the input doesn't work all the time. If you click a search tile on newtab and then key around in the popup, sometimes when you key down to the one-off buttons, the input value reverts to the alias (it's the user-typed value I guess?), but at the time that the value setter is called during the revert, the popup's selected index is still the last selection in the popup. IOW the selected index doesn't match up with what's in the input.

Rather than deal with that, it seems safer to call PlacesSearchAutocompleteProvider.findMatchByAlias() on the first word in the input. But that has a couple of problems. It's async, and I noticed there can be a slight delay in the highlighting appearing. Also, we've already gotten the information returned by that method, when we generated the results in the first place, so it seems inelegant to call it again.

So what I've done instead is to cache aliases in the popup when results are added, and then just look up the first word in the input in these aliases. We shouldn't reset this cache until the first result of a new search comes in.

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

--HG--
extra : moz-landing-system : lando
2018-09-06 00:20:45 +00:00
Dana Keeler
36505cb883 bug 1488593 - disable family safety detection by default r=jcj
As of bug 1346297, we don't collect telemetry for the family safety root
feature. At this point, it makes the most sense to disable the entire feature by
default.

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

--HG--
extra : moz-landing-system : lando
2018-09-05 23:58:21 +00:00
Miko Mynttinen
50215c6a21 Bug 1488889 - Pass nsSubDocumentFrame to nsDisplaySubDocument constructor r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D5091

--HG--
extra : moz-landing-system : lando
2018-09-05 23:16:17 +00:00
Emilio Cobos Álvarez
96decc5265 Bug 1488871 - Don't flush layout in AsyncScrollPortEvent::Run. r=mats
I'd claim that we don't need it because, in order to enqueue the event, we
already need to have overflowed the event in a normal reflow.

For now this should not break anything (or anything that wasn't already racy
depending on when we paint).

The only reason the flush is there is according to roc is to decide whether to
fire the event, and because it needs the layout information:

  https://bugzilla.mozilla.org/show_bug.cgi?id=771822#c4

In practice, however, all the layout information we need we have already
computed by the time we post the event.

We don't expose the rects via the event details, which is what could get
out-of-date, so this patch could only mean that we fire the event slightly more
often in cases where people remove stuff from the DOM, right after we do layout
and the content has overflowed. But that's actually pretty unlikely.

This event in general is pretty problematic because it exposes when we do
layout and when we paint, which is not great. Its test coverage is also pretty
low (test_overflow_event.html, which of course still passes without this).

I still want to do this change first since it's trivial to back out if needed.

Then I'd want to change how it fires to match the scrolled area change event
(which would allow us to remove the WillPaintObserver stuff), after verifying
that chrome consumers are still fine with that, and then put behind a pref and
hide it from content, while we leave time for chrome consumers to migrate away
from it, and allow us to revert if something breaks.

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

--HG--
extra : moz-landing-system : lando
2018-09-05 23:18:33 +00:00
Michael Kelly
815045be23 Bug 1476062: Update about:crashes UI. r=mconley,flod
- Make crash submission explicit by triggering it via a button instead of by
  clicking on the crash ID link.
- Replace the single "Remove All Reports" button with two "Clear All" buttons,
  one for each category of crashes.
- Add a "View" button instead of making crash IDs links to make it explicit that
  you are viewing crash data and not submitting it.

Remove implicit dependence of the order of crash IDs in about:crashes test.

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

--HG--
extra : moz-landing-system : lando
2018-09-05 22:46:47 +00:00
Tiberius Oros
a325c6ef11 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-09-06 01:27:49 +03:00
Andreea Pavel
36c5e5b56a Backed out changeset df1f14eb13ef (bug 1488593) for build bustages on a CLOSED TREE 2018-09-06 01:17:56 +03:00
Dana Keeler
8f28b1fc59 bug 1488593 - disable family safety detection by default r=jcj
As of bug 1346297, we don't collect telemetry for the family safety root
feature. At this point, it makes the most sense to disable the entire feature by
default.

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

--HG--
extra : moz-landing-system : lando
2018-09-05 20:05:11 +00:00
Andreea Pavel
325a1ad6ad Backed out changeset af8353a3ecbc (bug 1463048) for causing Bug 1488827 a=backout 2018-09-05 21:13:13 +03:00
Dana Keeler
3c7bb27e9f bug 1487258 - load enterprise roots on a background at startup r=jcj
Loading enterprise roots could potentially take a while, so we certainly
shouldn't do it on the main thread at startup. Note that this doesn't address
the case where a user enables the feature while Firefox is running. This isn't
great but since it's an about:config preference rather than a first-class
preference exposed in about:preferences, we can probably get away with it for
now.

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

--HG--
extra : moz-landing-system : lando
2018-09-05 17:15:53 +00:00
Emilio Cobos Álvarez
a1d92f3584 Bug 1488414 - Add a test for perspective function interpolation. r=hiro
Differential Revision: https://phabricator.services.mozilla.com/D5030

--HG--
extra : moz-landing-system : lando
2018-09-05 21:18:03 +00:00
Matt Howell
39c00aeec5 Bug 1488857 - Correctly detect the current dev edition version for showing stub installer profile reset prompts. r=agashlin
Also remove a useless line that looks like some debugging code I accidentally left in.

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

--HG--
extra : moz-landing-system : lando
2018-09-05 20:55:04 +00:00
Rob Wood
67f06625a7 Bug 1461422 - Remove raptor/setup.py r=egao
Differential Revision: https://phabricator.services.mozilla.com/D5076

--HG--
extra : moz-landing-system : lando
2018-09-05 20:19:43 +00:00
Mark Striemer
47e85ff68e bug 1483598 - Match system and user extension add/remove page action strings r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D5069

--HG--
extra : moz-landing-system : lando
2018-09-05 19:17:40 +00:00