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

619720 Коммитов

Автор SHA1 Сообщение Дата
Chris Pearce 00b47a070d Bug 1500251 - Add dummy pref with default value true, report via telemetry. r=mythmon
The Webrender Pref Experiment is reporting its pref via telemetry and that is
reporting a different value than what the Normandy experiments telemetry
indicates should be being seen.

In Bug 1499552 I added a pref and telemetry reporting in preparation for running
a dummy Pref Experiment to verify that prefs set are reported as set, but I
realised I missed a case; where there's an existing default pref set,
we're only covering the case where that default pref has value false. We're seeing
a ~25% failure rate in the pref reporting. So we should cover the other three cases
in the dummy Pref Experiment, just in case it's one of these four cases that
is failing.

So here I add another dummy pref with a default value of true, and I report that
via telemetry. I rename the pref I added yesterday to make things consistent.

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

--HG--
extra : moz-landing-system : lando
2018-10-18 22:02:52 +00:00
Lee Salzman 1e136a0603 Bug 1495919 - ensure IDWriteFontFileStream stays alive with NativeFontResourceDWrite. r=jrmuizel 2018-10-18 18:00:23 -04:00
Cosmin Sabou a833a61a1b Merge mozilla-central to mozilla-inbound. a=merge 2018-10-19 00:59:32 +03:00
Cosmin Sabou 5115d61980 Merge mozilla-inbound to mozilla-central. a=merge 2018-10-19 00:54:29 +03:00
ScottDowne 18429f6897 Fixes bug 1499444 - Save to pocket button doesn't work on first click after a startup r=adw
Differential Revision: https://phabricator.services.mozilla.com/D8886

--HG--
extra : moz-landing-system : lando
2018-10-18 21:23:57 +00:00
Dennis Schubert cb2a6b1796 Bug 1451484 - Import WebExtension sources for the WebCompat GoFaster Addon to Fennec. r=rhelmer
Differential Revision: https://phabricator.services.mozilla.com/D7310

--HG--
rename : mobile/android/extensions/webcompat/webextension/background.js => mobile/android/extensions/webcompat/injections.js
rename : mobile/android/extensions/webcompat/webextension/injections/css/bug0000000-dummy-css-injection.css => mobile/android/extensions/webcompat/injections/css/bug0000000-dummy-css-injection.css
rename : mobile/android/extensions/webcompat/webextension/injections/js/bug0000000-dummy-js-injection.js => mobile/android/extensions/webcompat/injections/js/bug0000000-dummy-js-injection.js
rename : mobile/android/extensions/webcompat/webextension/injections/js/bug1452707-window.controllers-shim-ib.absa.co.za.js => mobile/android/extensions/webcompat/injections/js/bug1452707-window.controllers-shim-ib.absa.co.za.js
rename : mobile/android/extensions/webcompat/webextension/injections/js/bug1457335-histography.io-ua-change.js => mobile/android/extensions/webcompat/injections/js/bug1457335-histography.io-ua-change.js
rename : mobile/android/extensions/webcompat/webextension/injections/js/bug1472075-bankofamerica.com-ua-change.js => mobile/android/extensions/webcompat/injections/js/bug1472075-bankofamerica.com-ua-change.js
rename : mobile/android/extensions/webcompat/webextension/injections/js/bug1472081-election.gov.np-window.sidebar-shim.js => mobile/android/extensions/webcompat/injections/js/bug1472081-election.gov.np-window.sidebar-shim.js
rename : mobile/android/extensions/webcompat/webextension/injections/js/bug1482066-portalminasnet.com-window.sidebar-shim.js => mobile/android/extensions/webcompat/injections/js/bug1482066-portalminasnet.com-window.sidebar-shim.js
extra : moz-landing-system : lando
2018-10-19 00:51:28 +00:00
Daniel Holbert fd3bb50eac Bug 1499875 part 2: Give mochitest test_flex_items.html some tests for a flex container that has multiple passes of flex-grow + clamping. r=bradwerth
Depends on D9152

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

--HG--
extra : moz-landing-system : lando
2018-10-19 06:04:26 +00:00
Daniel Holbert 6e01c82c66 Bug 1499875 part 1: Adjust existing tests/content in test_flex_items.html to prepare for additional flex containers to be added. r=bradwerth
Differential Revision: https://phabricator.services.mozilla.com/D9152

--HG--
extra : moz-landing-system : lando
2018-10-18 23:47:47 +00:00
Karl Tomlinson 97f2efff13 Bug 1499212 align Replace/Insert/AppendLiteral parameter restrictions with those of AssignLiteral r=dbaron
There is no advantage in making these methods more restrictive on their
parameters than AssignLiteral.

