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

636738 Коммитов

Автор SHA1 Сообщение Дата
Dave Townsend 0fc1c65c7c Bug 1522253: about:newinstall should get its configuration via RemotePageManager rather than query params. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D19413

--HG--
extra : moz-landing-system : lando
2019-02-13 16:57:35 +00:00
Dave Townsend a111574927 Bug 1522253: Add a standard mechanism for requesting data from the other process. r=Gijs
As we add more specific methods to RemotePageManager some of them will have to
call the main process to get the results. This adds a standard mechanism for
doing so. Calling sendRequest will return a promise that is resolved or rejected
when the main process responds.

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

--HG--
extra : moz-landing-system : lando
2019-02-13 16:57:28 +00:00
Julian Descottes 5185592b70 Bug 1500074 - Add metrics test for jsdebugger;r=ochameau
Depends on D19639

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

--HG--
rename : devtools/client/framework/test/metrics/browser_metrics_netmonitor.ini => devtools/client/framework/test/metrics/browser_metrics_debugger.ini
rename : devtools/client/framework/test/metrics/browser_metrics_netmonitor.js => devtools/client/framework/test/metrics/browser_metrics_debugger.js
extra : moz-landing-system : lando
2019-02-13 15:46:38 +00:00
Julian Descottes d5da568b98 Bug 1500072 - Add metrics test for netmonitor;r=ochameau
Depends on D19638

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

--HG--
rename : devtools/client/framework/test/metrics/browser_metrics_webconsole.ini => devtools/client/framework/test/metrics/browser_metrics_netmonitor.ini
rename : devtools/client/framework/test/metrics/browser_metrics_webconsole.js => devtools/client/framework/test/metrics/browser_metrics_netmonitor.js
extra : moz-landing-system : lando
2019-02-13 15:44:43 +00:00
Julian Descottes e48b6c1ce6 Bug 1500072 - Add browserLoader reference on window when flags.testing is true;r=ochameau
Depends on D19582

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

--HG--
extra : moz-landing-system : lando
2019-02-13 15:44:05 +00:00
Julian Descottes d4917c8774 Bug 1500072 - Add a shared helper to record metrics in tests;r=ochameau
Depends on D19364

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

--HG--
extra : moz-landing-system : lando
2019-02-13 15:43:13 +00:00
Dave Townsend 6d2f06a63f Bug 1527374: Always remove --allow-downgrade from the command line. r=bzbarsky
Currently we only check and remove the --allow-downgrade command line argument
if the run is actually a downgrade. When we don't the --allow-downgrade argument
makes it to Firefox's default command line handler which doesn't know how to
handle it and so ignores it and the next argument on the command line.

Flipping the ordering of the check makes sure we always remove the argument.

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

--HG--
extra : moz-landing-system : lando
2019-02-13 16:36:02 +00:00
Junior Hsu 7a39bec13f Bug 1524264 - move noproxy textbox lower to hint as a global effect r=ewright,flod
Differential Revision: https://phabricator.services.mozilla.com/D18981

--HG--
extra : moz-landing-system : lando
2019-02-13 10:46:19 +00:00
Christian Holler 40d009a2a5 Bug 1526328 - Disable Telemetry recording in FUZZING builds. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D19359

--HG--
extra : moz-landing-system : lando
2019-02-13 16:16:32 +00:00
Bryce Van Dyk db46b71d9d Bug 1513651 - Add gtest for MP4 metadata telemetry probes. r=chutten
Add a gtest to cover the new telemetry probes which collect info on sample
description entries.

Add a new init segment to those already in our gtests. This segment has data for
one video track, and covers the case where multiple sample description entries
are present for a single track. In this case, because separate sample
description entries are used for unencrypted and encrypted samples.

For reference, the test init segment was created from our existing bipbop using
shaka-packager via the following command (non-init segments were discarded and
the output was renamed):

packager-win.exe
in=bipbop.mp4,stream=video,init_segment=bipbop_cbcs_video_init.mp4,segment_template=bipbop_cbcs_video_$Number$.m4s
--protection_scheme cbcs --enable_raw_key_encryption  --keys
label=:key_id=7e571d047e571d047e571d047e571d21:key=7e5744447e5744447e5744447e574421
--iv 11223344556677889900112233445566 --generate_static_mpd --mpd_output
bipbop_cbcs.mpd

Depends on D14426

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

--HG--
extra : moz-landing-system : lando
2019-02-11 20:15:22 +00:00
Bryce Van Dyk 3a0829bb8d Bug 1513651 - Collect telemetry on sample description box entries when parsing mp4s. r=jya
This patch adds telemetry to help us determine if mp4s with certain structures
can occur in the wild. Specifically:
- How often do mp4s have multiple entries in the sample description box?
- Do we ever see mp4s with multiple codecs in the sample description box?
- Do we ever see mp4s with multiple sets of crypto info in the sample
  description box?

