Commit graph

686 commits

Author SHA1 Message Date
Jorg K
e6b1105269 Bug 1482627 - Switch off test_NewTabUtils.js::getTopFrecentSites_improveSearch for Thunderbird. r=ursula 2018-08-13 02:55:00 +03:00
Ursula Sarracini
130d05505f Bug 1480888 - Implement blocking system for special search shortcut top sites r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D3035

--HG--
extra : moz-landing-system : lando
2018-08-10 19:54:24 +00:00
Brindusan Cristian
3fba2fdf68 Backed out changeset 44e1ccd1d22b (bug 1480888) for xpcshell failure on toolkit/modules/tests/xpcshell/test_CanonicalJSON.js. CLOSED TREE 2018-08-10 19:22:22 +03:00
Ursula Sarracini
24b94b7aae Bug 1480888 - Implement blocking system for special search shortcut top sites r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D3035

--HG--
extra : moz-landing-system : lando
2018-08-10 15:12:58 +00:00
Brindusan Cristian
e40aaf2b8f Backed out changeset d103f117bb84 (bug 1480888) for xpcshell failures on /extensions/test/xpcshell/test_ext_topSites.js. 2018-08-10 08:36:36 +03:00
Ursula Sarracini
114388d304 Bug 1480888 - Implement blocking system for special search shortcut top sites r=k88hudson
Differential Revision: https://phabricator.services.mozilla.com/D3035

--HG--
extra : moz-landing-system : lando
2018-08-09 19:52:16 +00:00
Kris Maglione
c50886cf4e Bug 1480327: Part 2 - Modernize what's left of Log.jsm a bit. r=Mossop
MozReview-Commit-ID: H06rpiZuIEF

--HG--
extra : rebase_source : e10781ffdfaa264370ca95a720298dc3607a079b
2018-08-01 23:23:34 -07:00
Kris Maglione
bf729d7e98 Bug 1480327: Part 1 - Get rid of most of Log.jsm. r=Mossop
MozReview-Commit-ID: JVKJtkLhCDS

--HG--
extra : rebase_source : 8b47dbfaa6f279901b99c93c26eee27f719b1d1d
2018-08-01 23:41:01 -07: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
6e2a493f16 Bug 1369466 - Change consumers to the new location of RemotePageManager. r=mossop
MozReview-Commit-ID: 66YVrSfIpYj

--HG--
extra : rebase_source : 594e8b1ecd3338804efd598f65cc3d61b800306c
2018-07-26 22:09:12 -03:00
Mark Banner
29ebe3f3a8 Bug 1478308 - Remove unnecessary ChromeUtils.imports in toolkit/ r=mikedeboer
MozReview-Commit-ID: 45Tfs2ZZ06r

--HG--
extra : rebase_source : f76738612cb5f78787e9fae8f8c563d5ff5f33d1
2018-07-25 11:00:35 +01:00
Narcis Beleuzu
d47c829065 Backed out 4 changesets (bug 1478308) for ESlint failure on AttributionCode.jsm. CLOSED TREE
Backed out changeset a809b45ff49b (bug 1478308)
Backed out changeset c68131530742 (bug 1478308)
Backed out changeset 0e4ba7a6dc1a (bug 1478308)
Backed out changeset 32a27f317a77 (bug 1478308)
2018-07-26 11:13:28 +03:00
Mark Banner
d95c1526b8 Bug 1478308 - Remove unnecessary ChromeUtils.imports in toolkit/ r=mikedeboer
MozReview-Commit-ID: 45Tfs2ZZ06r

--HG--
extra : rebase_source : 10f2f734c883a1ac85b5dee21df119a4c6ae2898
2018-07-25 11:00:35 +01:00
Dipen Patel
7641beb1f8 Bug 1475647 - Remove nsISSLStatusProvider interface. r=baku,Gijs,jchen,jryans,keeler,mcmanus
- Access nsISSLStatus directly as a member of nsITransportSecurityInfo
and nsISecureBrowserUI.  This is part of a larger effort to consolidate
nsISSLStatus and nsITransportSecurityInfo.
- The TabParent implementation of GetSecInfo will always return null.
- Removed unnecessary QueryInterface calls
- Style adherence updates

MozReview-Commit-ID: Dzy6t2zYljL

