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

645492 Коммитов

Автор SHA1 Сообщение Дата
Ehsan Akhgari aeca5512d1 Bug 1535877 - Fail explicitly when creating a second instance of the effective TLD service; r=nika
Differential Revision: https://phabricator.services.mozilla.com/D25237
2019-04-02 10:33:50 -04:00
Mike Hommey b23835262f Followup for bug 1538060 - Unbust OSX ccov builds. r=me,a=CristianB
We rename the gcov_flush patch to force a rebuild of clang with the
updated patch.
2019-04-02 22:41:59 +09:00
Timothy Nikkel cf39adc377 Bug 1540908. If the layer manager revokes a transaction id then revert the last stored transaction id too. r=mattwoodrow
This prevents calls to nsPresContext::NotifyInvalidation from using a transaction id that has already been revoked.

Android does "repeat" transactions, where one EndTransaction call results in two transactions. The first updates the "critical" area of painted content (immediately visible). The second updates the rest of the display port.

What happens in the specific failing test that triggered this is the first transaction results in invalidations from layer tree invalidation. The second transaction nothing has changed, so it gets revoked. When EndTransaction returns to the nsDisplayList code and calls nsPresContext::NotifyInvalidation it uses the last transaction id stored on the layer manager. But this has already been revoked.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 12:08:21 +00:00
J.C. Jones aaa18d99e7 Bug 1541085 - Web Authentication - Only reset mTransaction on cycle collection r=keeler
This stack is pretty clear that calling StopListeningForVisibilityEvents
(via ClearTransaction) is a no-go from the cycle collector. We need to instead
just do the minimum version of bug 1540378, just reset mTransaction and move on.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 17:56:47 +00:00
Lina Cambridge 2276deaa8d Bug 1539697 - Report more detailed errors in the mozStorage Rust binding. r=mak,tcsc
The `nsresult` codes that mozStorage returns are often too generic. For
example, `NS_ERROR_FAILURE` might be anything from a SQL syntax error
to an invalid column name in a trigger.

This commit adds a `Conn::call_and_wrap_error` helper that checks the
last SQLite error, and returns that instead of `nsresult`. Not all
errors are SQLite errors, however, so we only use this for mozStorage
methods that return `convertResultCode`.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 16:56:41 +00:00
Henrik Skupin 75bafbf6b3 Bug 1504308 - [mach] Pass path to Python interpreter to python-tests. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D25760

--HG--
extra : moz-landing-system : lando
2019-04-02 15:26:39 +00:00
Michael Kaply 2188321ed5 Bug 1491046 - Allow a whitelist of preferences via policy. r=Felipe,flod
Differential Revision: https://phabricator.services.mozilla.com/D25685

--HG--
extra : moz-landing-system : lando
2019-04-02 18:42:24 +00:00
J.C. Jones dee2fdd745 Bug 1540658 - Web Authentication - U2FTokenManager must obey the IPC state machine r=keeler
In Bug 1448408 ("Don't listen to visibility events"), I changed `U2FTokenManager::
ClearTransaction` to send aborts, to handle the new visibility states. However,

`WebAuthnTransactionParent::ActorDestroy` is called at the conclusion of IPC
shutdown, which calls `MaybeClearTransaction` in `U2FTokenManager`, which calls
ClearTransaction, which then tries to send an Abort, which is a state machine
failure since we just shut the IPC down.

This patch creates a new `AbortOngoingTransaction` method which is used
to send the aborts instead of shoehorning that into `ClearTransaction`, reverting
`ClearTransaction` back to the prior form, and instead changes `Register` and
`Sign` to call the new method.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 18:26:38 +00:00
Nicolas Chevobbe ad4932c97a Bug 1540625 - Fix isInWarningGroup invalid PropTypes. r=Honza.
The propType is changed to *not* required as the function is
only passed when the grouping pref is true.

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

--HG--
extra : moz-landing-system : lando
2019-04-02 08:51:30 +00:00
Brindusan Cristian 44a2124609 Merge autoland to mozilla-central. a=merge 2019-04-02 11:32:59 +03:00
Jordan Lund 7d91acd0c9 Bug 1540262 - increase UV chunks from 12 to 16, r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D25673

--HG--
extra : moz-landing-system : lando
2019-04-01 23:27:28 +00:00
Chris AtLee e779730f54 Bug 1539903: Use linux worker types for android jobs r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D25272

--HG--
extra : moz-landing-system : lando
2019-04-02 16:50:36 +00:00
Sebastian Streich 879635b243 Bug 1539853 - Throw Exceptions on null Principal within SpeculativeConnectInternal and Handle on Callsite r=ckerschb,Gijs
***
++Linting

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

--HG--
extra : moz-landing-system : lando
2019-04-02 16:36:09 +00:00
Nicolas B. Pierron 65c7dcde2a Bug 1530351 - GenerateProfilerExit frame use 64-bits math to remove the rectifier frame size. r=sstangl
Differential Revision: https://phabricator.services.mozilla.com/D25755

--HG--
extra : moz-landing-system : lando
2019-04-02 15:44:58 +00:00
Tarek Ziadé fbf4fdacfb Bug 1527620 - Add youtube streaming tests - r=whimboo
This patch introduces a new marionette media test along
with a Youtube test.

To run the Youtube streaming test locally:

./mach marionette-test dom/media/test/marionette/test_youtube.py -vv --gecko-log -

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

--HG--
extra : moz-landing-system : lando
2019-04-02 15:09:47 +00:00
Chris AtLee 66abd591ad Bug 1539264: Enable caches for mingwclang builds r=glandium,tomprince
Differential Revision: https://phabricator.services.mozilla.com/D24973

--HG--
extra : moz-landing-system : lando
2019-04-02 16:31:05 +00:00
Nico Grunbaum 8c19e6d0db Bug 1534466 - implement getContributingSources and getSynchronizationSources for video r=jib
Bug 1534466 - P1 refactor RtpSourceObserver to accept RTPHeader

Bug 1534466 - P2 Add RtpSourceObserver to VideoConduit

Bug 1534466 - P3 Update WPT ini to reflect newly passing tests

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

--HG--
extra : moz-landing-system : lando
2019-04-01 21:22:42 +00:00
Yura Zenevich b0899e3156 Bug 1538281 - make tree view row keyboard navigation consistent with other shared components. r=nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D24538

--HG--
extra : moz-landing-system : lando
2019-04-03 14:36:42 +00:00
Ehsan Akhgari 84b5c672d0 Bug 1533584 - Enable capping the maximum life-time of client-side cookies to seven days on Nightly; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D24098

--HG--
extra : moz-landing-system : lando
2019-04-03 14:32:22 +00:00
Ehsan Akhgari 2b9f54347c Bug 1498102 - Ensure that rejection of the promise created in serviceWorkerScriptCache::PurgeCache isn't visible on the console; r=asuth
Differential Revision: https://phabricator.services.mozilla.com/D25824

--HG--
extra : moz-landing-system : lando
2019-04-02 19:56:27 +00:00
Ehsan Akhgari 42c36ef9a6 Bug 1541250 - Make sure /webdriver/tests/get_named_cookie/get.py does not depend on the value of the privacy.documentCookies.maxage pref; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D25879

--HG--
extra : moz-landing-system : lando
2019-04-03 05:17:50 +00:00
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