Commit Graph

52486 Commits

Author SHA1 Message Date
Narcis Beleuzu
fbd301ecde Merge mozilla-central to inbound. CLOSED TREE 2018-11-28 12:02:34 +02:00
Narcis Beleuzu
32a0676730 Merge autoland to mozilla-central. a=merge 2018-11-28 11:48:31 +02:00
Andrea Marchesini
f399725b04 Bug 1503681 - rel=noopener implicit for target=_blank in anchor and area elements when no rel attribute is set - fix tests, r=me 2018-11-28 08:22:06 +01:00
Brindusan Cristian
025923e8bc Backed out 3 changesets (bug 1503681) for geckoview failures on org.mozilla.geckoview.test.GeckoSessionTestRuleTest.waitForChromeJS. CLOSED TREE
Backed out changeset 211c7dfdc408 (bug 1503681)
Backed out changeset 076cc5bece1d (bug 1503681)
Backed out changeset 7a19fe6be68c (bug 1503681)
2018-11-28 11:10:48 +02:00
Andrea Marchesini
d69ebc1ae7 Bug 1503681 - rel=noopener implicit for target=_blank in anchor and area elements when no rel attribute is set - fix tests, r=me 2018-11-28 08:22:06 +01:00
Cosmin Sabou
20c5475d6d Merge mozilla-central to autoland. 2018-11-28 06:11:15 +02:00
Cosmin Sabou
e1e8f2ea69 Merge mozilla-inbound to mozilla-central. a=merge 2018-11-28 06:08:19 +02:00
Kyle Machulis
c241567f0f Bug 1505601 - Turn nsIDocShell XPIDL const lists into cenums; r=bzbarsky
Turn all const lists and related attributes into cenums, to provide a
vague sense of type safety.

Depends on D11715

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

--HG--
extra : moz-landing-system : lando
2018-11-28 03:30:56 +00:00
Thomas Daede
d23a7312fc Bug 1510113 - Never inline SaveToEnv or SaveWordToEnv. r=karlt
This allows Valgrind to recognize the call stacks to this function,
avoiding Valgrind warnings in intentional leaks in these functions.

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

--HG--
extra : moz-landing-system : lando
2018-11-28 03:10:55 +00:00
Timothy Guan-tin Chien
3c5974c14a Bug 1508000 - Dispatch UAWidgetUnbindFromTree event before calling nsGenericHTMLElement::UnbindFromTree() r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D12205

--HG--
rename : toolkit/content/tests/widgets/test_ua_widget.html => toolkit/content/tests/widgets/test_ua_widget_sandbox.html
extra : moz-landing-system : lando
2018-11-28 02:29:38 +00:00
Michael Cooper
8afcdbd07c Bug 1440778 - Implement show-heartbeat as internal Normandy action r=Gijs
The original, server-side implementation of this action was at
68d3e55a9d/client/actions/show-heartbeat/index.js

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

--HG--
extra : moz-landing-system : lando
2018-11-27 21:42:44 +00:00
Victor Porof
6d5a049f43 Bug 1503824 - Migrate the treecols binding into a custom element. r=bgrins 2018-11-27 18:43:58 +01:00
Marco Bonardo
7adb9377d5 Bug 1510281 - Use a private and isolated context for search suggestions. r=mkaply
Differential Revision: https://phabricator.services.mozilla.com/D13082

--HG--
extra : moz-landing-system : lando
2018-11-27 17:18:28 +00:00
arthur.iakab
af07f9b9d4 Backed out 13 changesets (bug 1500948, bug 1509362, bug 1509591, bug 1448426, bug 1500949, bug 1487249, bug 1509930, bug 1500950, bug 1500944) for causing crashes and assertion failures on PBackgroundParent.cpp:696 CLOSED TREE
Backed out changeset c3fe435e473a (bug 1509362)
Backed out changeset 6494840edc17 (bug 1509591)
Backed out changeset 123b5d5a3637 (bug 1509591)
Backed out changeset bce195f98895 (bug 1509930)
Backed out changeset 66db13126408 (bug 1500950)
Backed out changeset 3b5fffae2d2b (bug 1500949)
Backed out changeset 71c3b3677db8 (bug 1500948)
Backed out changeset 784b3b56e2ab (bug 1500944)
Backed out changeset 0bad27401ddb (bug 1500944)
Backed out changeset e0f95dd96d54 (bug 1448426)
Backed out changeset c60fa11538db (bug 1487249)
Backed out changeset 0190d4ffa54f (bug 1487249)
Backed out changeset 3cd10aba9130 (bug 1487249)
2018-11-28 02:57:32 +02:00
Nika Layzell
6bda5576a0 Bug 1509591 - Part 2: Remove now-unnecessary mIPCOpen variable, r=mccr8
This should eliminate most variables which can be replaced with IPCOpen().

