Commit Graph

23994 Commits

Author SHA1 Message Date
Bogdan Tara
bd351673a5 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-08-01 01:05:56 +03:00
Bogdan Tara
9c44097a0d Merge inbound to mozilla-central. a=merge 2018-08-01 00:58:55 +03:00
Andrew Swan
ad31645d25 Bug 1451513 Part 3: Make loading the mochitest extension more robust r=kmag
A couple of changes to ensure that the mochitest harness doesn't try to
start executing changes before the mochitest extension is loaded:
1. Fix the marionette driver to wait for an installed extension to
   be started before returning from Addon:install
2. Wait for extension API onStartup() handlers to finish before
   considering a webextension started.

MozReview-Commit-ID: 8YEdNn6s5qh

--HG--
extra : rebase_source : 67e9abadcda82d55ac73c33367ec65cdbf7b823d
2018-07-30 17:03:27 -07:00
Gijs Kruitbosch
dcbec7c8b6 Bug 1478404 - remove _xpcom_categories annotations as they're dead code, r=florian
Support for the _xpcom_categories property was removed in Bug 568691,
but we left a bunch of consumers behind, and it's been cargo-culted a bit more.
We should remove the remaining remnants.

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

--HG--
extra : moz-landing-system : lando
2018-07-31 17:39:25 +00:00
Mark Banner
607107cbb6 Bug 1479764 - Remove nsIAnnotationObserver and annotation notifications. r=mak,lina
MozReview-Commit-ID: I9nNefvgch9

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

--HG--
extra : moz-landing-system : lando
2018-07-31 21:34:42 +00:00
Dave Townsend
389a969138 Bug 1479050: Migrate a number of call-sites to use document.createXULElement. r=bgrins
Differential Revision: https://phabricator.services.mozilla.com/D2489

--HG--
extra : moz-landing-system : lando
2018-07-31 19:13:38 +00:00
Mark Banner
0156f98496 Bug 1479731 - Fix incorrect references to NOMATCH (should be RESULT_NOMATCH) in autocomplete xpcshell-tests. r=adw
MozReview-Commit-ID: KX2ilOl3Ogp

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

--HG--
extra : moz-landing-system : lando
2018-07-31 18:48:05 +00:00
Mark Banner
d406e4961d Bug 1479053 - Remove unused/unnecessary methods from nsIAnnotationService. r=mak
MozReview-Commit-ID: I9qq71RLXYH

Depends on D2473

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

--HG--
extra : moz-landing-system : lando
2018-07-31 11:40:55 +00:00
Mark Banner
3285ea59f0 Bug 1479053 - Remove nsIAnnotationObserver::onPageAnnotationSet/Removed. r=mak
MozReview-Commit-ID: JkUhtuV1fvU

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

--HG--
extra : moz-landing-system : lando
2018-07-31 11:40:52 +00:00
Mark Banner
c79a4c7a5a Bug 1479732 - Fix property name typo in test_asyncExecuteLegacyQueries.js. r=Gijs
MozReview-Commit-ID: 6XxvMKyoO0w

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

--HG--
extra : moz-landing-system : lando
2018-07-31 11:39:08 +00:00
Bogdan Tara
cdd4e81c41 Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-07-31 21:33:21 +03:00
Brindusan Cristian
b9c1a2f365 Backed out 2 changesets (bug 1408129) for browser-chrome failures on /browser/test-oop-extensions/browser_ext_user_events.js. CLOSED TREE
Backed out changeset d25226ca3633 (bug 1408129)
Backed out changeset 7379720ca6f5 (bug 1408129)
2018-07-31 20:40:01 +03:00
Anny Gakhokidze
469c8c4a94 Bug 1461465 - Implement async Clipboard APIs, r=nika,r=enndeakin
MozReview-Commit-ID: 3vCxbaGZtiv
2018-07-31 13:13:02 -04:00
Tom Schuster
ffb71eca60 Bug 1408129 - Remove dead references to InputEventManager. r=aswan
--HG--
extra : rebase_source : 46d6af42a0e04feca374da9af3fbad57a05a97d3
extra : histedit_source : 77eac7170e3a727bfcf17696f78203db7787603a
2018-07-31 02:33:19 +02:00
Andrew Swan
d50724f571 Bug 1477866 Fix documentation typo r=me
--HG--
extra : rebase_source : 1956ab9f3fd39b48cbe359eea4202a07d5e5dfbe
2018-07-30 22:23:04 -07:00
shindli
03094b23f2 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-07-31 13:08:09 +03:00
Jan-Erik Rediger
cf41b7134b Bug 1478739 - Don't use object shorthands and arrow functions in HCT. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D2508