This information is collected each time we parse mp4 metadata.

Remove some diagnostic asserts now that we're gracefully gathering info.

Reshuffle of DecoderData function order to align with the order in the header.

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

--HG--
extra : moz-landing-system : lando
2019-02-11 20:07:51 +00:00
Bogdan Tara 3ccaa3b9ba Backed out changeset e23608ddeac0 (bug 1527884) for wrench bustages CLOSED TREE 2019-02-14 16:43:24 +02:00
Shane Caraveo 5b5b01194d Bug 1524001 update manifest to validate manifest.icons, r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D18105

--HG--
rename : toolkit/components/extensions/test/xpcshell/test_ext_manifest.js => browser/components/extensions/test/xpcshell/test_ext_manifest.js
extra : moz-landing-system : lando
2019-02-14 01:32:31 +00:00
Shane Caraveo 40e0ac9225 Bug 1525125 block newtab and homepage overrides in private windows r=rpl,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D18730

--HG--
extra : moz-landing-system : lando
2019-02-14 12:44:07 +00:00
Andreas Farre eca9e717dd Bug 1525866 - Add IPDLParamTraits<Tuple<Ts...>>. r=froydnj
Add support for serializing/deserializing tuples.

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

--HG--
extra : moz-landing-system : lando
2019-02-13 16:08:03 +00:00
Andrea Marchesini cb1aa0d750 Bug 1518774 - Disable test_invalid_mime_type_blob.html on android. r=smaug
This test is extremely heavy and, often, on android, it timeouts.

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

--HG--
extra : rebase_source : dc1649720f20af493341a1c5d7b5b23776997707
2019-02-13 17:59:40 +00:00
Honza Bambas ccd66c5c51 Bug 1518774, r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D19536

--HG--
extra : rebase_source : 033d033e7ddbb81214218e4dca356d27c10714d0
extra : source : 46906029338037cc38162736163558eb2284c2bb
2019-02-12 19:45:52 +00:00
Nicolas Chevobbe 956a15ad0e Bug 1525682 - Add back the telemetry probe monitoring the error messages issued by SpiderMonkey. r=miker
This patch adds the DEVTOOLS_JAVASCRIPT_ERROR_DISPLAYED telemetry probe
back. It existed in the old frontend and was removed when the old
frontend was removed.
A test is added to ensure this is working correctly (and that we won't
delete it by mistake again in the future).

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

--HG--
extra : moz-landing-system : lando
2019-02-14 13:48:12 +00:00
Florian Quèze 5de09797c0 Bug 1526508 - add profiler markers for importing a JS module, loading a JS XPCOM component or a subscript r=mstange
Bug 1526508 - add profiler markers for importing a JS module, loading a JS XPCOM component or a subscript

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

--HG--
extra : moz-landing-system : lando
2019-02-11 17:53:22 +00:00
Edgar Chen 8a104d860e Bug 1518121 - Part 3: Add tests for scrollable frame in Shadow DOM; r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D19652

--HG--
extra : moz-landing-system : lando
2019-02-13 20:39:08 +00:00
Edgar Chen 89cf3fb922 Bug 1518121 - Part 2: Update ExplicitChildIterator correctly when we are at the end of child list of a slot parent; r=smaug
The mIndexInInserted keeps pointing to the last assigned node of a slot parent
when we are at the end of child list. So when we calles GetPreviousChild when we
are at the end of child list, ExplicitChildIterator will skip last assigned node.

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

--HG--
extra : moz-landing-system : lando
2019-02-14 10:14:33 +00:00
Edgar Chen d2d97dd768 Bug 1518121 - Part 1: Check isFocusable from frame first if content has frame; r=smaug
This is for the scrollable frame, because nsIFrame::IsFocusable of a scrollable
frame returns true with tabIndex = 0 even if the content has no tabIndex
attribute.

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

--HG--
extra : moz-landing-system : lando
2019-02-13 19:11:43 +00:00
Bogdan Tara e8d5e8fa11 Backed out changeset 70c5f8576e43 (bug 1525887) for PLDHashTable failures CLOSED TREE 2019-02-14 12:30:34 +02:00
Bogdan Tara 4e1e106f39 Backed out 4 changesets (bug 1518581) for devtools failures CLOSED TREE
Backed out changeset 4858ed100ad4 (bug 1518581)
Backed out changeset 64aafe3fc812 (bug 1518581)
Backed out changeset 19db6496398d (bug 1518581)
Backed out changeset 8471b0838846 (bug 1518581)
2019-02-14 11:50:29 +02:00
Andreas Farre 4a8d21430f Bug 1525887 - Add set of ContentParent subscribed to BrowsingContextGroup. r=nika
Add the origin ContentParent to a CanonicalBrowsingContext's group
when a CanonicalBrowsingContext is created from IPC. With this it is
possible to keep track of all child processes associated with a
BrowsingContextGroup.

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