--HG--
extra : rebase_source : 9c400bed3c9d29a186fc987c9bd0ffceb37bfd94
2018-07-13 11:48:55 -07:00
Andreea Pavel
d0f6470c17 Backed out changeset c235d6f86c22 (bug 1475647) for breaking firefox ui at testing/firefox-ui/tests/puppeteer/test_tabbar.py on a CLOSED TREE 2018-07-25 19:34:58 +03:00
Dipen Patel
8670057dd5 Bug 1475647 - Remove nsISSLStatusProvider interface. r=baku,Gijs,jchen,jryans,keeler,mcmanus
- Access nsISSLStatus directly as a member of nsITransportSecurityInfo
and nsISecureBrowserUI.  This is part of a larger effort to consolidate
nsISSLStatus and nsITransportSecurityInfo.
- The TabParent implementation of GetSecInfo will always return null.
- Removed unnecessary QueryInterface calls
- Style adherence updates

MozReview-Commit-ID: Dzy6t2zYljL

--HG--
extra : rebase_source : fbfbcf7608efbfb35c9be4018ff0f4e70b2768d2
2018-07-13 11:48:55 -07:00
Boris Zbarsky
6e84b66899 Bug 1476145 part 6. Stop using getInterface(nsIDOMWindowUtils) in toolkit. r=mossop
This is not quite a mechanical change, because some places have a .top or
whatnot snuck in there, so please review carefully!
2018-07-24 19:47:42 -04:00
Boris Zbarsky
270fa12c79 Bug 1476145 part 3. Stop using getInterface(nsIDOMWindowUtils) in browser/. r=gijs 2018-07-24 19:47:41 -04:00
ahillier
659bda3774 Bug 1475012 - fix ordering of getTopFrecentSites in ActivityStreamProvider r=ursula
MozReview-Commit-ID: Eymz3kAoHuX

--HG--
extra : rebase_source : af84f35c0674679b17a09eacca518cc62793a499
2018-07-11 12:26:39 -07:00
Jan-Erik Rediger
cec0d5b4f8 Bug 1445921 - Allow client ID to be set and reset. r=Dexter
MozReview-Commit-ID: K4O9SXlmQkI

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

--HG--
extra : moz-landing-system : lando
2018-07-10 12:51:01 +00:00
Gurzau Raul
dd9a507efe Backed out 4 changesets (bug 1445921) for Linting failure on components/telemetry/tests/unit/test_TelemetryController.js on a CLOSED TREE
Backed out changeset b5bff80b9d18 (bug 1445921)
Backed out changeset b859e76fcc67 (bug 1445921)
Backed out changeset 7c23db3a5f53 (bug 1445921)
Backed out changeset f3ef58bc6b38 (bug 1445921)

--HG--
extra : rebase_source : 00bc0e17ea782a73c5067c1f8d615fc7b80bbabb
2018-07-09 13:06:17 +03:00
Jan-Erik Rediger
03ac1850f6 Bug 1445921 - Allow client ID to be set and reset. r=Dexter
MozReview-Commit-ID: K4O9SXlmQkI

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

--HG--
extra : moz-landing-system : lando
2018-07-05 10:49:45 +00:00
Shane Caraveo
8273682972 Bug 1445836 - finalize topSites api on platform APIs that will be stable, r=Mardak,rpl
MozReview-Commit-ID: Esj5sJweJ4K

--HG--
extra : rebase_source : b965ebb11dc0038574150b78a535798a16fe7226
2018-07-06 09:33:50 -03:00
Mark Banner
34178bd8e9 Bug 1470455 - Add the 'expected' arguments to throws/rejects for toolkit. r=mossop
MozReview-Commit-ID: Ln9EpDpTR91

--HG--
extra : rebase_source : 1ea8752d868051306e2d4734b9a2355120cd2daf
2018-06-22 16:02:22 +01:00
Christoph Kerschbaumer
25caec9ca2 Bug 1463663 - Prefix exported functions of the RemotePageManager with RPM. r=mossop 2018-06-27 09:08:32 +02:00
Ursula Sarracini
db33263bdc Bug 1468389 - Add a src parameter to Pocket URLs in Highlights r=nanj
MozReview-Commit-ID: AFjN4vR11NB