--HG--
extra : moz-landing-system : lando
2018-07-30 17:26:17 +00:00
Mark Banner
4b4fb0e535 Bug 1468980 - Remove nsIDownloadHistory.idl. r=mak
MozReview-Commit-ID: IDHmOmJRJfe

--HG--
extra : rebase_source : 9f4f935740eb490ccc46620f0b4dad205289ae64
2018-07-27 15:24:53 +01:00
Mark Banner
d20e34a9ab Bug 1468980 - Change downloads code to save downloads via the new async history API. r=mak
MozReview-Commit-ID: BeKPtVH43RF

--HG--
extra : rebase_source : a12866b36a31e7036493451fcec3c3d0d929b079
2018-07-27 11:35:27 +01:00
Mark Banner
1bafa1f3a2 Bug 1468980 - Add an annotations parameter to PlacesUtils.history.update to retrieve any annotations. r=mak
MozReview-Commit-ID: 9pobdfHodcG

--HG--
extra : rebase_source : 05e9dea7b9cced745023c424db07d8e64cbccca0
2018-07-25 07:34:35 +01:00
Shane Caraveo
aad6d3674f Bug 1378647 - support creating lazy tabs from extensions, r=JanH,mikedeboer,rpl
MozReview-Commit-ID: 9QMkNtCQG6P

--HG--
extra : rebase_source : 1c4d57ac25b00d0a63901f4fd00b11e0b5d765a5
2018-07-30 12:15:32 -03:00
Sebastian Hengst
867029f2df Bug 1479380 - update bugzilla component in moz.build file for toolkit/components/downloads to 'Toolkit :: Downloads API'. r=mak
MozReview-Commit-ID: FPI90yZmSo5

--HG--
extra : rebase_source : 083ebb26c07faa999544bdc59d98c04116699cf6
2018-07-30 12:39:00 +03:00
Tarek Ziadé
a3fdf4760e Bug 1477943 - Add a unique id per PerformanceCounter instance - r=baku,froydnj
This new id is added in the PerformanceInfo data and helps consumers distinguish
counters.

MozReview-Commit-ID: 7kEmqJcVggM

--HG--
extra : rebase_source : 40cca4c937f846db93ec1315036ad1bac04bc762
2018-07-27 11:44:22 +02:00
Kris Maglione
031076f2f3 Bug 1463291: Move docShell getter from Document to Window. r=bz
DocShells are associated with outer DOM Windows, rather than Documents, so
having the getter on the document is a bit odd to begin with. But it's also
considerably less convenient, since most of the times when we want a docShell
from JS, we're dealing most directly with a window, and have to detour through
the document to get it.

MozReview-Commit-ID: LUj1H9nG3QL

--HG--
extra : source : fcfb99baa0f0fb60a7c420a712c6ae7c72576871
extra : histedit_source : 5be9b7b29a52a4b8376ee0bdfc5c08b12e3c775a
2018-05-21 16:58:23 -07:00
Kris Maglione
02ba563399 Bug 1463016: Part 5 - Add domWindow property to DocShellTreeItem and update callers to use it. r=nika
MozReview-Commit-ID: FRRAdxLHRtG

--HG--
extra : source : 0d69b4fb1ed43751cfcbc0b4f2fe3b6a49bc0494
extra : histedit_source : d0ce31513ffaae2fd7f01f6567a97b6d2d96b797%2Cfff837de7a00fa90809d2c3e755097180dfd56d8
2018-05-20 18:10:16 -07:00
Narcis Beleuzu
561ccb2ceb Backed out 2 changesets (bug 1463016, bug 1463291) for geckoview failures
Backed out changeset fcfb99baa0f0 (bug 1463291)
Backed out changeset 0d69b4fb1ed4 (bug 1463016)
2018-07-29 03:55:23 +03:00
Kris Maglione
cb1ee1e34d Bug 1463291: Move docShell getter from Document to Window. r=bz
DocShells are associated with outer DOM Windows, rather than Documents, so
having the getter on the document is a bit odd to begin with. But it's also
considerably less convenient, since most of the times when we want a docShell
from JS, we're dealing most directly with a window, and have to detour through
the document to get it.

MozReview-Commit-ID: LUj1H9nG3QL

--HG--
extra : rebase_source : a13c59d1a5ed000187c7fd8e7339408ad6e2dee6
2018-05-21 16:58:23 -07:00
Kris Maglione
636f1839e5 Bug 1463016: Part 5 - Add domWindow property to DocShellTreeItem and update callers to use it. r=nika
MozReview-Commit-ID: FRRAdxLHRtG

--HG--
extra : rebase_source : 36565ef5e74360aad14062005e5bdab2939e888b
2018-05-20 18:10:16 -07:00
Kris Maglione
6423b7be40 Bug 1476405: Part 5 - Create nsThread wrapper and use reasonable stack size for BackgroundHangMonitor. r=erahm
BackgroundHangMonitor is a special snowflake, and uses PR_CreateThread
directly, for some reason.

