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

618968 Коммитов

Автор SHA1 Сообщение Дата
Belén Albeza 5a45b66985 Bug 1494543 - Part 2: Add model + short runtime name to the sidebar item. r=jdescottes,daisuke
Added new getters to the ADB scanner so our runtime objects have now the information we need.

Note that the UX of the devices in this patch doesn't still match what we had in the mockups (icons don't match, and we also need a circle with a tick), but since we have another bug to handle the CSS in the Sidebar, we can always adapt it there. The information needed to display what is shown in the mockups should be passed in this patch –if I miss anything, give me a shout!

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

--HG--
extra : moz-landing-system : lando
2018-10-16 11:57:45 +00:00
Belén Albeza 4e1ce7bb11 Bug 1494543 - Part 1: Refactor sidebar items into different components. r=jdescottes,daisuke
This is a refactor of the components used in the sidebar. TL;DR: sidebar items now use the composition approach outlined here https://reactjs.org/docs/composition-vs-inheritance.html

Before we had a container `Sidebar` component, which in turn had `SidebarItem` components inside. The issue was that depending on what item is inside, the information and UX displayed is different. Before this patch, we had an optional commponent, `DeviceSidebarItemAction` –which was featuring a "Connect" button, and was only rendered in the runtime sidebar items. However, we now need to display even more info, so continue to pass optional components to `SidebarItem` was tricky.

What this patch does is to preserve `SidebarItem` and treat is a generic container of more specific content. This is passed via the `children` prop, which React automatically maps to the DOM content that we pass to that component (this is the same concept as slots in Web Components / Vue). `SidebarItem` now only contains the logic to select items in the sidebar and render them in `<li>` elements. Two new components, `SidebarFixedItem` (for our "static" pages) and `SidebarDeviceItem` are now the ones instancing `SidebarItem` with their specific contents.

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

--HG--
extra : moz-landing-system : lando
2018-10-16 09:35:25 +00:00
Arshad Kazmi 06c583d324 Bug 1484946 - Fix tree twisty color on in-content pages when selected and unfocused r=ntim,dao
Differential Revision: https://phabricator.services.mozilla.com/D8669

--HG--
extra : moz-landing-system : lando
2018-10-16 10:18:56 +00:00
Raphael Pierzina 41ba899583 Bug 1488468 - Move HTTP POST request to wait_for_ping in TestPingServer; r=davehunt
Depends on D8531

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

--HG--
extra : moz-landing-system : lando
2018-10-16 10:42:06 +00:00
Raphael Pierzina 5961cffb59 Bug 1488468 - Filter ping_list in Wait function of TelemetryTestCase; r=davehunt
Differential Revision: https://phabricator.services.mozilla.com/D8531

--HG--
extra : moz-landing-system : lando
2018-10-16 08:28:56 +00:00
Francesco Lodolo (:flod) 2e116f5738 Bug 1478219 - Remove search default and search order from l10n checks (mobile, desktop) r=Pike
Differential Revision: https://phabricator.services.mozilla.com/D8832

--HG--
extra : moz-landing-system : lando
2018-10-16 11:12:34 +00:00
Michael Kohler af087b7cfe Bug 1496240 - Change 'Blocked' to 'Blocking' for in Content Blocking Categories doorhanger part r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D8793

--HG--
extra : moz-landing-system : lando
2018-10-16 10:45:01 +00:00
Alexandre Poirot 6cd123eae4 Bug 1494632 - Convert WorkerClient to protocol.js front. r=jdescottes
MozReview-Commit-ID: BbtEReeG4v9

Depends on D7462

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

--HG--
extra : moz-landing-system : lando
2018-10-16 09:39:11 +00:00
Dimi Lee 86eec944ad Bug 1439450 - Ignore has_first_value() check in ProtocolParser. r=francois
Sometimes the protocol buffer data (RiceEncodingData) sent by Google's Safe Browsing server has the following properties:

1. |has_first_value| is false
2. |num_entries| > 0

In this case, we can still parse the data and apply partial update correctly by assuming that the first value is equal to 0.

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

--HG--
extra : moz-landing-system : lando
2018-10-16 10:36:01 +00:00
Amy Chan e4b80ceed6 Bug 1356536 - Add file type icons in network monitor. r=Honza
Added request type icons in File column of Network Monitor

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

