Commit Graph

645290 Commits

Author SHA1 Message Date
Christoph Kerschbaumer
6094ee4dde Bug 1541161: Use MOZ_DIAGNOSTIC_ASSERT and return error in loadinfo is null within NewChannelFromURIWithProxyFlagsInternal. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D25917

--HG--
extra : moz-landing-system : lando
2019-04-03 12:51:51 +00:00
Mike Conley
f862af9fde Bug 1540150 - Make it impossible to enter the native drag-drop loop in test automation. r=NeilDeakin
Differential Revision: https://phabricator.services.mozilla.com/D25428

--HG--
extra : moz-landing-system : lando
2019-04-03 14:20:04 +00:00
Léo Paquet
13ed118524 Bug 1324548 - Add MediaStreamTrackAudioSourceNode. r=pehrsons,baku
MozReview-Commit-ID: IdVqfNigMyu

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

--HG--
extra : moz-landing-system : lando
2019-04-03 14:00:28 +00:00
Paul Adenot
d23acbb4c9 Bug 1324548 - Tests for MediaStreamTrackAudioSourceNode. r=pehrsons
Differential Revision: https://phabricator.services.mozilla.com/D16066

--HG--
extra : moz-landing-system : lando
2019-04-02 15:26:11 +00:00
Matthew Gaudet
6035570881 Bug 1536768 - Check completeness of FunctionDispatch without fallbacks r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D25456

--HG--
extra : moz-landing-system : lando
2019-04-03 14:05:17 +00:00
Matthew Gaudet
c2c31c421b Bug 1536768 - Check completeness of ObjectGroupDispatch in opt builds r=jandem
Differential Revision: https://phabricator.services.mozilla.com/D25304

--HG--
extra : moz-landing-system : lando
2019-04-03 14:05:12 +00:00
Matthew Gaudet
e11b2b7ba3 Bug 1536880 - Add accessors to ReceiverGuard, and assert invariants r=iain
Differential Revision: https://phabricator.services.mozilla.com/D25643

--HG--
extra : moz-landing-system : lando
2019-04-02 21:06:35 +00:00
Matthew Gaudet
0a91ab062e Bug 1536880 - Clean out HeapReceiverGuard r=iain
Differential Revision: https://phabricator.services.mozilla.com/D25642

--HG--
extra : moz-landing-system : lando
2019-04-02 21:06:31 +00:00
Luke Wagner
5f00552ff7 Bug 1539865 - Baldr: lower baseline tiering threshold to 10ms (r=lth)
Differential Revision: https://phabricator.services.mozilla.com/D25421

--HG--
extra : moz-landing-system : lando
2019-04-03 05:36:12 +00:00
Anthony Aillerie
5d3499c4a9 Bug 1540771 - LIR.cpp: Remove nested redundant #ifdef r=nbp
Remove nested redundant #ifdef

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

--HG--
extra : moz-landing-system : lando
2019-04-03 09:35:19 +00:00
Kartikaya Gupta
5ebdd74a25 Bug 1532257 - Remove frequently-failing assertion. r=mattwoodrow
We're gonna delete all this code imminently anyway.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 13:42:56 +00:00
Thomas Wisniewski
78b73b590c Bug 1538456 - Don't fire an XHR HEADERS_RECEIVED event in the event of a network error; r=baku
Don't fire an XHR HEADERS_RECEIVED event in the event of a network error

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

--HG--
extra : moz-landing-system : lando
2019-04-03 05:19:06 +00:00
Suriyaa Sundararuban
0b813bfe94 Bug 1534001 - Add page title to about:config r=Gijs,flod
The about:config site doesn't have an appropriate page title.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 13:38:17 +00:00
Khyati Agarwal
f2c8dd895b bug 1469694 - GeckoChildProcessHost should check the return value of LaunchApp r=jld
Differential Revision: https://phabricator.services.mozilla.com/D24837

--HG--
extra : moz-landing-system : lando
2019-04-01 21:58:23 +00:00
Ian Moody
e6abe56fc4 Bug 1539177 - netwerk/ manual ESLint no-throw-literal fixes. r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D25653

