Commit Graph

619527 Commits

Author SHA1 Message Date
arthur.iakab
d01d9399cc Backed out changeset b969cbe46b14 (bug 1492656)for Android xpcshell failures on unit/test_CoveragePing.js CLOSED TREE 2018-10-19 03:12:23 +03:00
Daniel Holbert
f82f9bd967 Bug 1499542 part 3: Give test_flex_items.html an item that's trivially clamped to small max-size. r=bradwerth
Depends on D9018

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

--HG--
extra : moz-landing-system : lando
2018-10-17 19:15:15 +00:00
Daniel Holbert
9e97acb7ae Bug 1499542 part 2: Skip frozen flex items when recording grow-vs-shrink state and deltas. r=bradwerth
Frozen flex items have already been clamped to their min/max sizes, so their
size-change isn't a "how much we want to flex" measurement, and it's not useful
for determining whether the rest of the line is shrinking.

This patch is just adding a `if (!item->IsFrozen())` check around some code,
and reindenting that code, and adjusting a few comments.

This change is necessary to avoid failing the "GrowthState" assertions,
because (for example) a flex item that's clamped to a small max-width
could fool us into thinking we're in a "shrinking" state (since its final
size is smaller than its base size), even though really we're
in a "growth" state and the item was simply clamped.  We avoid this
problem by skipping (potentially-clamped) frozen items when determining
the line's GrowthState.

Depends on D8922

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

--HG--
extra : moz-landing-system : lando
2018-10-17 18:52:33 +00:00
Daniel Holbert
03b6e5b8d7 Bug 1499542 part 1: Don't do early-freeze of flexible-but-doomed-to-be-clamped flex items, if devtools are active. r=bradwerth
We'd like to be able to record the "desired" (pre-clamped) delta size from
tentatively flexing for these items.  That size would be computed during a loop
of the flex layout algorithm -- but we can't do that if we freeze them before
we start flexing. So let's bypass this early freeze so they get a chance to
compute this tentative size, even though they can never have it.

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

--HG--
extra : moz-landing-system : lando
2018-10-18 23:44:42 +00:00
Eitan Isaacson
429f00ea83 Bug 1499209 - Send abbreviated source bundles with accessibility events. r=Jamie
Depends on D8778

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

--HG--
extra : moz-landing-system : lando
2018-10-18 22:54:10 +00:00
Eitan Isaacson
0ed46eeee9 Bug 1499209 - Refactor AccessibleWrap::ToBundle 1/2. r=Jamie
This refactor does a few things:
1. Unifies the composition of the GeckoBundle, so that some tricky edge
cases don't need to be implemented twice.
2. Allows us to be more frugal with round trip sync ipc calls. Instead
of retrieving everything from the start, only progressivley retrieve
what we need.
3. Sets the groundwork for the next patch that will return from this
function earlier with a smaller bundle.

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

--HG--
extra : moz-landing-system : lando
2018-10-18 22:54:06 +00:00
Aki Sasaki
9a8c355fb0 Bug 1499809 - l10n bumper should touch a status file on success. r=nthomas
Differential Revision: https://phabricator.services.mozilla.com/D9017

--HG--
extra : moz-landing-system : lando
2018-10-18 22:05:51 +00:00
Robert Helmer
3564ee4004 Bug 1492656 - move Telemetry Coverage ping in-tree r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D6359

--HG--
extra : moz-landing-system : lando
2018-10-04 14:15:11 +00:00
arthur.iakab
3d3730188f Backed out changeset 89663382dd1e (bug 1499209),for Android build bustages on AccessibleWrap.cpp:416 2018-10-19 01:27:24 +03:00
arthur.iakab
83433f41f3 Backed out changeset 7d3a598c1285 (bug 1499209),for Android build bustages on AccessibleWrap.cpp:416 2018-10-19 01:26:11 +03:00
Kyle Machulis
0bb3246aa5 Bug 1492648 - Move from nsDocShellLoadInfo to nsDocShellLoadState r=bzbarsky,nika
Creates the nsDocShellLoadState object, which is basically
nsDocShellLoadInfo plus a few extra fields to make it usable as a
single argument to nsDocShell::LoadURI (and eventually
nsDocShell::InternalLoad).