--HG--
extra : rebase_source : 012ed2f5ae068d40bfec64befe5b74695fe11aa1
2018-06-26 10:30:27 -04:00
Julian Descottes
814b067b4a Bug 1078374 - Return empty string in getPath/Selector methods for nodes outside document;r=bgrins
MozReview-Commit-ID: 5hxtjz23vXh

--HG--
extra : rebase_source : be16034feeac2868938bc9a88ec30162f4d99433
2018-06-23 08:29:16 +02:00
Joel Maher
1ef32bf5c6 Bug 1405428 - skip-if = verify on xpcshell tests which do not pass test-verify. r=gbrown 2018-06-13 11:34:40 -04:00
Joel Maher
50b91c0a14 Bug 1405428 - skip-if = verify on mochitests which do not pass test-verify. r=gbrown 2018-06-10 05:01:47 -04:00
Jared Wein
23f6d33e60 Bug 1461477 - Create a CreditCard.jsm to consolidate various credit card handling and validation. r=MattN
MozReview-Commit-ID: 3tJdzU3hBvY

--HG--
extra : rebase_source : bf79b4767ed40e792d1523bd262d527061a21a4c
2018-05-15 12:41:35 -04:00
Bharat Raghunathan
9ad8a95306 Bug 1463183 - Remove all instances of isUniversalBinary since we no longer build universal binaries for macOS r=spohl
MozReview-Commit-ID: FZfVrYtEo13

--HG--
extra : rebase_source : 1ae3d3e3d97255643372b41d0c8a7bdd8ed5537a
2018-05-31 20:04:23 +05:30
Csoregi Natalia
f1eddfcf6a Backed out changeset 9b26de736798 (bug 1461477) for multiple CreditCards failures e.g. browser_manageCreditCardsDialog.js . CLOSED TREE 2018-06-01 21:04:39 +03:00
Jared Wein
2c05715cdd Bug 1461477 - Create a CreditCard.jsm to consolidate various credit card handling and validation. r=MattN
MozReview-Commit-ID: 3tJdzU3hBvY

--HG--
extra : rebase_source : 10f10ef89f2ee20ccd01fb94d230261df19985c6
2018-05-15 12:41:35 -04:00
Mark Banner
5d838d18c1 Bug 1463673 - Add the expected argument to Assert.throws/rejects for various tests in toolkit/. r=mossop
MozReview-Commit-ID: LsWlHC16145

--HG--
extra : rebase_source : d786176c8a1777e2dfb2ca71476cddf6403f2ec3
2018-05-22 19:25:34 +01:00
YUKI "Piro" Hiroshi
b2bd4d25b9 Bug 1455402: Remove size attribute from addon. r=kmag 2018-05-19 23:55:27 +09:00
Brad Werth
46a3581e71 Bug 1436431 Part 3: Add a test to ensure overflow text in the viewport is findable. r=bz
MozReview-Commit-ID: BaXHJlMBmTE

--HG--
extra : rebase_source : 326ffa23918833a06ab71dfd8bd17c73f831fad3
2018-04-25 14:34:59 -07:00
Ryan Hunt
9842287bb1 Bug 1457007 - Fix missing schema information for contentUsesTiling. r=me on a CLOSED TREE 2018-05-02 10:17:49 -05:00
Mark Banner
56b33a87ad Bug 1458230 - Fix test_BinarySearch.js so that it actually runs the intented checks. r=Paolo
Currently, it attempts to override 'ok()', but fails in doing so.

MozReview-Commit-ID: LUp6LRb1Alv

--HG--
extra : rebase_source : 4814ce5684db429af07d9ea9357aa0dedad1a390
2018-05-01 15:23:34 +01:00
Kris Maglione
a259026c9d Bug 1456035: Part 4 - Convert callers of XPCOMUtils.generateQI to ChromeUtils.generateQI. r=mccr8
This also removes any redundant Ci.nsISupports elements in the interface
lists.

This was done using the following script:

acecb401b7/processors/chromeutils-generateQI.jsm

MozReview-Commit-ID: AIx10P8GpZY