--HG--
extra : moz-landing-system : lando
2018-10-16 10:30:23 +00:00
Kartikaya Gupta eb22224d62 Bug 1484173 - Replace the mNeedsComposite counter with a timestamp. r=sotaro
The mNeedsComposite counter was used to force a composite immediately if
the scheduler received a number of composite requests without actually
getting a vsync. It was necessary on Fennec because of main-thread
contention. However it was wrong because it assumes only a single
composite gets requested per vsync interval, which is not true. Instead
of using a counter this patch uses a timestamp to ensure that we only
force the vsync after two vsync intervals have elapsed.

Depends on D8765

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

--HG--
extra : moz-landing-system : lando
2018-10-16 05:36:14 +00:00
Kartikaya Gupta 51d0eb31fa Bug 1484173 - Expose the vsync interval via the CompositorVsyncSchedulerOwner interface. r=sotaro
We need this for the next patch.

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

--HG--
extra : moz-landing-system : lando
2018-10-16 00:33:51 +00:00
Sylvestre Ledru 8d30e3fa8e Bug 1498618 - Never apply clang-format on code in {{{ check_macroassembler_style r=nbp
Differential Revision: https://phabricator.services.mozilla.com/D8571

--HG--
extra : moz-landing-system : lando
2018-10-15 10:02:00 +00:00
Margareta Eliza Balazs 9001a2d162 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-10-16 12:37:59 +03:00
Cosmin Sabou ee928c38ca Backed out 3 changesets (bug 1494549) for OSX devtools failures. CLOSED TREE
Backed out changeset e9abf60db23b (bug 1494549)
Backed out changeset 3e89e661031c (bug 1494549)
Backed out changeset 0d7e2a4ad360 (bug 1494549)
2018-10-16 12:34:38 +03:00
Margareta Eliza Balazs 3d989d097f Merge inbound to mozilla-central. a=merge 2018-10-16 12:31:18 +03:00
Mike Hommey ab27fdf7f0 Back out changeset 9481b9ecaf2f (bug 1480006) as being a suspect in the rise of crashes such as bug 1489953. 2018-10-16 15:17:20 +09:00
Micah Tigley 58896ac3d6 Bug 1499052 - Enable both M1 and M2 milestones for the Flexbox inspector in DevEdidtion 64 (and keep it there). r=gl
Differential Revision: https://phabricator.services.mozilla.com/D8738

--HG--
extra : moz-landing-system : lando
2018-10-15 19:58:20 +00:00
Dão Gottwald 167dec8ea5 Bug 1498878 - Implement UrlbarInput::goButton. r=adw
Differential Revision: https://phabricator.services.mozilla.com/D8670

--HG--
extra : moz-landing-system : lando
2018-10-16 03:06:04 +00:00
Sam Foster c37c1f4c10 Bug 1485105 - Allow 12-19 digit length card numbers. r=MattN
* Change to isValidNumber to allow any number length in the range. This also removes 9 as a valid payment card number length
* Amend form autocomplete test for sensitive 9 digit numbers. We no longer consider them valid cc numbers, test for 19 digit numbers instead
* Fix intermittent issue in a session restore tests. It turns out Date.now().toString() can sometimes pass the Luhn algorithm and look like a valid credit card number. I believe this could lead to it being treated as sensitive data which is not saved and restored, failing the test

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

--HG--
extra : moz-landing-system : lando
2018-10-16 05:37:39 +00:00
Noemi Erli 229489d688 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-10-16 07:29:17 +03:00
Noemi Erli 43a767902f Merge inbound to mozilla-central. a=merge 2018-10-16 07:27:42 +03:00
Hiroyuki Ikezoe a7c14457fd Bug 1431601 - Implement "Resolve min-zoom and max-zoom values" in the spec. r=botond
https://drafts.csswg.org/css-device-adapt/#constraining-min-max-zoom

The test case in this commit fails without this change, width will be 8000 and
height will be 4800 respectively when it fails.

Depends on D8320

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

--HG--
extra : moz-landing-system : lando
2018-10-15 23:53:44 +00:00
Hiroyuki Ikezoe 8527cd4c72 Bug 1431601 - Run meta viewport tests on Desktop. r=botond
Depends on D8319

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

--HG--
extra : moz-landing-system : lando
2018-10-15 23:53:43 +00:00
Hiroyuki Ikezoe d513867baa Bug 1431601 - Rewrite test_meta_viewportX.html with add_task. r=botond
Depends on D8318

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

--HG--
extra : moz-landing-system : lando
2018-10-15 23:53:43 +00:00
Hiroyuki Ikezoe c43cc6396c Bug 1431601 - Move getViewportInfo function into viewport_helpers.js. r=botond
Depends on D8317

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

--HG--
extra : moz-landing-system : lando
2018-10-15 23:53:43 +00:00
Hiroyuki Ikezoe 1850f573a5 Bug 1431601 - Fix the comment for nsIDOMWindowUtils.getViewportInfo. r=botond
nsContentUtils::GetViewportInfo was removed and the comment for the function
was moved to nsIDocument::GetViewportInfo in
https://hg.mozilla.org/mozilla-central/rev/37d64688bf9d

Depends on D8316

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

--HG--
extra : moz-landing-system : lando
2018-10-15 23:53:42 +00:00
Hiroyuki Ikezoe c874b7fb45 Bug 1431601 - Align boolean member in nsViewportInfo. r=botond
Differential Revision: https://phabricator.services.mozilla.com/D8316

--HG--
extra : moz-landing-system : lando
2018-10-15 23:53:42 +00:00
Masayuki Nakano cda6a9ac80 Bug 1484126 - part 21: Rewrite some loops in HTMLTableEditor.cpp with CellData::NextColumnIndex() or CellData::NextRowIndex() r=m_kato
A lot of loops in HTMLTableEditor.cpp scans cells along column-axis or
row-axis.  In those cases, they need to skip columns/rows which are spanned
from prior column/row.  So, we can rewrite them with CellData::NextColumnIndex()
or CellData::NextRowColumn().

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

--HG--
extra : moz-landing-system : lando
2018-10-16 01:10:44 +00:00
Botond Ballo bc30a8f71d Bug 1498329 - Use a fallback velocity if the velocity tracker doesn't have enough recent samples to compute a velocity. r=kats
Depends on D8786

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

--HG--
extra : moz-landing-system : lando
2018-10-15 23:31:53 +00:00
Botond Ballo e1f2ede5f8 Bug 1498329 - Fix a bug in AndroidVelocityTracker::ComputeVelocity() where we were unintentionally ignoring the oldest data point. r=kats
Differential Revision: https://phabricator.services.mozilla.com/D8786

--HG--
extra : moz-landing-system : lando
2018-10-15 23:29:21 +00:00
Noemi Erli 642d116b9a Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-10-16 04:29:03 +03:00
Noemi Erli 77b328b5a7 Backed out changeset 8efab497c2e6 (bug 1498591) for failures in browser_storageAccessRemovalNavigateSubframe.js a=backout 2018-10-16 04:22:34 +03:00
Ciure Andrei 673efa0461 Backed out changeset 1119f9458b5d (bug 1484255) for browser_aboutCertError_telemetry.js failures CLOSED TREE 2018-10-16 03:33:42 +03:00
Noemi Erli 014b37a409 Merge inbound to mozilla-central. a=merge 2018-10-16 01:20:08 +03:00
Noemi Erli d0ba3c76c9 Merge autoland to mozilla-central. a=merge 2018-10-16 01:19:10 +03:00
Jeff Walden 52f3ecf834 Bug 1498458 - Add a test for OOM on failure to allocate ArrayBuffer contents that won't fit in a typed array's inline storage. r=nbp
--HG--
extra : rebase_source : 5ef813c93a05b6fe45477179fa1d91e0d478c295
2018-10-15 15:07:29 -07:00
Noemi Erli eb80f3addd Backed out 2 changesets (bug 1487797) for introducing regressions a=backout
Backed out changeset e9549537063a (bug 1487797)
Backed out changeset c629e51dda10 (bug 1487797)

--HG--
extra : rebase_source : dc2c88cdc5db487786a53d997ad28199992cc69c
2018-10-16 00:23:11 +03:00
ffxbld 05f0ad659c No bug - Tagging mozilla-central ad179a6fc14cbd41d10a018ac4a3822db119de3b with FIREFOX_BETA_64_BASE a=release DONTBUILD CLOSED TREE 2018-10-15 13:44:42 -07:00
Bogdan Tara f1265a5116 Backed out changeset ccf6f87d3430 (bug 1492563) for nsPermissionManager.cpp and test_cookie_fetch.html failures CLOSED TREE 2018-10-15 21:20:11 +03:00
Rob Wu 92e0725cbb Bug 1491397 - Correctly forward falsey scriptMetadata in userScripts API r=rpl
This also adds new test coverage for the previously untested features:
- "file" in "js" param to userScripts.register works.
- "allFrames" set to true in userScripts.register works.
- scriptMetadata accepts primitive values, and in particular falsey
  values in particular (= bug 1491397 ).
 - scriptMetadata is the same object in all API script calls.

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

--HG--
extra : moz-landing-system : lando
2018-10-15 18:05:08 +00:00
Oriol Brufau 6133d88831 Bug 1498917 - Make ext-sidebarAction.js consistent with ext-browserAction.js after Bug 1498917. r=mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D8676

--HG--
extra : moz-landing-system : lando
2018-10-15 17:05:15 +00:00
Nathan Moos 0e8cef431d Bug 1490186 - Add GtkFileChooserNative support to Firefox. r=stransky
This patch makes Firefox's GTK3 platform support use GtkFileChooserNative when
available. GtkFileChooserNative transparently uses the desktop portals
interface, which enables Firefox to use native Qt file dialogs on KDE, or
sandboxed file dialogs in Flatpak.

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

--HG--
extra : moz-landing-system : lando
2018-10-15 19:25:10 +00:00
Johann Hofmann 9f4cd70201 Bug 1484255 - Add Telemetry Events for the certificate error pages. r=nhnt11,keeler
Differential Revision: https://phabricator.services.mozilla.com/D8281

--HG--
extra : moz-landing-system : lando
2018-10-15 23:00:08 +00:00
Mark Hammond c8597f4ec4 Bug 1488899 - Get TPS working. r=tcsc
This patch disables a couple of tests, removes old async support from TPS,
and puts more effort into preventing Syncs while TPS is running, and
removed an unused import.

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

--HG--
extra : moz-landing-system : lando
2018-10-15 22:42:22 +00:00
Noemi Erli f63cc2b795 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-10-16 01:21:28 +03:00
Nicholas Hurley 2a0345cbb3 Bug 1493724 - Don't overwrite still-valid altsvc mappings until a new one is validated. r=valentin
Right now, as soon as we receive an alt-svc header or frame for an origin, we will overwrite any mapping we already have for that origin, even if it's still valid. This means that, should validation fail for the new mapping, we will have blown away a perfectly usable alt-svc mapping for no good reason. This patch prevents us from overwriting until we know the new mapping is good.

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

--HG--
extra : moz-landing-system : lando
2018-10-15 21:52:04 +00:00
Jared Hirsch 661647d3d4 Bug 1498410 - Part 6 - Update browser_preferences_usage test for non-bootstrapped Screenshots;r=aswan
MozReview-Commit-ID: Bdwv9rFBwm3

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

--HG--
extra : rebase_source : 7e13de7606764a42ee91e96df85b9ea8a3377ca7
extra : source : 0bf7bb3f9e581ee5da934136e404d794a130fddc
2018-10-15 19:04:34 +00:00
Jared Hirsch 74f48e2408 Bug 1498410 - Part 5 - Fix tests broken by Screenshots migration to pure webextension; r=aswan
Summary:
* Explicitly disable Screenshots in PageActions and context menu tests

* Update browser_preferences_usage test to accommodate Screenshots as a webextension
  (Moving Screenshots from legacy bootstrap to webextension seems to require reducing
  the minimum number of values in the `extensions.getAddons.cache.enabled` pref by one)

MozReview-Commit-ID: LCNaaXSE8w0

Reviewers: aswan

Reviewed By: aswan

Bug #: 1498410

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

--HG--
extra : rebase_source : 5f1d71e966972cc324c91750745e8862ace2ddb6
2018-10-15 23:47:08 +03:00
Jared Hirsch 849a6e51da Bug 1498410 - Part 4 - Export comma-dangle refactoring as a separate commit to ease reviews; r=ianbicking
MozReview-Commit-ID: 455LZbfCGfy

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

--HG--
extra : rebase_source : 698bd15f7d81b9815a9f176359c28f2cc97132e4
extra : source : 01fa6937f05fc51562205eac8e895c62324452f8
2018-10-15 20:10:29 +00:00