MozReview-Commit-ID: 2Qg28EqDwM7

--HG--
extra : rebase_source : b59ac1b42ae283a1bcabe4e24ac3df92a11de6e2
extra : intermediate-source : 771288dbf8529d45786b42a21dc66b180bb674ca
extra : source : b2a99f50e642cc3dc41ab540e7639d2c39bbe75b
2018-07-20 13:31:14 -07:00
Bogdan Tara
4916c9a0b3 Merge inbound to mozilla-central. a=merge 2018-07-29 00:48:22 +03:00
Jan de Mooij
80adc67aba Bug 1478955 part 1 - Rename JSAutoRealm to JSAutoRealmAllowCCW. r=luke 2018-07-28 12:12:26 +02:00
Gurzau Raul
db79375c66 Merge inbound to mozilla-central. a=merge 2018-07-28 12:45:44 +03:00
Cosmin Sabou
d71fce60ce Merge mozilla-central to mozilla-inbound. a=merge 2018-07-28 01:56:40 +03:00
dvarga
6da1abdab8 Merge autoland to mozilla-central. a=merge 2018-07-28 01:30:42 +03:00
Cosmin Sabou
778ca4f84f Backed out 8 changesets (bug 1476405) for causing frequent failures in bug 1479022. a=backout
Backed out changeset ad1674e9152d (bug 1476405)
Backed out changeset e0a021b27d2c (bug 1476405)
Backed out changeset 771288dbf852 (bug 1476405)
Backed out changeset aeebad4f2dc3 (bug 1476405)
Backed out changeset 4831cbfd03de (bug 1476405)
Backed out changeset 0b0c243a1827 (bug 1476405)
Backed out changeset 236b366fdf37 (bug 1476405)
Backed out changeset c767b1b618fb (bug 1476405)
2018-07-28 01:25:25 +03:00
Tarek Ziadé
22f99a12a7 Bug 1468550 - Track webextension activity - r=kmag
Adds a performance counter in ParentAPIManager to track the
number and duration of API calls by webextensions.

MozReview-Commit-ID: PTpaSCkE6A

--HG--
extra : rebase_source : 21c6c7f2e38c8808771fe4fea90d2750196202bd
2018-07-27 19:26:12 +02:00
Dorel Luca
3e8fbc2f0f Merge mozilla-central to autoland 2018-07-27 13:44:50 +03:00
Dorel Luca
704612cf44 Merge mozilla-inbound to mozilla-central. a=merge 2018-07-27 13:19:26 +03:00
Petru
f433bf7751 Bug 1471144 - Add gtest coverage for 'CombinedStacks' . r=janerik
Tested the functionality of 'CombinedStacks'. Added coverage for 'AddStack' and 'RemoveStack' methods.

MozReview-Commit-ID: CxBZHHZMN3z

--HG--
extra : rebase_source : 72ded4aebcbcd7b6a9e1b510326f64670b7b0f55
2018-07-26 01:00:06 +03:00
Dimi Lee
fdb4d54a9e Bug 1407123 - Wait for the update task to be finished before running next test case. r=francois
The test_partialUpdateV4() test case doesn't wait for the update task
to be finished. It checks the status in the HTTP server side and then calls
run_next_test(). However, when XPCShell test is done, it will trigger
the shutdown process and hence interrupt the ongoing update task.

This cause the xpcshell test receives an error since the update is
interrupted and returns an error like NS_ERROR_UC_UPDATE_SHUTDOWNING.

This patch also fixes a javascript error that we didn't stop the httpd
server when cleanup.

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

--HG--
extra : moz-landing-system : lando
2018-07-26 18:26:19 +00:00
Kris Maglione
17c3f2e113 Bug 1476405: Part 5 - Create nsThread wrapper and use reasonable stack size for BackgroundHangMonitor. r=erahm
BackgroundHangMonitor is a special snowflake, and uses PR_CreateThread
directly, for some reason.

MozReview-Commit-ID: 2Qg28EqDwM7

--HG--
extra : source : b2a99f50e642cc3dc41ab540e7639d2c39bbe75b
extra : histedit_source : 603bd726eafdb53aaafd98337b41da1259464cc7
2018-07-20 13:31:14 -07:00
Coroiu Cristina
6d037d0cba Backed out 9 changesets (bug 1476405) for causing leaks
Backed out changeset 4113d6fb3c1c (bug 1476405)
Backed out changeset cb7f7cc32687 (bug 1476405)
Backed out changeset 6d18a8bd5ee3 (bug 1476405)
Backed out changeset b2a99f50e642 (bug 1476405)
Backed out changeset b5b9d295545d (bug 1476405)
Backed out changeset f092a32a3639 (bug 1476405)
Backed out changeset 6c154f4d9dd9 (bug 1476405)
Backed out changeset d0ebb3aa8e0f (bug 1476405)
Backed out changeset 06b8093ddc6a (bug 1476405)
2018-07-27 08:56:36 +03:00
Kris Maglione
b31ab147b7 Bug 1476405: Part 5 - Create nsThread wrapper and use reasonable stack size for BackgroundHangMonitor. r=erahm
BackgroundHangMonitor is a special snowflake, and uses PR_CreateThread
directly, for some reason.

