Commit Graph
570058 Commits
Author SHA1 Message Date
Cosmin Sabou 438ab15b79 Merge mozilla-central to mozilla-inbound. 2018-11-28 06:12:39 +02:00
Cosmin Sabou eb21b4eef4 Merge mozilla-inbound to mozilla-central. a=merge 2018-11-28 06:08:19 +02:00
Jason Laster 2ecc9b767f Bug 1510430 - Update Debugger Frontend v104. r=dwalsh 2018-11-27 21:47:47 -05:00
Jason Laster 2902ccf38e Bug 1510048 - Player UI Updates. r=dwalsh
Tags:

Bug #: 1510048

Differential Revision: https://phabricator.services.mozilla.com/D13017
2018-11-27 21:46:20 -05:00
sotaro b229632e35 Bug 1482350 - Enable RGBA8 support of WebRender r=jnicol 2018-11-28 11:44:43 +09:00
Ehsan Akhgari e324edc4f4 Bug 1508472 - Part 2: Second batch of comment fix-ups in preparation for the tree reformat r=sylvestre
This is a best effort attempt at ensuring that the adverse impact of
reformatting the entire tree over the comments would be minimal.  I've used a
combination of strategies including disabling of formatting, some manual
formatting and some changes to formatting to work around some clang-format
limitations.

Differential Revision: https://phabricator.services.mozilla.com/D13073
2018-11-28 00:54:56 +00:00
Michael Cooper 8e2c7d0986 Bug 1440778 - Implement show-heartbeat as internal Normandy action r=Gijs
The original, server-side implementation of this action was at
https://github.com/mozilla/normandy/blob/68d3e55a9d8605bda793620640d074d7e5503e37/client/actions/show-heartbeat/index.js

Differential Revision: https://phabricator.services.mozilla.com/D12345
2018-11-27 21:42:44 +00:00
Dana Keeler 118f2facc9 Bug 1503348 - (3/3) - add support for decoding and verifying Signed Tree Head Data V2 r=jcj
Differential Revision: https://phabricator.services.mozilla.com/D11812
2018-11-27 19:51:56 +00:00
Dana Keeler 521f8eafd4 Bug 1503348 - (2/3) - fix up DecodeInclusionProof to take an Input rather than a Reader r=jcj
DecodeInclusionProof as originally implemented used the wrong convention - its
input argument should have always been an Input rather than a Reader.

Differential Revision: https://phabricator.services.mozilla.com/D11811
2018-11-27 18:58:11 +00:00
Dana Keeler 00c8a70e29 Bug 1503348 - (1/3) remove obsolete SignedTreeHead definitions and tests r=jcj
The original implementation of Certificate Transparency included a definition
for the first version of the Signed Tree Head data structure but it was never
actually used. Now that we're implementing Binary Transparency, we need to
implement support for Signed Tree Head V2. Because the focus and approach are
different, the first step is to remove the original implementation.

Differential Revision: https://phabricator.services.mozilla.com/D11810
2018-11-27 18:58:07 +00:00
Marco Bonardo 600ea1aba1 Bug 1510281 - Use a private and isolated context for search suggestions. r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D13082
2018-11-27 17:18:28 +00:00
Mike Conley a91cb47c78 Bug 1507536 - Set skipintoolbarset="true" on some titlebar items to avoid redundant context menu items. r=dao
This adds a skipintoolbarset to the toolbar-menubar spacer and the titlebar-buttonbox-container
hbox to avoid a case where an exception can be thrown from CustomizableUI.isWidgetRemovable,
which expects all direct descendants of toolbars to either have an ID, be one of a special
set of node types, or have skipintoolbarset="true" set on it.

Differential Revision: https://phabricator.services.mozilla.com/D13147
2018-11-27 22:33:33 +00:00
Alexandre Poirot 4d30293089 Bug 1509315 - Make the console test helper use getTab instead of listTabs. r=yulia
Ideally, it would use TargetFactory. But as that's mochitest chrome,
we don't have natural access to gBrowser/firefox tab.

MozReview-Commit-ID: 4nrfFZu6jAU

Depends on D12734

Differential Revision: https://phabricator.services.mozilla.com/D12735
2018-11-27 21:48:12 +00:00
Alexandre Poirot 28dcb11989 Bug 1509315 - Refactor console attachConsole test helpers to async. r=yulia
MozReview-Commit-ID: 2jIm73AiIPN

Depends on D12733

Differential Revision: https://phabricator.services.mozilla.com/D12734
2018-11-27 21:48:05 +00:00
Alexandre Poirot d06be892b2 Bug 1509315 - Remove unecessary calls to listTabs. r=yulia
These tests are calling listTabs, but that is no longer necessary thanks to rootForm
being automatically managed within RootFront.