--HG--
extra : moz-landing-system : lando
2019-04-02 13:33:42 +00:00
Khyati Agarwal
7907f0c225 bug 1529981 - ArenasToUpdate::shouldProcess is dead code r=sfink
ArenasToUpdate::shouldProcessKind() removed

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

--HG--
extra : moz-landing-system : lando
2019-04-03 12:08:35 +00:00
Jonas Allmann
aaa0f447f3 Bug 1498566, Remove custom event handling code from dialog.xml, r=Gijs
Remove the now obsolete event handling code including `new Funcition`. Remove dialog.xml from eval() whitelist.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 08:41:29 +00:00
Robin Templeton
0093033657 bug 1456569 - Implement BigInt64 and BigUint64Array. r=wingo,jwalden,sfink
Differential Revision: https://phabricator.services.mozilla.com/D12581

--HG--
extra : moz-landing-system : lando
2019-04-02 17:11:13 +00:00
Ryan VanderMeulen
cb629bb8d0 Bug 1540770 - Update HarfBuzz to version 2.4.0. r=jfkthame
Differential Revision: https://phabricator.services.mozilla.com/D25659

--HG--
extra : moz-landing-system : lando
2019-04-03 12:49:51 +00:00
Alex Gaynor
30889844e7 Bug 1540897 - make the ByteSlice APIs in webrender's bindings fully sound; r=brennie
Differential Revision: https://phabricator.services.mozilla.com/D25788

--HG--
extra : moz-landing-system : lando
2019-04-03 02:39:53 +00:00
Hector Zhao
b3c3b44b58 Bug 1540017 - Update Baidu searchplugin with new code. r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D25339

--HG--
extra : moz-landing-system : lando
2019-04-03 02:18:33 +00:00
Masayuki Nakano
4204b59128 Bug 1540963 - Make nsIControllerCommandTable builtinclass and make its users use nsControllerCommandTable directly r=bzbarsky
`nsIControllerCommandTable` isn't implemented with JS even in comm-central nor
BlueGriffon.  Therefore, we can make it a builtinclass.

Additionally, it's inherited only by nsControllerCommandTable.  So, all users
in C++ can treat the concrete class directly.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 12:52:14 +00:00
Masayuki Nakano
8329e8382e Bug 1540962 - Make nsICommandManager builtinclass and make users use nsCommandManager directly r=bzbarsky
`nsICommandManager` isn't implemented by JS even in comm-central nor
BlueGriffon.  Therefore, we can make it a builtinclass.

Additionally, this patch makes all users in C++ use `nsCommandManager` which is
the only implementation of `nsICommandManager`.  This avoids QI from
`nsICommandManager` to `nsPICommandUpdater`.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 12:51:38 +00:00
Dhyey Thakore
ce20e0f1c1 Bug 1003153 - Add keyboard shortcut to hide sidebar. r=Honza
Differential Revision: https://phabricator.services.mozilla.com/D22129

--HG--
extra : moz-landing-system : lando
2019-04-03 12:51:53 +00:00
Jan de Mooij
b05db42180 Bug 1540944 - Get new group from the correct realm in SetProto. r=luke
Differential Revision: https://phabricator.services.mozilla.com/D25803

--HG--
extra : moz-landing-system : lando
2019-04-02 19:41:07 +00:00
Marco Bonardo
b0bdfa84fc Bug 1533683 - Port the fix for Bug 1480349. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D25668

--HG--
extra : moz-landing-system : lando
2019-04-03 12:39:13 +00:00
Masayuki Nakano
9165a150a1 Bug 1540930 - Make nsPresContext use mozilla::PresShell directly rather than via nsIPresShell r=emilio
`nsPresContext` should use `mozilla::PresShell` directly instead of
`nsIPresShell`.  This patch makes it.

Unfortunately, `nsPresContext` and `nsIFrame` have `PresShell()`.  Therefore,
we cannot use `PresShell*` in its methods so that this patch uses `mozilla::`
namespace prefix.

It might be better to rename them as `PresShellPtr()` in another bug.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 12:40:26 +00:00
Sebastian Hengst
310add77cf Bug 1541388 - Remove Array generics from NewTabUtils.jsm. r=dao
Differential Revision: https://phabricator.services.mozilla.com/D25922