Differential Revision: https://phabricator.services.mozilla.com/D12957
2018-11-27 18:09:51 -05:00
Ryan Hendrickson
c81dc8dd55 Bug 1500479 - Part 2: expose tab successors in browser.tabs; r=mixedpuppy,rpl
1. Add successorTabId to the Tab type, so that it will be returned in, e.g.,
   browser.tabs.get calls

2. Extend or create the following methods on the browser.tabs API:
  - update: add successorTabId as an optional property on the provided
    updateProperties object
  - moveInSuccession: new method that manipulates tab successors in bulk

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

--HG--
extra : moz-landing-system : lando
2018-11-26 04:17:00 +00:00
Cosmin Sabou
1f285bb075 Backed out changeset dd482dcb9a31 (bug 1440778) for browser chrome failures on browser_EventEmitter. CLOSED TREE 2018-11-27 22:36:09 +02:00
June Wilde
0899d5f608 Bug 1468552 - Update bspatch.cpp to match Chromium version; r=rstrong
Adds bounds checking around file reads and header values

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

--HG--
extra : moz-landing-system : lando
2018-11-27 18:30:30 +00:00
Chris H-C
2f12fb7b34 bug 1505060 - Support multistore for dynamic scalars r=janerik
The storage approach for dynamic scalars uses nsAtom to ensure we don't
repeatedly store the same string over and over.

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

--HG--
extra : moz-landing-system : lando
2018-11-27 17:48:46 +00:00
Michael Cooper
d652beb76a Bug 1440778 - Implement show-heartbeat as internal Normandy action r=Gijs
The original, server-side implementation of this action was at
68d3e55a9d/client/actions/show-heartbeat/index.js

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

--HG--
extra : moz-landing-system : lando
2018-11-27 19:22:19 +00:00
Raphael Pierzina
69647842f3 Bug 1509915 - Add helper function for waiting for a single ping to telemetry-tests-client; r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D13100

--HG--
extra : moz-landing-system : lando
2018-11-27 18:55:09 +00:00
Jeff Walden
af9a670e28 Bug 1510007 - Move JSFreeOp's definition to js/public/MemoryFunctions.h, and make jsapi.h not #include that header. r=sfink
--HG--
extra : rebase_source : 4d6debefd66b89647df53c104b8560ba2de68abd
2018-11-21 18:11:15 -08:00
Sebastian Hengst
8fdd9b0c47 Backed out changeset 2b4f08a645a0 (bug 1468552) for syntax strictness failure in bspatch.cpp. CLOSED TREE 2018-11-27 18:58:55 +02:00
June Wilde
7b299ca4fc Bug 1468552 - Update bspatch.cpp to match Chromium version; r=rstrong
Adds bounds checking around file reads and header values

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

--HG--
extra : moz-landing-system : lando
2018-11-26 22:01:08 +00:00
Ehsan Akhgari
19ca24926c Bug 1509555 - Part 5: Remove fastblock from tests r=baku
Depends on D12831

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

--HG--
extra : moz-landing-system : lando
2018-11-27 08:57:53 +00:00
Ehsan Akhgari
486b276941 Bug 1509555 - Part 4: Remove nsIWebProgressListener::STATE_BLOCKED_SLOW_TRACKING_CONTENT r=baku
Depends on D12830

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

--HG--
extra : moz-landing-system : lando
2018-11-27 08:56:39 +00:00
Ehsan Akhgari
15bf246249 Bug 1509555 - Part 1: Remove the telemetry probe for measuring the rate at which popular analytics providers get blocked by fastblock r=baku,valentin
Differential Revision: https://phabricator.services.mozilla.com/D12828