Subframe history handling is a huge logic block in
nsDocShell::LoadURI, which is only used on history loads. This patch
also extracts the logic out into its own function to make the body of
LoadURI clearer.

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

--HG--
rename : docshell/base/nsDocShellLoadInfo.cpp => docshell/base/nsDocShellLoadState.cpp
rename : docshell/base/nsDocShellLoadInfo.h => docshell/base/nsDocShellLoadState.h
extra : moz-landing-system : lando
2018-10-18 22:14:54 +00:00
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
Eitan Isaacson
57af45b1bf Bug 1499209 - Send abbreviated source bundles with accessibility events. r=Jamie
Depends on D8778

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

--HG--
extra : moz-landing-system : lando
2018-10-16 15:48:31 +00:00
Eitan Isaacson
629239b628 Bug 1499209 - Refactor AccessibleWrap::ToBundle 1/2. r=Jamie
This refactor does a few things:
1. Unifies the composition of the GeckoBundle, so that some tricky edge
cases don't need to be implemented twice.
2. Allows us to be more frugal with round trip sync ipc calls. Instead
of retrieving everything from the start, only progressivley retrieve
what we need.
3. Sets the groundwork for the next patch that will return from this
function earlier with a smaller bundle.

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

--HG--
extra : moz-landing-system : lando
2018-10-16 15:48:23 +00:00
Cosmin Sabou
d3c64e672f Merge mozilla-central to autoland. a=merge 2018-10-19 00:57:18 +03:00
Cosmin Sabou
5115d61980 Merge mozilla-inbound to mozilla-central. a=merge 2018-10-19 00:54:29 +03: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
Julian Descottes
8193ff5493 Bug 1499357 - Move inline script out of new aboutdebugging index.html;r=ladybenko
This preparatory work will be necessary to enable CSP for the new about
debugging.

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

--HG--
extra : moz-landing-system : lando
2018-10-18 16:10:35 +00:00
Jeff Gilbert
2e01221c07 Bug 1499858 - Re-enable MP4Demuxer.CENCFragVideo gtest for Windows. r=jya
Differential Revision: https://phabricator.services.mozilla.com/D9030

--HG--
extra : moz-landing-system : lando
2018-10-18 16:47:55 +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
Jeff Gilbert
f5edf1876c Bug 1499864 - WindowsNetworkFunctionsWrapper's dtor should be virtual. r=bagder
Also delete declaration of an unused var.
Both of these are compile warnings on win64 clang-cl.

MozReview-Commit-ID: aOBmtxgpz6

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

--HG--
extra : moz-landing-system : lando
2018-10-18 08:57:46 +00:00
Dana Keeler
1ccf5dc900 bug 1498686 - avoid acquiring TransportSecurityInfo::mMutex in hot code r=jesup,jcj
Before this patch, Necko functions polling the state of TLS sockets
(essentially, TransportSecurityInfo) would cause a considerable amount of
locking on TransportSecurityInfo::mMutex instances via GetErrorCode(). Most of
this code only cared if an error had been set via SetCanceled(), so this patch
adds an atomic boolean mCanceled (and associated accessor GetCanceled()) that
can be used to the same effect but without acquiring the lock.

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

--HG--
extra : moz-landing-system : lando
2018-10-18 20:08:02 +00:00
Mathieu Leplatre
cf4f74d9bf Bug 1486980 - Fetch tippytop collection in one bulk with getAll() r=asuth,nanj
Iterating an IDB cursor generates a lot of overhead. In this patch, we upgrade the kinto-offline to its latest version that uses `getAll()` when no filter is specified. We leverage this change in tippytop, by omitting the filter and filtering the whole list there instead. This allowed us to go from ~1sec on a 1000 entries to ~70ms.

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