--HG--
extra : moz-landing-system : lando
2019-04-03 12:12:34 +00:00
Masayuki Nakano
fefd623c98 Bug 1530188 - Make nsChildView::GetEditorView() use eQueryContentState without flushing layout r=smaug
`nsChildView::GetEditorView()` is called by `TextInputHandlerBase::GetWindowLevel()`
which is called when Cocoa requests window level of focused widget.

It currently gets widget including focused element (e.g., it may be in a XUL
`<panel>`) with `eQueryTextContent` event.  However, it requires only the widget
(i.e., when a XUL `<panel>` has focused element, the widget for the panel).
Therefore, it does not require to flush the layout.

However, on macOS, `ContentEventHandler` always flushes layout even with
`eQueryContentState` which does not require any layout information.  Whether
it requires flushing layout or not is considered with
`WidgetQueryContentEvent::mNeedsToFlushLayout` but this is set to false only
when `IMEContentObserver` notifies widget (and IME) of focus set.  At this
time, only on macOS, IME caches the layout information, for example, the
character coordinates, but we don't have a way to update it.  This is the reason
why we always flush layout on macOS.

Unfortunately, when a menu popup frame is created, widget for the popup is
created synchronously.  Then, Cocoa retrieves window level of the widget including
focused element.  But this is unsafe to flush the layout.  So, we need to stop
flushing layout in this case.

Therefore, this patch moves the `#ifdef` from `TextEvents.h` to
`IMEContentObserver.cpp`, then, makes `nsChildView::GetEditorView()` use
`eQueryContentState` which is the simplest query content event, and finally,
sets `mNeedsToFlushLayout` to `false`.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 10:27:13 +00:00
Emilio Cobos Álvarez
d2005aabce Bug 1535788 - add some includes to fix some builds on automation.
CLOSED TREE
2019-04-03 14:22:11 +02:00
Andreas Tolfsen
828d520cc2 bug 1537770: remote: default RemoteAgentError#notify() to print stack; r=ochameau
When remote/JSONHandler.jsm intercepts errors thrown during the
handling of an HTTP request, it is without except the underlying
cause of the problem you wish RemoteAgentError#notify() to give you.

Under no circumstances are you interested in where the error is re-thrown.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 11:42:08 +00:00
Dimi Lee
594e819bfc Bug 1536380 - update tracking annotation table to use category-based list r=baku
In Bug 1533312, we supported the category-based list for tracking annotation.
We can update the preference now to enable the feature:

base-track-digest256 will be replaced with:
1.ads-track-digest256
2.social-track-digest256
3.analytics-track-digest256

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

--HG--
extra : moz-landing-system : lando
2019-04-03 09:29:33 +00:00
Jan de Mooij
f42c632f54 Bug 1522837 part 16 - Implement pushUint8BytecodeOperandArg and pushUint16BytecodeOperandArg in BaselineInterpreterCodeGen. r=djvj
Differential Revision: https://phabricator.services.mozilla.com/D23299

--HG--
extra : moz-landing-system : lando
2019-03-28 14:05:50 +00:00
Jan de Mooij
72a15183ba Bug 1522837 part 15 - Implement aliased var ops in BaselineInterpreterCodeGen. r=djvj
Differential Revision: https://phabricator.services.mozilla.com/D23298