--HG--
extra : moz-landing-system : lando
2018-11-27 08:50:36 +00:00
Ehsan Akhgari
4b258c7d53 Bug 1509691 - Ensure that the antitracking backend uses the channel third-party tracking flag r=baku
This makes a difference for doubly nested trackers that are embedded
under the same top-level tracker, with a third-party origin in the
middle, as the test case in this commit has set up things.

The test case here fails without the code changes.

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

--HG--
extra : moz-landing-system : lando
2018-11-27 08:59:09 +00:00
Ehsan Akhgari
697ab66a73 Bug 1509667 - Remove an extremely verbose warning from GetParentPrincipalAndTrackingOrigin() r=baku
It can be expected for the top-level storage area principal to be
null here, so we shouldn't warn about it.

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

--HG--
extra : moz-landing-system : lando
2018-11-27 08:58:11 +00:00
Mike de Boer
1c9d33675e Bug 1496764 - extend search event telemetry to never expire and change the probe owners. r=chutten,Standard8
Differential Revision: https://phabricator.services.mozilla.com/D9229

--HG--
extra : moz-landing-system : lando
2018-11-27 15:15:35 +00:00
Gabriele Svelto
566f669d07 Bug 1509450 - Remove unnecessary inclusions of ContentParent.h and ContentChild.h r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D12728

--HG--
extra : moz-landing-system : lando
2018-11-26 14:49:44 +00:00
Andreas Farre
3ccff85cdd Bug 1502330 - Create BrowsingContext with passed opener. r=qdot
By replacing nsWebBrowser's implementation of the
nsIBaseWindow.initWindow and nsIBaseWindow.create with a new static
nsWebBrowser::Create method we make it possible to pass arguments
directly when creating an nsWebBrowser, for example the opener
BrowsingContext. As a bonus we can do away with
nsWebBrowser::mInitInfo!

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

--HG--
extra : moz-landing-system : lando
2018-11-27 09:59:44 +00:00
Razvan Maries
a81ccbd7c4 Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2018-11-27 11:46:29 +02:00
Razvan Maries
0859e6b10f Merge mozilla-inbound to mozilla-central a=merge 2018-11-27 11:43:31 +02:00
Andreea Pavel
ebe85db8e7 Backed out changeset ad857edac6a5 (bug 1498163) for failing devtools/client/performance/test/browser_perf-telemetry-04.js on a CLOSED TREE 2018-11-27 11:05:28 +02:00
Jan-Erik Rediger
048273b379 Bug 1498168 - Mention new snapshot APIs in documentation r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D12891

--HG--
extra : moz-landing-system : lando
2018-11-27 07:40:17 +00:00
Andreea Pavel
74cd2bf73e Backed out 8 changesets (bug 1446161, bug 1487287, bug 1488993, bug 1474991, bug 1496608) for very frequent automation.py crashes on a CLOSED TREE
Backed out changeset 8b1f88d7bfeb (bug 1487287)
Backed out changeset 8fa5e81ad801 (bug 1487287)
Backed out changeset 7a480161fa0f (bug 1474991)
Backed out changeset 80116391b7fe (bug 1446161)
Backed out changeset 1bdf64b29121 (bug 1446161)
Backed out changeset 37bf52f0e9cf (bug 1446161)
Backed out changeset 8ede2ebe6b7a (bug 1496608)
Backed out changeset cea43bc88c7a (bug 1488993)
2018-11-27 08:53:18 +02:00
Jan-Erik Rediger
c6e72f0819 Bug 1498163 - Migrate external callers to the new snapshot API r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D12890

--HG--
extra : moz-landing-system : lando
2018-11-26 14:34:23 +00:00
Jed Davis
4a53512dbe Bug 1474991 - Add new and improved performance telemetry for child process launching. r=mccr8,mconley,janerik
This patch adds some telemetry histograms:

* CONTENT_PROCESS_LAUNCH_IS_SYNC - boolean, true if the content process
was launched synchronously (blocking the main thread)

* CONTENT_PROCESS_SYNC_LAUNCH_MS - the time consumed by sync launch;
the main thread will be busy or blocked for this entire time

* CONTENT_PROCESS_LAUNCH_TOTAL_MS - the total time elapsed from the
start of async content process launch until the launch promise is
resolved and the ContentParent can be sent IPDL messages