The current implementation of the AppendLiteral overloads for equivalent
char_types is more permissive than AssignLiteral, but comments in the
implementation mention the possible optimization used in AssignLiteral and so
are assuming a similar constant and static storage duration restriction on its
parameter.  The optimization may never be implemented, but clients that would
benefit from support for non-constant or non-static parameters are also
expected to be rare, so there is little value in ruling out the optimization
at this stage.

ReplaceLiteral currently uses the AssignLiteral optimization.

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

--HG--
extra : moz-landing-system : lando
2018-10-19 01:07:41 +00:00
Karl Tomlinson 539768fc12 Bug 1499212 - document that Literal parameters must have a null terminator r=dbaron
A character array initialized with a list of character literals will not
necessarily have a trailing null-terminator required for AssignLiteral or
trimmed in EqualsLiteral.

Depends on D8775

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

--HG--
extra : moz-landing-system : lando
2018-10-19 01:26:21 +00:00
Karl Tomlinson ba7a754a76 Bug 1499212 adjust Literal method doc so as not to imply that |this| must be a literal string r=dbaron
Depends on D8774

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

--HG--
extra : moz-landing-system : lando
2018-10-19 01:07:10 +00:00
Karl Tomlinson aa77ee3384 Bug 1499212 - document reasons for restrictions on EqualsLiteral parameter r=dbaron
"Bound" is the term used in the C++ standard to describe the number of
elements in an array.

EqualsLiteral has no opportunity to optimize for constant and static storage
duration parameters.

Depends on D8773

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

--HG--
extra : moz-landing-system : lando
2018-10-19 00:57:49 +00:00
Karl Tomlinson a53090cdff Bug 1499212 - suggest non-ASCII Assign for non-static-const same-char_type array parameters r=dbaron
There is no advantage in AssignASCII() for char, and AssignASCII() does not
exist for char16_t array and char_type.  Similarly for ReplaceASCII and
AppendASCII.  This AssignLiteral() overload already says it is not only for
ASCII.

Depends on D8771

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

--HG--
extra : moz-landing-system : lando
2018-10-18 21:53:33 +00:00
Mark Striemer 1dc02bd39d Bug 1499944 - Don't show detail view when changing plugin state r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D9061

--HG--
extra : moz-landing-system : lando
2018-10-18 18:43:03 +00:00
Mark Striemer 90421228f4 Bug 1499504 - Always include search icon in search boxes on Mac r=dao
Differential Revision: https://phabricator.services.mozilla.com/D9021

--HG--
extra : moz-landing-system : lando
2018-10-18 18:56:11 +00:00
Henrik Skupin f75e4b1e72 Bug 1494229 - [marionette] Advertise Phabricator for submitting patches in the docs. r=ato
DONTBUILD

Depends on D8981

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

--HG--
extra : moz-landing-system : lando
2018-10-18 19:06:53 +00:00
Henrik Skupin 50aaf57a2b Bug 1494229 - [marionette] Improve documentation for new contributors. r=ato
DONTBUILD

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

--HG--
extra : moz-landing-system : lando
2018-10-18 19:06:25 +00:00
Jan de Mooij 7c665c8ac4 Bug 1500121 - Give IdValueVector some inline capacity. r=luke
Differential Revision: https://phabricator.services.mozilla.com/D9117

--HG--
extra : moz-landing-system : lando
2018-10-18 18:34:13 +00:00
Andreas Tolfsen e9047f00f5 bug 1499057: webdriver: remove known web element cache; r=whimboo
The known web element cache in the WebDriver test client, or
webdriver.Session._element_cache, is used only to avoid constructing
new webdriver.Element instances of the same web element and serves
no practical purpose beyond that

Since this client is intended for testing purposes, we would like
to be able to construct duplicate webdriver.Element instances,
so that e.g. fake elements can be constructed and send to the remote end.

Depends on D9127

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

--HG--
extra : moz-landing-system : lando
2018-10-18 15:34:06 +00:00
Andreas Tolfsen 05540feaf4 bug 1499057: webdriver: fix element comparison assertions; r=whimboo
The Python "is" operator tests object identity, but the tests should
rely on the webdriver.Element equality implementation, __eq__.

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

--HG--
extra : moz-landing-system : lando
2018-10-18 18:33:09 +00:00
Henrik Skupin 487c30e181 Bug 1493796 - [mozprocess] Revert poll() behavior on Windows due to regression. r=gbrown
Originally landed as changeset 8793e332890e via bug 1433905 the
patch caused a regression because GetExitCodeProcess() returns
0 for an inside of Firefox restarted process.

It can be relanded once the process id of the job object can
successfully be tracked.

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

--HG--
extra : moz-landing-system : lando
2018-10-18 15:32:28 +00:00
James Willcox 2133b1b95d Bug 1496745 - Allow GeckoResult to be used without a Looper r=agi,jchen
GeckoResult can now be created on a thread with no Looper present.
You can use `then` as before after creating a derived GeckoResult
with a Handler via `withHandler`, or poll for the value via
the new `poll` method.

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