--HG--
extra : moz-landing-system : lando
2019-02-14 08:55:22 +00:00
Alex Chronopoulos f26917afec Bug 1527659 - Update cubeb from upstream to 3afc335. r=kinetik
Differential Revision: https://phabricator.services.mozilla.com/D19676

--HG--
extra : moz-landing-system : lando
2019-02-13 21:50:03 +00:00
Julian Descottes f4f8bbfb4a Bug 1518581 - Silence worker updates if they are not required by the test;r=daisuke,ochameau
Depends on D18236
Worker updates are very hard to predict and we have many intermittents caused by pending requests
for workers while we destroy the client.

Discussed with @ochameau about the potential solutions, and disabling worker updates in tests that don't need them seems a good option. A complementary solution can be to wait for debugger-client waitForRequestsToSettle (different from our current helper in head.js).

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

--HG--
extra : moz-landing-system : lando
2019-02-14 08:27:36 +00:00
Julian Descottes d4fa20bd7b Bug 1518581 - Remove unused parameters from openAboutDebugging;r=daisuke
Depends on D18235

The two parameters in the openAboutDebugging are a leftover from the original helper of the old about:debugging.

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

--HG--
extra : moz-landing-system : lando
2019-02-14 08:27:23 +00:00
Julian Descottes 1f69b3872b Bug 1518581 - Require mocks helper in aboutdebugging head.js;r=daisuke
Depends on D18234
Most tests will now need to use the mocks helper to avoid loading the regular client-wrapper.

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

--HG--
extra : moz-landing-system : lando
2019-02-14 08:20:21 +00:00
Julian Descottes 254bfe6ca2 Bug 1518581 - Move worker listening logic to client wrapper;r=ladybenko,daisuke
This will make it easier to mock the behavior

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

--HG--
extra : moz-landing-system : lando
2019-02-14 08:19:17 +00:00
Belén Albeza 225505778f Bug 1509121 [part 2]: Add test for about:devtools-toolbox error page. r=daisuke,jdescottes
Differential Revision: https://phabricator.services.mozilla.com/D19531

--HG--
extra : moz-landing-system : lando
2019-02-13 10:32:03 +00:00
Belén Albeza 1c698bcc3a Bug 1509121 - Display error screen if about:devtools-toolbox fails to start. r=jdescottes,daisuke
Differential Revision: https://phabricator.services.mozilla.com/D18842

--HG--
extra : moz-landing-system : lando
2019-02-14 08:13:16 +00:00
Eitan Isaacson bb5af5a481 Bug 1527254 - Don't rely on tabpanels xul element in Android for offcreen state. r=MarcoZ
Differential Revision: https://phabricator.services.mozilla.com/D19710

--HG--
extra : moz-landing-system : lando
2019-02-14 08:01:36 +00:00
Bogdan Tara c5dfc53d7d Backed out changeset 885272c243c8 (bug 1524507) for BinToken related bustages CLOSED TREE 2019-02-14 09:21:26 +02:00
Tooru Fujisawa 1c0f0892fa Bug 1524507 - Remove sum interface and typedef from BinToken.h. r=Yoric
Differential Revision: https://phabricator.services.mozilla.com/D19726

--HG--
extra : moz-landing-system : lando
2019-02-14 06:20:07 +00:00
Markus Stange 59eaae38a1 Bug 1515209 - Add a text marker for <script> evaluation. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D19189

--HG--
extra : moz-landing-system : lando
2019-02-14 05:25:13 +00:00
Markus Stange 2121a26024 Bug 1515209 - Add profiler_add_text_marker and AUTO_PROFILER_TEXT_MARKER_DOCSHELL for convenience, and add the ability to specify cause stacks. r=gerald
Differential Revision: https://phabricator.services.mozilla.com/D19188

--HG--
extra : moz-landing-system : lando
2019-02-14 05:25:45 +00:00
shindli 040ff3d2c4 Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-02-14 06:56:00 +02:00
Markus Stange 5030ae1b0e Bug 1491445 - Make the ChildView always non-opaque and let NSVisualEffectView handle clearing of vibrant areas. r=spohl
This is a clearer implementation that achieves the same thing.

Moreover, disabling the clearing by overriding drawRect wouldn't work in
CoreAnimation windows because in CoreAnimation windows, the clearing happens
through a property of the NSVisualEffectView's CALayer, and not through the
view's drawRect implementation - drawRect probably isn't even called in that
context.

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

--HG--
extra : moz-landing-system : lando
2019-02-13 18:51:20 +00:00
Markus Stange 7023a7ce58 Bug 1491445 - Move any drawing from the ChildView into a new subview called PixelHostingView. r=spohl
This has two advantages:
 - The drawing will now correctly be placed "on top" of the vibrancy views.
 - We can turn this new view into a layer-hosting view. Layer-hosting views are
   supposed to be leaf NSViews; they shouldn't have any children.

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