* CONTENT_PROCESS_LAUNCH_MAINTHREAD_MS - the time consumed on the parent
process main thread during async content process launch; typically this
is due to ContentParent::Init.

* CHILD_PROCESS_LAUNCH_MS - for any kind of Gecko child process
(including plugins, GPU, etc.), the time taken in the common process
launch code (which is run off-main-thread)

The probes restricted to async content process launch don't have "async"
in the name because that will eventually become the only kind of content
process launch.

Depends on D8943

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

--HG--
extra : moz-landing-system : lando
2018-11-22 00:06:17 +00:00
Jed Davis
9c8dbd2530 Bug 1446161 - Remove CONTENT_PROCESS_LAUNCH_TIME_MS telemetry. r=mconley,chutten
The CONTENT_PROCESS_LAUNCH_TIME_MS histogram is currently gathering times
from two different spans of the launch process and mixing them together;
it's at best a rough approximation of "launch time".

In addition, with async launch we'll want to gather different metrics
than for sync launch (see comments on bug 1474991).

So I'm removing this histogram and will replace it with separate sync and
async metrics in bug 1474991; I intend to land both bugs' patches at or
near the same time, so we won't have a gap in getting some kind of data.

Depends on D8940

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

--HG--
extra : moz-landing-system : lando
2018-11-22 20:21:03 +00:00
Coroiu Cristina
a2f107533b Merge mozilla-central to autoland a=merge on a CLOSED TREE 2018-11-27 01:03:16 +02:00
Coroiu Cristina
9f7204e754 Merge inbound to mozilla-central a=merge 2018-11-27 00:34:45 +02:00
Ehsan Akhgari
3a09052fe1 Bug 1490811 - Part 3: Add an automated end-to-end integration test for the functionality of the storage access prompt r=baku
This test checks the functionality of the prompt using the utilities of
the antitracking test suite.  It provides a complete end-to-end test
for the functionality of the prompts integrated with the API, including
the necessity to interact with a tracker and implicitly ensuring we do
not show a prompt in that case too.

Depends on D12507

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

--HG--
extra : moz-landing-system : lando
2018-11-26 21:23:20 +00:00
Ehsan Akhgari
cc714b7adc Bug 1490811 - Part 1: Add a permission doorhanger for the storage access API r=baku,johannh
Differential Revision: https://phabricator.services.mozilla.com/D12467

--HG--
extra : moz-landing-system : lando
2018-11-26 21:23:16 +00:00
Patrick Brosset
2a90173ad1 Bug 1509070 - Add histogram to track the type of flex elements selected r=miker
Differential Revision: https://phabricator.services.mozilla.com/D12564

--HG--
extra : moz-landing-system : lando
2018-11-26 16:39:23 +00:00
Shane Caraveo
dfbb130d83 Bug 1489531 Expose telemetry client_id hash to about:addons via cookie r=Gijs,chutten
Differential Revision: https://phabricator.services.mozilla.com/D9317

--HG--
extra : moz-landing-system : lando
2018-11-26 15:26:39 +00:00
James Lee
9cc4a04230 Bug 1507809 - Remove 'ExcludeReadOnlyFolders' option from places' queries r=Standard8
Removed all references to 'ExcludeReadOnlyFolders' since Firefox doesn't
(and will not) support read only folders.

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

--HG--
extra : moz-landing-system : lando
2018-11-26 13:18:05 +00:00
Marco Bonardo
5c77a41d60 Bug 1471811 - "ReferenceError: Services is not defined" in autocomplete.xml. r=Gijs,jorgk
Differential Revision: https://phabricator.services.mozilla.com/D12889

--HG--
extra : moz-landing-system : lando
2018-11-26 12:14:14 +00:00
Jeff Muizelaar
7ca67a1530 Bug 1509536. Extend the lifetime of some painting metrics. r=chutten
We're actively using this metrics in WebRender testing.

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

--HG--
extra : moz-landing-system : lando
2018-11-23 19:51:59 +00:00
Ed Lee
2704f0b07c Bug 1507610 - Allow running find-dupes without all of MOZ_AUTOMATION r=mshal
Differential Revision: https://phabricator.services.mozilla.com/D12065

--HG--
extra : moz-landing-system : lando
2018-11-20 19:35:08 +00:00