MozReview-Commit-ID: AmC6dTIJjiY

Depends on D12732

Differential Revision: https://phabricator.services.mozilla.com/D12733
2018-11-27 21:48:03 +00:00
Alexandre Poirot b402ba2756 Bug 1509315 - Remove leftover from debugger head.js file. r=yulia
I also removed the get root form leftover.

MozReview-Commit-ID: DxPwG9a5YAG

Depends on D12731

Differential Revision: https://phabricator.services.mozilla.com/D12732
2018-11-27 21:48:01 +00:00
Alexandre Poirot 0205bcb97a Bug 1509315 - Use TargetFactory.forTab for creating targets in tests. r=yulia
There is 4 patterns here:
* Tests using attachThreadActorForUrl like event-listeners ones. I augmented this helper method to call TargetFactory.
* Tests using attachTargetActorForUrl like debugger-statement, dbg-navigation and target-scoped-actor. Uses TargetFactory directly.
* Tests using connectDebuggerClient like navigateEvents and spaw_actor_in_parent. Uses TargetFactory directly.
* All the others, where creating DebuggerClient on their own, and calling listTabs+attachTarget. They now use TargetFactory directly.

A note about webconsole-helpers, only consoleClient attribute was used from tests using this helper.
Also, in various tests I remove the call to client.destroy, that's because shared-head will
close all the tabs/toolboxes and it should lead to target/client destruction.
Finally, debugger-statement now request the thread actor via the client instead of manual request,
it should help the refactoring to a front!

MozReview-Commit-ID: 2ah4UmSjuoi

Depends on D12730

Differential Revision: https://phabricator.services.mozilla.com/D12731
2018-11-27 21:47:59 +00:00
Alexandre Poirot 2c7d0fee4e Bug 1509315 - Pass the full target form to all BrowsingContextTargetFront instances. r=yulia
For now, we only pass { actor } for all tab target fronts created via DebuggerClient.attachTarget,
whereas parent process target fronts were passing the full form from RootFront.getProcess.

MozReview-Commit-ID: 1H2NxFv8glY

Differential Revision: https://phabricator.services.mozilla.com/D12730
2018-11-27 21:47:52 +00:00
Dragana Damjanovic 0286a6ce7d Bug 1510307 - Fix the comment next to esni pref. r=JuniorHsu
Differential Revision: https://phabricator.services.mozilla.com/D13083
2018-11-27 17:09:58 +00:00
Dragana Damjanovic a878910e3b Bug 1497868 - In nsFtp, close data pipe as well. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D12740
2018-11-27 19:48:20 +00:00
Randall Barker 6051bf8e00 Bug 1503039 - Add tests for GeckoView MediaElement r=snorp,esawin,imanol
Differential Revision: https://phabricator.services.mozilla.com/D10137
2018-11-27 21:58:46 +00:00
Dão Gottwald 29b000b09b Bug 1509309 - Move most browser-*.js scripts from global-scripts.inc to browser.xul. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D13064
2018-11-27 21:55:21 +00:00
Erica Wright 7708495769 Bug 1509558 - Trackers sub-panel category menu is correct in RTL mode. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D13114
2018-11-27 21:54:02 +00:00
Cosmin Sabou 7780915eb5 Merge mozilla-central to autoland. 2018-11-28 00:12:05 +02:00
Cosmin Sabou 93b37ad754 Backed out 2 changesets (bug 1508472) for causing build bustages on JobScheduler_posix.cpp. CLOSED TREE
Backed out changeset af951294cf96 (bug 1508472)
Backed out changeset 2320933cb7bc (bug 1508472)
2018-11-28 00:08:11 +02:00
Cosmin Sabou 2393d76bf0 Backed out changeset fd00df2e0aba (bug 1507536) for causing bug 1509711 as mconley requested. a=backout 2018-11-27 23:56:47 +02:00
Timothy Guan-tin Chien bcdbf931d9 Bug 1507894 - Enable UA Widget in beta/release r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D13014
2018-11-27 21:00:07 +00:00
Sylvestre Ledru 6e6abbdf2e Bug 1508472 - Part 3: Third batch of comment fix-ups in preparation for the tree reformat (layout/) r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D13125
2018-11-27 21:39:24 +00:00
Ehsan Akhgari 4856e65777 Bug 1508472 - Part 2: Second batch of comment fix-ups in preparation for the tree reformat r=sylvestre
This is a best effort attempt at ensuring that the adverse impact of
reformatting the entire tree over the comments would be minimal.  I've used a
combination of strategies including disabling of formatting, some manual
formatting and some changes to formatting to work around some clang-format
limitations.