--HG--
extra : moz-landing-system : lando
2019-04-02 15:32:28 +00:00
Jan de Mooij
2edc0fd24d Bug 1522837 part 14 - Implement JSOP_ENVCALLEE, JSOP_NEWTARGET and JSOP_CHECKLEXICAL in BaselineInterpreterCodeGen. r=djvj
The JSOP_NEWTARGET code for non-arrow functions now uses cmov instead of an if-else. This is
a bit simpler (especially for the interpreter) and shorter and I didn't see any difference
in performance in some Baseline new.target micro-benchmarks.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 07:32:45 +00:00
Masayuki Nakano
e71369edd3 Bug 1540927 - part 2: Make Selection use mozilla::PresShell directly rather than via nsIPresShell r=smaug
This patch makes `Selection` use `mozilla::PresShell` directly.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 07:53:23 +00:00
Masayuki Nakano
daafebb174 Bug 1540927 - part 1: Make nsFrameSelection treat mozilla::PresShell directly rather than via nsIPresShell r=smaug
This patch makes `nsFrameSelection` treat `mozilla::PresShell` directly and
rename `nsFrameSelection::GetShell()` to `nsFrameSelection::GetPresShell()
because of avoiding confusion between `PresShell` vs. `DocShell`.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 07:53:16 +00:00
Bastien Abadie
566eb8e960 Bug 1538770 - Remove _conv_to_abspath from mach static analysis, r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D25769

--HG--
extra : moz-landing-system : lando
2019-04-02 14:11:33 +00:00
Honza Bambas
1296f23329 Bug 1538812 - Remove the dangerous default 'NS_ASSIGNMENT_DEPEND' of argument 'assignment' on NS_NewByteInputStream to let it be defined expicitly and thus visibly, r=michal
Differential Revision: https://phabricator.services.mozilla.com/D25462

--HG--
extra : moz-landing-system : lando
2019-04-03 11:39:41 +00:00
Christoph Kerschbaumer
1b37794a98 Bug 1541168: Remove remaining newChannelFromURI2 appearances. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D25916

--HG--
extra : moz-landing-system : lando
2019-04-03 10:45:48 +00:00
Emilio Cobos Álvarez
d8e2990d8a Bug 1535788 - Make the Document own the StyleSet. r=heycam
This is the last step to be able to call matchMedia on display: none iframes.

This is green, except for some startup preference query tests that I'm going to
address in a blocking bug (making LangGroupFontPrefs global, basically).

The setup is similar to the ShadowRoot one, except we don't eagerly keep the
StyleSet around up-to-date, we only fill it if it ever had a pres context.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 07:02:00 +00:00
Honza Bambas
2b587a5803 Bug 1541105 - Cache2 I/O thread may do excessive number of AddRef/Release calls on queued nsCOMPtr's under a lock, blocking main thread under heavy load; use nsTArray APIs allowing mere move of the elements instead, r=michal,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D25815

--HG--
extra : moz-landing-system : lando
2019-04-03 11:27:28 +00:00
Coroiu Cristina
e77251af23 Backed out changeset d124ebd3b9eb (bug 1538281) for mochitest failures e.g. devtools/client/inspector/extensions/test/browser_inspector_extension_sidebar.js on a CLOSED TREE 2019-04-03 14:32:00 +03:00
Emilio Cobos Álvarez
306bfb3d57 Bug 1541332 - Remove unused setup feature for file records. r=glandium
Seems unused since bug 1426785, looks like.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 07:31:05 +00:00
Jan de Mooij
3bc02af39a Bug 1382650 part 8 - Add a JitOption to disable use of Ion optimization levels. r=nbp
We might uplift these patches to beta. Having a JitOption makes it easier to
turn this off if needed.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 12:34:09 +00:00
Andrea Marchesini
01c18856e4 Bug 1540080 - Execute the canceling runnable after self.close() even when we have sync event loops, r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D25605

--HG--
extra : moz-landing-system : lando
2019-04-02 20:53:16 +00:00
Edwin Gao
f230fa362c Bug 1539522 - skip test_audioContextSuspendResumeClose.html for windows10-aarch64 r=jmaher
Disable this consistently failing test on windows10-aarch64.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 21:47:12 +00:00
Nathan Froyd
7eee5d9139 Bug 1537643 - update cc crate; r=glandium
This update from the official sources brings in the changes that we were
using glandium's fork for, as well as changes enabling us to tweak more
settings on Windows.

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

--HG--
extra : moz-landing-system : lando
2019-04-03 00:06:04 +00:00
Nathan Froyd
1916bd6570 Bug 1525303 - make LazyLogModule::operator LogModule* inline; r=erahm
Testing has determined that doing this has no detrimental size benefit,
and a small positive performance impact.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 20:35:38 +00:00
Mark Banner
b83e4bf42a Bug 1496191 - When test_big_icon is listening for search engine modifications, ensure it QIs the engine to have the proper interface information. r=mikedeboer
Differential Revision: https://phabricator.services.mozilla.com/D25900

--HG--
extra : moz-landing-system : lando
2019-04-03 09:17:40 +00:00