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

619000 Коммитов

Автор SHA1 Сообщение Дата
Cosmin Sabou f1f9711f7d Merge mozilla-central to mozilla-inbound. a=merge 2018-10-16 19:29:58 +03:00
Cosmin Sabou 884e6b7585 Merge mozilla-inbound to mozilla-central. a=merge 2018-10-16 19:24:57 +03:00
Andrea Marchesini aa9fceec86 Bug 1499373 - Enable FeaturePolicy for wake-lock and webusb WPTs - ckerschb 2018-10-16 18:16:27 +02:00
Brian Grinstead e1e432ca29 Bug 1497601 - Use a xul:description instead of a xul:label for tooltips;r=smaug
We'd like to be able to implement label features with a Custom Element, and we
don't want to run CE reactions inside of NAC.

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

--HG--
extra : moz-landing-system : lando
2018-10-16 13:54:07 +00:00
Kannan Vijayan 634aca703e Bug 1496847 - Restrict GetElem generic stub to access on sparse indexes only. r=tcampbell 2018-10-16 09:24:42 -04:00
Alexandre Poirot 3921006dc1 Bug 1364596 - Flag DAMP add-on as e10s compatible. r=jmaher
This is to know if DAMP works without e10s shims.

MozReview-Commit-ID: 2IZGlenkuzb

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

--HG--
extra : moz-landing-system : lando
2018-10-16 12:46:45 +00:00
florin.strugariu 56904c821f Bug 1487374 benchmark_score for Sunspider Chrome is unnecessary r=jmaher jmaher
Differential Revision: https://phabricator.services.mozilla.com/D8838

--HG--
extra : moz-landing-system : lando
2018-10-16 12:48:19 +00:00
Gijs Kruitbosch 9048f58f8f Bug 1477669 - remove feed preview code and associated files/code, r=flod,mak,nika
Differential Revision: https://phabricator.services.mozilla.com/D8524

--HG--
extra : moz-landing-system : lando
2018-10-16 12:47:36 +00:00
Henri Sivonen 074a8bb5ea Bug 1460233 - Percent-encode ampersand and colon when replacing unmappable code points in URL query state. r=valentin
Spec change: https://github.com/whatwg/url/pull/386

MozReview-Commit-ID: Fa84kCNghtU

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

--HG--
extra : moz-landing-system : lando
2018-10-16 12:04:12 +00:00
Alexandre Poirot d5c27c6692 Bug 1499312 - Fix running devtools/client/shared/test/browser_dbg_WorkerTargetActor.attach.js individually. r=davidwalsh
MozReview-Commit-ID: 2i9NiMeOqcf

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

--HG--
extra : moz-landing-system : lando
2018-10-16 12:04:17 +00:00
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
Matthew Gaudet 58a9386709 Bug 1494647: Add flags section to CacheIR spew, and report dictionary mode r=evilpie
Differential Revision: https://phabricator.services.mozilla.com/D8761

--HG--
extra : rebase_source : 0f4bed666a27dfbf9db9f35c28f3f78187a6603a
2018-10-15 15:14:29 -04:00
Dale Harvey ce7a7296b3 Bug 1363169 - Add support for native windows share. r=gijs, r=aklotz
MozReview-Commit-ID: 7quON7Somvr
2018-10-16 13:54:13 +01:00
Andrew Osmond 4590e9df52 Bug 1466707 - Ensure that animated images always honour the animated image mode. r=tnikkel
Animated images inside of SVGs and used in XUL frames did not get the
configured animation image mode from the pres context.

Differential Revision: https://phabricator.services.mozilla.com/D8586
2018-10-16 08:50:44 -04:00
Jon Coppeard 18de456bcf Bug 1482153 - Provide a way of associating a private value with a script or module r=jandem rs=hsivonen 2018-10-16 13:44:12 +01:00
Olli Pettay 8d6666bd57 Bug 1499135 - ensure 'no browsing context' test in clear.py isn't relying on the previous page runs, r=ato
--HG--
extra : rebase_source : 8dd730552e5be4b4793cb3ce03fd06b12eece804
2018-10-16 07:19:31 -04:00
sotaro 2661c399b9 Bug 1498982 - Use GL/WebRender compatible visual only when it is necessary necessary r=nical 2018-10-16 21:14:52 +09:00
Gabriel Luong a780f9ec58 Bug 1497312 - The flexbox highlighter color should change on input from the color swatch. r=pbro 2018-10-15 13:18:15 -04:00
Dragan Mladjenovic 8ed55bd095 Bug 1499128 - Use MacroAssembler::branctTestPtr with NonZero instead of NotEqual condition in WasmBaselineCompile; r=nbp 2018-10-15 19:15:52 +02: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