--HG--
extra : moz-landing-system : lando
2018-10-18 17:02:24 +00:00
Chris Martin
deeb744526 Bug 1496364 - Minor refactor to stop uninitialized variable warning r=handyman
The compiler warns that jobLevel is uninitialized if none of the if-else
conditions are true. Simply replacing the leading assert with a
"else crash" tells the compiler that case will never actually happen.

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

--HG--
extra : moz-landing-system : lando
2018-10-18 19:14:05 +00:00
David Parks
8ad763743e Bug 1426733: Use restricting SIDs in Windows NPAPI process sandbox (r=bobowen)
Allow NPAPI sandbox to use restricting SIDs.  This hardens the plugin sandbox.

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

--HG--
extra : moz-landing-system : lando
2018-10-18 16:27:56 +00:00
Wes Kocher
8d80925ec8 Bug 1499866 - Update wpt metadata for idlharness.window.js on fennec r=jgraham
Fennec supports orientation attributes and properties, so these were unexpectedly passing.

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

--HG--
extra : moz-landing-system : lando
2018-10-18 14:25:16 +00:00
Mark Striemer
7ddeba7a49 Bug 1499109 - Wrap extension name in about:addons r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D9012

--HG--
extra : moz-landing-system : lando
2018-10-18 18:36:11 +00:00
Mark Striemer
cb69bf2ae4 Bug 1495706 - Move add-on version to list at bottom from heading r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D9058

--HG--
extra : moz-landing-system : lando
2018-10-18 19:20:46 +00: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
Nathan Froyd
f3eed4c3a6 Bug 1499850 - make MediaTimer slightly more efficient; r=pehrsons
Instead of creating a timer and then setting the timer's target, we can
determine the timer's target and pass it in directly when the timer is
created.  This reordering of steps is slightly more efficient, since
SetTarget() is both a virtual call and requires locking, both of which
can be skipped if we know the target at timer creation time.
2018-10-18 07:00:11 -04:00
Margareta Eliza Balazs
201d77abf9 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-10-18 13:27:07 +03:00
Margareta Eliza Balazs
c56977420d Merge inbound to mozilla-central. a=merge 2018-10-18 13:20:43 +03:00
Margareta Eliza Balazs
f4ce95166f Merge autoland to mozilla-central. a=merge 2018-10-18 13:19:19 +03:00
Nicolas Chevobbe
84670f5242 Bug 1499614 - Enable top-level await support on every release channel; r=Honza.
Differential Revision: https://phabricator.services.mozilla.com/D8955

--HG--
extra : moz-landing-system : lando
2018-10-18 10:10:37 +00:00
Nicolas Chevobbe
ee4dfd3370 Bug 1499070 - Fix timestamp for evaluation result; r=Honza.
When sending a command to the server, a timestamp is
computed before evaluating the string, and is then
sent back to the client in the packet.
However, if top-level await, or somme :commands, the
evaluation takes more time, which means the timestamp
is now innacurate.
For those cases, we update the timestamp before sending
the packet to the client.

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

--HG--
extra : moz-landing-system : lando
2018-10-18 09:41:53 +00:00
Margareta Eliza Balazs
53fc8ddacd Backed out 4 changesets (bug 1486954) for hangs on Linux. a=backout
Backed out changeset c895888bdddc (bug 1486954)
Backed out changeset 27e9286503e8 (bug 1486954)
Backed out changeset 87e64652386d (bug 1486954)
Backed out changeset 96a6e1ceb697 (bug 1486954)

--HG--
rename : browser/extensions/formautofill/OSKeyStore.jsm => browser/extensions/formautofill/MasterPassword.jsm
rename : browser/extensions/formautofill/test/browser/browser_creditCard_fill_cancel_login.js => browser/extensions/formautofill/test/browser/browser_creditCard_fill_master_password.js
2018-10-18 12:40:21 +03:00
Jon Coppeard
034bf3c449 Bug 1498980 - Remove module environment from live debugger envionments after execution r=jorendorff 2018-10-18 10:33:33 +01:00