--HG--
extra : moz-landing-system : lando
2018-10-18 18:01:18 +00:00
Nicholas Nethercote 0978d2e6ca Bug 1499906 - Improve treeline handling. r=erahm.
This commit reduces the appendTreeElements2's treeline arguments from 3 to 2,
and makes the code easier to understand. It's also more efficient, because a
concatenation that used to be repeated for every child of a node is now done
once for all children.

This commit also shortens treeline variable names, because there are a lot of
them and they're easier to read when short.

--HG--
extra : rebase_source : 0fa942468b8ddc23506759b2040266d0c60ade14
2018-10-18 19:40:17 +11:00
Nicholas Nethercote e0d2474114 Bug 1499906 - Use non-ASCII chars directly in the code. r=erahm
They're easier to read than \uXXXX escapes, and there's no reason to stick to
ASCII in the source code.

--HG--
extra : rebase_source : c3412c6a4060de6ea007b6758d1d9f2663efa6be
2018-10-18 19:39:38 +11:00
Eugen Sawin d84e5ef402 Bug 1499895 - [2.1] Update onLoadRequest tests. r=jchen 2018-10-19 02:56:12 +02:00
Eugen Sawin 6ed8cc4d6c Bug 1499895 - [1.3] Add triggering URI to onLoadRequest. r=snorp,jchen 2018-10-19 02:56:11 +02:00
Ryan VanderMeulen 4dd0f3ff25 Merge m-c to inbound. a=merge 2018-10-18 20:51:18 -04:00
Noemi Erli e3e15418e9 Backed out changeset 8b3b53341da2 (bug 1497514) for failures in browser/components/payments/test/mochitest/test_basic_card_form.html
--HG--
rename : browser/components/payments/test/browser/browser_onboarding_wizard.js => browser/components/payments/test/browser/browser_payments_onboarding_wizard.js
2018-10-19 03:50:32 +03:00
Diego Pino Garcia 0de27c4f76 Bug 1341390. Remove unused tests dom/tests/html and dom/tests/js. r=bzbarsky
All the properties tested by those tests is covered by web-platform-tests.
2018-10-18 19:46:34 -04:00
Boris Zbarsky 348aa22e01 Bug 1398354 part 2. Update document.all item() and legacycaller to new spec semantics. r=mccr8 2018-10-17 23:00:49 -04:00
Boris Zbarsky 24d8300b00 Bug 1398354 part 1. Expose StringIsArrayIndex taking a char pointer in jsfriendapi. r=waldo 2018-10-17 23:00:49 -04:00
Emilio Cobos Álvarez 6dff7031ef Bug 1500260 - Fix various tidy issues and Servo build. r=emilio 2018-10-19 01:17:24 +02:00
Josh Matthews 1feab6797d Bug 1500260 - Update servo malloc_size_of after webrender update. r=emilio
This cherry-picks part of servo/servo#21725.
2018-10-19 01:17:22 +02:00
Pyfisch dcc0b09eed Bug 1500260 - Use keyboard-types crate. r=emilio
Have embedders send DOM keys to servo and use a strongly typed KeyboardEvent
from the W3C UI Events spec. All keyboard handling now uses the new types.

Introduce a ShortcutMatcher to recognize key bindings. Shortcuts are now
recognized in a uniform way.

Updated the winit port.
Updated webdriver integration.

part of #20331

This cherry-picks part of servo/servo#21881.
2018-10-19 01:17:20 +02:00
Emilio Cobos Álvarez dc07212084 Bug 1500260 - More useful logging for transition-related stuff. r=emilio
Transitions are still broken, but I found these messages more helpful than the
previous ones when diagnosing problems.

This cherry-picks part of servo/servo#20757.
2018-10-19 01:17:18 +02:00
Emilio Cobos Álvarez 833de85131 Bug 1500260 - Expire keyframes animations when no longer referenced by the style. r=emilio
It's a long way to make this sound in general...

Fixes #20731

This cherry-picks part of servo/servo#20757.
2018-10-19 01:17:16 +02:00
Emilio Cobos Álvarez 9ee318b187 Bug 1500260 - Remove unused expired boolean in Animation::Transition. r=emilio
The last caller who used was #14418, which did fix a problem but introduced
multiple. In particular, now transitions don't get expired ever, until they
finish running of course.

That is not ok, given you can have something that the user can trigger to change
the style (hi, :hover, for example), and right now that triggers new
transitions, getting this into a really funny state.

I should give fixing this a shot, but it's non-trivial at all.