--HG--
extra : moz-landing-system : lando
2019-02-13 17:50:41 +00:00
Markus Stange 01ea2d7bed Bug 1491445 - Don't return YES from allowsVibrancy for the contentView of context menu windows. r=spohl
Otherwise, any views inside the contentView are imbued with a vibrant effect, and
even non-NSVisualEffectView NSViews subtract from the vibrant region of any actual
vibrant views they overlap. This would cause the PixelHostingView to 'erase' the
blue context menu item highlighting.

This behavior is documented on NSVisualEffectView:

> It is recommended that you enable vibrancy only in the leaf views of your view
> hierarchy. Subviews inherit the vibrancy of their parent. Once enabled in a
> parent view, a subview cannot turn off vibrancy. As a result, enabling
> vibrancy in a parent view can lead to subviews that look incorrect if they are
> not designed to take advantage of the vibrancy effect.

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

--HG--
extra : moz-landing-system : lando
2019-02-13 17:50:27 +00:00
Markus Stange 5adfba9115 Bug 1491445 - Wrap vibrancy and nondraggable views inside container views. r=spohl
NSView hierarchy before:

 - window contentView
   - ChildView
     - NonDraggableView 1
     - NonDraggableView 2
     - EffectViewWithoutForegroundVibrancy 1
     - EffectViewWithoutForegroundVibrancy 2

NSView hierarchy after:

 - window contentView
   - ChildView
     - ViewRegionContainerView
       - NonDraggableView 1
       - NonDraggableView 2
     - ViewRegionContainerView
       - EffectViewWithoutForegroundVibrancy 1
       - EffectViewWithoutForegroundVibrancy 2

This allows us to give those container views a new sibling view which stays
fixed in z-order with respect to the NSViews that get created by
mNonDraggableRegion and mVibrancyManager. More specifically, I'm going to add a
view for the drawing of our ChildView ("PixelHostingView") which is going to be
a direct child of the Gecko "ChildView" and a sibling of the
ViewRegionContainerViews; the PixelHostingView needs to always stay on top of
the vibrancy views.
Without the wrapper around the vibrancy views, whenever the vibrant region
changes, a vibrant view would be placed on top of the PixelHostingView and the
order would be wrong.

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

--HG--
extra : moz-landing-system : lando
2019-02-13 17:50:12 +00:00
Byron Campen [:bwc] 6c3be1079f Bug 1524642 - Part 2: In getReceivers/Senders, do not include stopped transceivers. r=jib
Depends on D19548

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

--HG--
extra : moz-landing-system : lando
2019-02-13 19:09:59 +00:00
Byron Campen [:bwc] 2ca464bba8 Bug 1524642 - Part 1: Re-enable/fix some webrtc wpt. r=jib
Differential Revision: https://phabricator.services.mozilla.com/D19548

--HG--
extra : moz-landing-system : lando
2019-02-13 19:30:06 +00:00
Randall Barker 0ded0d1e19 Bug 1522324 - Update GeckoView API to match current Gecko autoplay implementation r=geckoview-reviewers,esawin
Differential Revision: https://phabricator.services.mozilla.com/D19209

--HG--
extra : moz-landing-system : lando
2019-02-14 01:38:54 +00:00
Brindusan Cristian 44cac3f90f Backed out changeset eac52dd0d152 (bug 1525846) for mochitest failures at test_chrome_ext_permissions.html and bc failures at browser_webext_incognito.js. 2019-02-14 03:29:33 +02:00
Kartikaya Gupta d8b8a6e9e3 Bug 1523956 - Add a null check against mRefreshTimerVsyncDispatcher getting nulled concurrently. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D19703

--HG--
extra : moz-landing-system : lando
2019-02-13 22:46:19 +00:00
Shane Caraveo 1e955787e8 Bug 1525846 ensure ExtensionPermissions is fully initialized prior to changing r=aswan
Differential Revision: https://phabricator.services.mozilla.com/D19199

--HG--
extra : moz-landing-system : lando
2019-02-14 00:34:19 +00:00
Michael Kaply 468a045fe5 Bug 1527630 - Query icons based on device pixel ratio. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D19668

--HG--
extra : moz-landing-system : lando
2019-02-13 23:19:23 +00:00
Nicolas Chevobbe 5631d74c0a Bug 1525682 - Add `errorMessageName` in ConsoleMessage; r=bgrins.
This will be used in telemetry events. Also,
we add `errorMessageName` in evaluation result packets.
Stubs are generated so they include the new property.

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

--HG--
extra : moz-landing-system : lando
2019-02-11 17:22:12 +00:00