MozReview-Commit-ID: 2Qg28EqDwM7

--HG--
extra : rebase_source : dd924decb23d1d8107eb317be5d2ac1b92328408
2018-07-20 13:31:14 -07:00
Csoregi Natalia
3708e71462 Merge inbound to mozilla-central. a=merge 2018-07-27 00:58:11 +03:00
Tarek Ziadé
28b39a5a82 Bug 1478684 - null check the list returned by TabGroup::GetTabGroupList() - r=smaug
MozReview-Commit-ID: 7F1QPvA8Ypf

--HG--
extra : rebase_source : fc079d085634d8d7441a916ab8dd749647101f4c
2018-07-26 17:37:20 +02:00
Felipe Gomes
2363722bf4 Bug 1369466 - Move RemotePageManager test to its new location. r=mossop
MozReview-Commit-ID: HbqFgaBWCP8

--HG--
rename : toolkit/modules/tests/browser/.eslintrc.js => toolkit/components/remotepagemanager/tests/browser/.eslintrc.js
rename : toolkit/modules/tests/browser/browser_RemotePageManager.js => toolkit/components/remotepagemanager/tests/browser/browser_RemotePageManager.js
rename : toolkit/modules/tests/browser/testremotepagemanager.html => toolkit/components/remotepagemanager/tests/browser/testremotepagemanager.html
rename : toolkit/modules/tests/browser/testremotepagemanager2.html => toolkit/components/remotepagemanager/tests/browser/testremotepagemanager2.html
extra : rebase_source : 193874a39cf4fd383bd6e28a9536b0602905d4ac
2018-07-26 22:09:34 -03:00
Felipe Gomes
5cad7ebd5d Bug 1369466 - Use Services.ppmm.sharedData instead of initialProcessData on the RemotePageManager. r=mossop
This is an optimization that reduces the memory usage of the registeredUrls list (as it will use shared data among all processes), and makes the Register/Unregister messages unecessary since the changes in sharedData are automatically propagated to all running processes.

The flush() is unfortunately needed to force the propagation in this case, otherwise it would propagate on the next idle tick, and that is not enough to make sure that the RemotePageManager works for the first about:newtab created when starting Firefox

MozReview-Commit-ID: JG3na0XXWA2

--HG--
extra : rebase_source : 1db486512363fc853293ea0ef35f0be8aac882e2
2018-07-26 22:09:27 -03:00
Felipe Gomes
1f6e5850e5 Bug 1369466 - Don't load the RemotePageManager on content processes before necessary. r=mossop
This moves the code responsible for listening for document creation out of RemotePageManagerChild.jsm into process-content.js, so that the rest of the code in RemotePageManagerChild.jsm is not loaded unecessarily.

Note: The Register/Unregister messages are included in this patch for correctness, but they will be removed by optimizations from the next patch

MozReview-Commit-ID: LxV481rfanV

--HG--
extra : rebase_source : 55af52097b4d98052a98327a7d4c6f864eadc37e
2018-07-26 22:09:23 -03:00
Felipe Gomes
dd09961408 Bug 1369466 - Split the RemotePageManager.jsm code into parent/child sides, and put it in a new location. r=mossop
The RemotePageManager.jsm contains code both for the parent and child processes, which makes some code to be unecessarily loaded twice. This patch splits it up in various parts:

RemotePageManagerParent.jsm - code meant for the parent process
RemotePageManagerChild.jsm - code meant for child processes
MessagePort.jsm - code used by both the parent and child code paths (the base MessagePort and MessageListener)

MozReview-Commit-ID: 1fUoQ5Y29xM

--HG--
rename : toolkit/modules/RemotePageManager.jsm => toolkit/components/remotepagemanager/MessagePort.jsm
rename : toolkit/modules/RemotePageManager.jsm => toolkit/components/remotepagemanager/RemotePageManagerChild.jsm
rename : toolkit/modules/RemotePageManager.jsm => toolkit/components/remotepagemanager/RemotePageManagerParent.jsm
extra : rebase_source : 828b57b305274abbf55710bc58325a087e5b6cc4
2018-07-26 22:08:40 -03:00
Florian Quèze
d2bb806dca Bug 1478856 - make the about:performance sort order more stable, r=felipe. 2018-07-27 23:00:30 +02:00