--HG--
extra : rebase_source : a29c07530586dc18ba040f19215475ac20fcfb3b
2018-04-22 20:55:06 -07:00
Boris Zbarsky
1df89947b2 Bug 1453869 part 10. Stop constructing DOMParser by contract. r=mrbkap
MozReview-Commit-ID: A0bHF5RHhs6
2018-04-20 23:04:45 -04:00
Boris Zbarsky
4527d58c1c Bug 1453869 part 3. Remove the used-only-in-tests DOMParser.init method. r=mrbkap
Some DOM unit tests rely on being able to parse XUL via DOMParser.  That was allowed due to them calling init() with a system subject principal.  It can be more narrowly allowed by adding an explicit setter for being able to parse XUL/XBL.

MozReview-Commit-ID: 3h0WWGHmYOn
2018-04-20 23:01:24 -04:00
Kris Maglione
903e86e865 Bug 1455458: De-XPIDLify the blocklist service. r=gijs
Going through XPConnect for JS-to-JS access in the blocklist service adds no
benefit, but does add a lot of overhead and maintenance burden.

MozReview-Commit-ID: Lf1mDK0b0B0

--HG--
extra : rebase_source : 410ed3fcf999d7c7775ef4926c89f67d9e342da8
2018-04-19 16:01:24 -07:00
Kris Maglione
f6b6459aa5 Bug 1455176: Prefer stack from the rejection reason object to the rejection stack. r=aswan
MozReview-Commit-ID: 9iYhUBdifm5

--HG--
extra : rebase_source : 918ca4186e0e14fd821d305f3b5c9d964e34608e
2018-04-18 18:18:50 -07:00
Kris Maglione
0f40271841 Bug 1453881: Part 1a - Automatically write add_task(function*) to add_task(async function) r=ochameau
This was done using the script at:

bc5629735d/processors/add-task-async.jsm

MozReview-Commit-ID: KxuS9Cen87

--HG--
extra : rebase_source : c0028e0cd55ba1643610cd30c55c6f4bca7d6e58
extra : histedit_source : ebc84fdec9c2db6176632d62de4e7bdad2a7829d
2018-04-12 21:10:04 -07:00
Narcis Beleuzu
72df6941d4 Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE 2018-04-16 01:28:00 +03:00
Jim Chen
48885775a4 Bug 1452200 - 1b. Add template literal support to Log.jsm; r=markh
Make Log.jsm functions support tagged template literals. For example,
instead of |logger.debug("foo " + bar)| or |logger.debug(`foo ${bar}`)|,
you can now use |logger.debug `foo ${bar}`| (without parentheses).

Using tagged template literals has the benefit of less verbosity
compared to regular string concatenation, with the added benefit of
lazily-stringified parameters -- the parameters are only stringified
when logging is enabled, possibly saving from an expensive stringify
operation.

This patch also fixes a bug in BasicFormatter where consecutive tokens
are not formatted correctly (e.g. "${a}${b}").

MozReview-Commit-ID: 9kjLvpZF5ch

--HG--
extra : rebase_source : ccf4e9fae9fa9ea7581de82296035fcc736ca58e
2018-04-15 14:53:28 -04:00
Gurzau Raul
bd326a2a6b Backed out 5 changesets (bug 1452200) for mochitest-chrome failures on Android on a CLOSED TREE
Backed out changeset ed07fb947b5e (bug 1452200)
Backed out changeset b03e9dc6ecd7 (bug 1452200)
Backed out changeset e4cdad2cd3d2 (bug 1452200)
Backed out changeset 8ac249bdc772 (bug 1452200)
Backed out changeset 225bb7ed5f71 (bug 1452200)
2018-04-15 09:19:04 +03:00
Kris Maglione
44ae2b5cde Bug 1420908: Remove telemetry experiments. r=gfritzsche
MozReview-Commit-ID: 6KEEZ6nKXrU

--HG--
extra : rebase_source : aeb2f66e7ffdba6ac438aaa3fee69b133d2fa2fd
extra : histedit_source : 15eaed2f9013357732660f8b63c28af13abbd870
2018-04-03 15:17:13 -07:00
Kris Maglione
fa5af6622b Bug 1453123: Have CertUtils export a CertUtils object. r=rhelmer
MozReview-Commit-ID: 1XInmbNQ2wo

--HG--
extra : rebase_source : 11784a228a91a1b48eab9319e9c853802e060fc2
extra : amend_source : 7e067210dda9db2228f391e4d53de4d5d5f9a3f9
2018-04-10 13:23:35 -07:00