This cherry-picks part of servo/servo#20757.
2018-10-19 01:17:15 +02:00
Emilio Cobos Álvarez 3f29fd8d37 Bug 1500260 - Cleanup some of the animation starting code. r=emilio
This cherry-picks part of servo/servo#20757.
2018-10-19 01:17:13 +02:00
Emilio Cobos Álvarez cc4aeaeb05 Bug 1500260 - Stop using PseudoElement::inherits_all. r=emilio
This was done that way just because Servo didn't support the `all` property at
the time.

We should do it this way and optimize it if it's slow. Though I suspect that
most of stuff doesn't actually need to be inherited, my patch at bug 1498943
should make it much faster than what it would otherwise be.

This cherry-picks servo/servo#21946.
2018-10-19 01:17:11 +02:00
Matthew Noorenberghe 4622f078c4 Bug 1373563 - More specific mozscreenshots cropping for PermissionPrompts and ControlCenter. r=johannh
Also remove the default selectors for LightweightThemes since we capture the union of all regions and we can leave it up to the other used configuration to know which region is relevant. The whole navigator-toolbox isn't always relavant for LightweightThemes changes since they also affect panels and other widgets.

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

--HG--
extra : rebase_source : 124ffb5493903fdbbe85d0181b10649d611ddc76
extra : amend_source : c151c8a48a8fb25b3aafc217c293835ab443fa54
2018-10-18 15:31:45 -07:00
Diego Pino Garcia d875812fa7 Bug 1497514 - Initialize BasicCardPage selectedStateKey to 'selectPaymentCard'. r=MattN
Also require basicCardPage has a selectedStateKey

--HG--
rename : browser/components/payments/test/browser/browser_payments_onboarding_wizard.js => browser/components/payments/test/browser/browser_onboarding_wizard.js
extra : rebase_source : f73b3b3f0a5c5ec94ffdbf722f4887097d05d97d
2018-10-18 15:25:49 -07:00
Chris Manchester 2b4f3e8c24 Bug 1494387 - Backed out changeset 556b2f4cd653 so it doesn't ride the trains. 2018-10-18 15:21:02 -07:00
Jonathan Kingston 580c9a51e4 Bug 1483458 - Change HTML parser to look at .py Atom files. r=hsivonen,heycam
--HG--
extra : amend_source : 9285251fc49d4f56b67557ef77e163d6acbc2b1e
2018-10-17 20:40:37 +01:00
Florian Quèze 36fea05e0e Bug 1241024 - follow-up to fix eslint failure, rs=bustage-fix. 2018-10-18 18:53:54 +02:00
Ciure Andrei bae4d8bacf Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-10-18 19:40:31 +03:00
Ciure Andrei dec678a34d Merge inbound to mozilla-central. a=merge 2018-10-18 19:37:23 +03:00
Florian Quèze 9e9fb05eb0 Bug 1241024 - Make about:performance localizable, r=gandalf,flod. 2018-10-18 18:35:44 +02:00
Emilio Cobos Álvarez 36e49f6198 Bug 1500097 - Enable @supports selector() in those tests. 2018-10-18 16:04:14 +02:00
Neil Deakin 51f69a2c2a Bug 1494000, use Element::GetFrame in XULMenuElement and XULPopupElement, r=bz 2018-10-18 08:40:10 -04:00
Andrea Marchesini 4ebf5b4364 Bug 1496581 - Split nsISeekableStream in 2 classes: nsISeekableStream and nsITellableStream, f=mayhemer, r=froydnj
In the current code there are 3 main issues:

1. nsFileStream is not really thread-safe. There is nothing to protect the
internal members and we see crashes.

2. nsPipeInputStream doesn't implement ::Seek() method and that caused issues
in devtools when a nsHttpChannel sends POST data using a pipe. In order to fix
this, bug 1494176 added a check in nsHttpChannel: if the stream doesn't
implement ::Seek(), let's clone it. This was an hack around nsPipeInputStream,
and it's bad.

3. When nsHttpChannel sends POST data using a file stream, nsFileStream does
I/O on main-thread because of the issue 2. Plus, ::Seek() is called on the
main-thread causing issue 1.

Note that nsPipeInputStream implements only ::Tell(), of the nsISeekableStream
methods. It doesn't implement ::Seek() and it doesn't implement ::SetEOF().

With this patch I want to fix point 2 and point 3 (and consequentially issue 1
- but we need a separate fix for it - follow up). The patch does:

1. it splits nsISeekableStream in 2 interfaces: nsITellableStream and
nsISeekableStream.
2. nsPipeInputStream implements only nsITellableStream.  Doing this, we don't
need the ::Seek() check for point 2 in nsHttpChannel: a simple QI check is
enough.
3. Because we don't call ::Seek() in nsHttpChannel, nsFileStream doesn't do I/O
on the main-thread, and we don't crash doing so.
2018-10-18 13:35:35 +02:00