Differential Revision: https://phabricator.services.mozilla.com/D13073
2018-11-27 21:36:18 +00:00
Henrik Skupin c5ddd8b46e Bug 1298233 - [firefox-ui-tests] Skip TestAppInfo.test_valid_properties for artifact builds. r=ato
Differential Revision: https://phabricator.services.mozilla.com/D13093
2018-11-27 20:08:18 +00:00
Kartikaya Gupta a339846a36 Bug 1510026 - Send a sync IPC round-trip to the compositor after every crashtest. r=mattwoodrow
This sends a sync IPC message to the compositor after each crashtest, to
ensure that any stuff inflight in the compositor settles down. In
particular this should round-trip through all of the relevant compositor
threads (i.e. for WebRender it should ensure the scene builder, render
backend, and renderer threads all get flushed).

Differential Revision: https://phabricator.services.mozilla.com/D13033
2018-11-27 19:46:23 +00:00
WR Updater Bot 9ba92d847c Bug 1510221 - Re-generate FFI header. r=kats
Depends on D13111

Differential Revision: https://phabricator.services.mozilla.com/D13112
2018-11-27 19:20:07 +00:00
WR Updater Bot 3b2ab7fddb Bug 1510221 - Update webrender to commit 195582a8dc5b9c6d26d54ce8d70060ccc8f423d8 (WR PR #3337). r=kats
https://github.com/servo/webrender/pull/3337

Differential Revision: https://phabricator.services.mozilla.com/D13111
2018-11-27 19:19:54 +00:00
Alexandre Poirot 95da8a5800 Bug 1506546 - Remove unused AddonClient module. r=jdescottes
MozReview-Commit-ID: ExKMirBQJ3K

Depends on D12578

Differential Revision: https://phabricator.services.mozilla.com/D12951
2018-11-27 19:16:34 +00:00
Alexandre Poirot 67bb5020f7 Bug 1506546 - Use protocol.js to fetch WebExtension target actor. r=yulia
We were dipatching the "connect" request manually, whereas we should be using
protocol.js specifications. It also help getting rid of another use of "form"
instead of "front"/activeTab in Target class.

MozReview-Commit-ID: IOH4mDprAVL

Depends on D12577

Differential Revision: https://phabricator.services.mozilla.com/D12578
2018-11-27 19:16:51 +00:00
Alexandre Poirot 3e32f9edd3 Bug 1506546 - Refactor about:debuggings. r=yulia,jdescottes
I did a dedicated patch for converting both about:debuggings as it is slightly more
complex as we have to tweak redux data, wrappers, mocks.
This patch also convert a manual "reload" request being done by about:debugging
and instead use protocol.js front to do it.
Also, I moved isLegacyTemporaryExtension to the front as it depends on accessing the form
and it should be better to keep form processing to the fronts, if possible.

MozReview-Commit-ID: 16qZkuCBp9b

Depends on D12576

Differential Revision: https://phabricator.services.mozilla.com/D12577
2018-11-27 19:17:11 +00:00
Alexandre Poirot 6d6a725f9b Bug 1506546 - Refactor listAddons call sites. r=yulia
Adapt to the new returned value of listAddons
and also always call it from RootFront instead of DebuggerClient.
Fix the spec in order to expose reload on the front (it was a miss from a previous patch).

MozReview-Commit-ID: AQ5EOQEqnxX

Depends on D12575

Differential Revision: https://phabricator.services.mozilla.com/D12576
2018-11-27 19:17:48 +00:00
Alexandre Poirot f2cc564831 Bug 1506546 - Implement RootFront.getAddon and use it to retrieve a single AddonTargetFront. r=yulia
MozReview-Commit-ID: nWTkfbF9qb

Depends on D12574

Differential Revision: https://phabricator.services.mozilla.com/D12575
2018-11-27 19:18:06 +00:00
Alexandre Poirot 05559ce854 Bug 1506546 - Change the spec type of listAddons and accomodate using the front rather than the form. r=yulia
MozReview-Commit-ID: 4MAjszUiGUZ

Depends on D12573

Differential Revision: https://phabricator.services.mozilla.com/D12574
2018-11-27 19:18:28 +00:00
Alexandre Poirot 2417c51df4 Bug 1506546 - Refactor getAddonActorForId test helper. r=yulia
MozReview-Commit-ID: A7JxzO7rhhe

Differential Revision: https://phabricator.services.mozilla.com/D12573
2018-11-27 19:18:46 +00:00
Rob Thijssen fe0f9783f3 Bug 1509973 - move reftest from gecko-t-win10-64-hw to gecko-t-win10-64-gpu r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D12972
2018-11-27 16:27:32 +00:00
Wes Kocher e13fb10340 Bug 1506132 - Only __getitem__() in dicts that include the desired key to avoid printing tracebacks r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D12998
2018-11-27 13:22:06 +00:00
Erica Wright d898a61dbd Bug 1507981 - Land string early, awaiting decision on the rest of the patch. r=flod
Differential Revision: https://phabricator.services.mozilla.com/D12694
2018-11-27 19:04:32 +00:00
Raphael Pierzina 9e4e2f7abd Bug 1509915 - Add helper function for waiting for a single ping to telemetry-tests-client; r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D13100
2018-11-27 18:55:09 +00:00
Ekanan Ketunuti 15c50a2fd9 Bug 1509577 - Add words to en-US dictionary. r=ehsan 2018-11-27 18:09:38 +07:00
arthur.iakab 69725c7dd7 Backed out 13 changesets (bug 1500948, bug 1509362, bug 1509591, bug 1448426, bug 1500949, bug 1487249, bug 1509930, bug 1500950, bug 1500944) for causing crashes and assertion failures on PBackgroundParent.cpp:696 CLOSED TREE
Backed out changeset c3fe435e473a (bug 1509362)
Backed out changeset 6494840edc17 (bug 1509591)
Backed out changeset 123b5d5a3637 (bug 1509591)
Backed out changeset bce195f98895 (bug 1509930)
Backed out changeset 66db13126408 (bug 1500950)
Backed out changeset 3b5fffae2d2b (bug 1500949)
Backed out changeset 71c3b3677db8 (bug 1500948)
Backed out changeset 784b3b56e2ab (bug 1500944)
Backed out changeset 0bad27401ddb (bug 1500944)
Backed out changeset e0f95dd96d54 (bug 1448426)
Backed out changeset c60fa11538db (bug 1487249)
Backed out changeset 0190d4ffa54f (bug 1487249)
Backed out changeset 3cd10aba9130 (bug 1487249)
2018-11-28 02:57:32 +02:00
arthur.iakab bd013aab2a Backed out 4 changesets (bug 1477117) for causing hazard build bustage on payments/PaymentRequest.cpp:1066 CLOSED TREE
Backed out changeset 3b473ca68a57 (bug 1477117)
Backed out changeset 8ffc94b44c3e (bug 1477117)
Backed out changeset ddaac3335514 (bug 1477117)
Backed out changeset 1809212f5f29 (bug 1477117)
2018-11-28 02:28:36 +02:00
Jeff Gilbert df9646499e Bug 1510467 - Preserve purposely-formatted code from clang-format. (webgl, gfx/gl)
MozReview-Commit-ID: 2U2oqQ53nTZ
2018-11-27 15:26:46 -08:00
Nika Layzell 95e496e7a5 Bug 1509362 - Don't crash when constructing actor during content shutdown, r=jld
When shutting down a content process, we call `Close` on the
`IToplevelProtocol`. This causes the MessageChannel to be `Close`-ed,
which in turn sends a `GOODBYE_MESSAGE`:
https://searchfox.org/mozilla-central/rev/876022232b15425bb9efde189caf747823b39567/ipc/glue/MessageChannel.cpp#2852

This message is intercepted on the I/O thread in the content process,
before any code is informed in content, and used to set the
`mChannelState` property to `ChannelClosing`:
https://searchfox.org/mozilla-central/rev/876022232b15425bb9efde189caf747823b39567/ipc/glue/MessageChannel.cpp#1176

Once this state has been set, which is performed as soon as the
message is received, whether or not other messages have been processed
yet, no messages can be sent back to the parent process. This is
usually what causes the 'Too late to send/recv' message spam in the
console, as we're still trying to send messages at this time.

Usually this is fine - the message send fails, but we gracefully
recover, and the process begins shutting down like normal.
Unfortunately, child actor constructors currently have code
automatically generated in them which causes a process crash if the
send fails. As it's impossible for the main thread to know that the
channel has been closed ahead of time (due to this happening
out-of-band), we can then cause random content process crashes
during shutdown due to actor construction.

Unfortunately, we can't just destroy the actor, as our caller may
(and often do) depend on the actor reference they gave us still being valid
after calling Send*Constructor. Fortunately, if a message send failed, it means
we're in the process of being shut down.

This patch handles this by ignoring ctor send errors, and treating them like
messages which successfully were queued to send, but got lost due to the other
side hanging up. The actor will be gracefully destroyed in DestroySubtree when
its manager is destroyed.

Differential Revision: https://phabricator.services.mozilla.com/D12695
2018-11-27 18:09:54 -05:00
Nika Layzell 4b3d4956f9 Bug 1509591 - Part 2: Remove now-unnecessary mIPCOpen variable, r=mccr8
This should eliminate most variables which can be replaced with IPCOpen().

Differential Revision: https://phabricator.services.mozilla.com/D12957
2018-11-27 18:09:51 -05:00