Kris Maglione
a7b308c3a2
Bug 1456686: Part 1 - Fix unused and shadowed explicit imports. r=standard8
...
These issues were previously ignored due to the nature of our global import
rules. They need to be fixed before that rule can be updated.
MozReview-Commit-ID: DCChktTc5TW
--HG--
extra : rebase_source : cffb1c9762191c579d1397c8169e6e7635d229da
extra : histedit_source : dea59ddd2daaae52069c5faceae9149a4f08dd73
2018-04-24 20:18:09 -07:00
Marco Bonardo
57d906ecd0
Bug 1449523 - ContentLinkHandler only picks perfectly sized icons. r=Mardak
...
MozReview-Commit-ID: IY5vOIliWWC
--HG--
extra : rebase_source : 125201afee6771d22ed5079e70b966bb0d193f07
2018-03-28 12:40:02 +02:00
Kirk Steuber
4f68045c04
Bug 1428948 - Add policies to modify the available search engines r=Felipe,florian
...
This adds a policy with the capability of adding search engines, choosing the default search engine, and blocking the installation of new search engines.
Additionally, fixes the messages for errors reported by MainProcessSingleton.addSearchEngine so that the offending URL is printed rather than "[xpconnect wrapped nsIURI]".
MozReview-Commit-ID: HuLT15Rnq0r
--HG--
rename : browser/components/search/test/testEngine.xml => browser/components/enterprisepolicies/tests/browser/opensearchEngine.xml
extra : rebase_source : 7815f5d03395decc39ee2657ba05c071dd332abb
2018-03-02 12:11:16 -08:00
Valentin Gosu
84b854ce2c
Bug 1433958 - Change code that sets nsIURI.userPass to use nsIURIMutator r=mayhemer
...
* Code in XMLHttpRequestMainThread is converted to set the username and password individually. This is because when the parameters are empty, it ended up calling SetUserPass(":") which always returns an error.
MozReview-Commit-ID: 3cK5HeyzjFE
--HG--
extra : rebase_source : f34400c11245d88648b0ae9c196637628afa9517
2018-02-26 20:43:46 +01:00
Florian Quèze
682b1ec3b2
Bug 1440284 - change this.EXPORTED_SYMBOLS back to var EXPORTED_SYMBOLS in JS modules, r=mccr8.
2018-02-23 20:50:01 +01:00
Andrew McCreight
5dec0e0beb
Bug 1432992, part 1 - Remove definitions of Ci, Cr, Cc, and Cu. r=florian
...
This patch was autogenerated by my decomponents.py
It covers almost every file with the extension js, jsm, html, py,
xhtml, or xul.
It removes blank lines after removed lines, when the removed lines are
preceded by either blank lines or the start of a new block. The "start
of a new block" is defined fairly hackily: either the line starts with
//, ends with */, ends with {, <![CDATA[, """ or '''. The first two
cover comments, the third one covers JS, the fourth covers JS embedded
in XUL, and the final two cover JS embedded in Python. This also
applies if the removed line was the first line of the file.
It covers the pattern matching cases like "var {classes: Cc,
interfaces: Ci, utils: Cu, results: Cr} = Components;". It'll remove
the entire thing if they are all either Ci, Cr, Cc or Cu, or it will
remove the appropriate ones and leave the residue behind. If there's
only one behind, then it will turn it into a normal, non-pattern
matching variable definition. (For instance, "const { classes: Cc,
Constructor: CC, interfaces: Ci, utils: Cu } = Components" becomes
"const CC = Components.Constructor".)
MozReview-Commit-ID: DeSHcClQ7cG
--HG--
extra : rebase_source : d9c41878036c1ef7766ef5e91a7005025bc1d72b
2018-02-06 09:36:57 -08:00
Kris Maglione
918ed6c474
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
extra : intermediate-source : 34c999fa006bffe8705cf50c54708aa21a962e62
extra : histedit_source : b2be2c5e5d226e6c347312456a6ae339c1e634b0
2018-01-29 15:20:18 -08:00
Cosmin Sabou
9a65a40178
Backed out 3 changesets (bug 1431533) for Android mochitest failures on testEventDispatcher on a CLOSED TREE
...
Backed out changeset a1eca62826a1 (bug 1431533 )
Backed out changeset 34c999fa006b (bug 1431533 )
Backed out changeset e2674287e57f (bug 1431533 )
2018-01-30 07:17:48 +02:00
Kris Maglione
6476f95b13
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
--HG--
extra : source : 12fc4dee861c812fd2bd032c63ef17af61800c70
2018-01-29 15:20:18 -08:00
Brindusan Cristian
af8879d1eb
Backed out 2 changesets (bug 1431533) for ESlint failures on a CLOSED TREE
...
Backed out changeset 6e56f4c8843e (bug 1431533 )
Backed out changeset 12fc4dee861c (bug 1431533 )
2018-01-30 02:32:43 +02:00
Kris Maglione
c276bb9375
Bug 1431533: Part 5a - Auto-rewrite code to use ChromeUtils import methods. r=florian
...
This was done using the following script:
37e3803c7a/processors/chromeutils-import.jsm
MozReview-Commit-ID: 1Nc3XDu0wGl
--HG--
extra : rebase_source : c004a023389f1f6bf3d2f3efe93c13d423b23ccd
2018-01-29 15:20:18 -08:00
Ed Lee
fa67d26a4d
Bug 1422289 - ContentLinkHandler should guess icon type from the extension when type is not defined. r=mak
...
MozReview-Commit-ID: HfuqudW77jM
--HG--
extra : rebase_source : bd05319fa3dd8970e1d1e91d8ddcc831f77a1cd4
2017-12-01 14:11:08 -08:00
Marco Bonardo
d02470df30
Bug 1403829 - Prefer fetching properly sized favicons from pages. r=Mardak
...
MozReview-Commit-ID: CzMHWzsGuRo
--HG--
extra : rebase_source : a2473653d45c280448a598dfe131067948cce8bc
2017-11-03 12:07:16 +01:00
Dan Banner
7caa92d5d8
Bug 1408777 - Automatically fix instances of missing semicolons in the tree. r=Standard8
...
MozReview-Commit-ID: Jm8BRgt6mIv
2017-10-15 20:50:39 +01:00
Marco Bonardo
77a1296e26
Bug 1402373 - Slack's red badge favicon is shown for no reason and then isn't cleared when all messages are read. r=Mardak,nanj
...
MozReview-Commit-ID: D1t9xo3Dlfv
--HG--
rename : browser/base/content/test/general/.eslintrc.js => browser/base/content/test/favicons/.eslintrc.js
rename : browser/base/content/test/general/discovery.html => browser/base/content/test/favicons/discovery.html
extra : rebase_source : 5282f27a55a37e3c75fe54f5b5edb050b7906fb4
2017-09-28 17:32:57 +02:00
Marco Bonardo
45a04bb796
Bug 1401777 - don't use rich icons for tabs. r=Mardak
...
MozReview-Commit-ID: DcqxEme7hfx
--HG--
extra : rebase_source : a134d0cae3cad93d9a7c8285abc76c694ef7da33
2017-09-21 10:21:50 +02:00
Sebastian Hengst
ae02a28d9f
Backed out changeset 6b44b9c6114a (bug 1401777) for frequent failures in browser/base/content/test/general/browser_discovery.js on Linux. r=backout
2017-09-25 18:55:38 +02:00
Marco Bonardo
24547c71f9
Bug 1401777 - don't use rich icons for tabs. r=Mardak
...
MozReview-Commit-ID: DcqxEme7hfx
--HG--
extra : rebase_source : 032e3804c99e9285b33abdb07e134af35a6fcbbe
2017-09-21 10:21:50 +02:00
Sebastian Hengst
248b760c2d
Backed out changeset 698252497ed8 (bug 1401777) for failing browser-chrome's browser/base/content/test/general/browser_discovery.js. r=backout
2017-09-24 21:43:23 +02:00
Marco Bonardo
9d60802367
Bug 1401777 - don't use rich icons for tabs. r=Mardak
...
MozReview-Commit-ID: DcqxEme7hfx
--HG--
extra : rebase_source : 53a267ec30cd850b1b63911f0deb553ee24b88c6
2017-09-21 10:21:50 +02:00
Sebastian Hengst
e1664a3d4e
Backed out changeset 9c0e1bf558e6 (bug 1401777) for failing browser_discovery.js. r=backout
2017-09-22 17:16:25 +02:00
Marco Bonardo
747ec544c2
Bug 1401851 - Skip masked favicons in ContentLinkHandler until we support them. r=nanj
...
MozReview-Commit-ID: 99du7AD11x7
--HG--
extra : rebase_source : 488da59a8dcd3c233d9dda38ccb2535b787e9985
2017-09-21 10:02:38 +02:00
Marco Bonardo
d088caae0a
Bug 1401777 - don't use rich icons for tabs and remove crisp filters making hi res icons look blocky. r=Mardak
...
MozReview-Commit-ID: DcqxEme7hfx
--HG--
extra : rebase_source : edc6989f8e16a8dced8ed0903f5cbbcfe846a517
2017-09-21 10:21:50 +02:00
Kershaw Chang
3ccf2143f7
Bug 1247843 - Part 2: Set request context ID for the channel used to load favicon. r=mak
...
This patch covers two cases when loading a favicon:
1. Get the request context ID of the document load group, when <link rel="icon"> is found in the page.
2. Use the top level document's request context ID when using the default favicon.
2017-09-20 20:09:00 -04:00
Nan Jiang
dcc9a5e00a
Bug 1352459 - Collect rich icons in ContentLinkHandler. r=mak,Mardak
...
MozReview-Commit-ID: GrjpuyvY7nm
--HG--
extra : rebase_source : a1800ae9f1626aeeea311ea85c81e50b5dd2094c
2017-09-12 09:47:51 -04:00
Wes Kocher
7c80405558
Backed out changeset 5ed9b657a1ce (bug 1352459) for xperf failures a=backout CLOSED TREE
...
MozReview-Commit-ID: 9XmmBsTf39a
2017-09-12 18:06:16 -07:00
Nan Jiang
f94db93911
Bug 1352459 - Collect rich icons in ContentLinkHandler. r=mak,Mardak
...
MozReview-Commit-ID: GrjpuyvY7nm
--HG--
extra : rebase_source : a1800ae9f1626aeeea311ea85c81e50b5dd2094c
2017-09-12 09:47:51 -04:00
Florian Queze
b6597dcb0c
Bug 1359111 - stop using BrowserUtils.makeURI, r=jaws.
2017-04-25 09:21:49 +02:00
Andrew McCreight
c188818aea
Bug 1350878 - ContentLinkHandler.jsm does not use its NetUtil.jsm import. r=mikedeboer
...
MozReview-Commit-ID: 7CJk7P3JfML
--HG--
extra : rebase_source : 31bbc83af140fb3eabd5f78cc85695df79c6cf0f
2017-03-22 14:59:33 -07:00
Florian Quèze
85611a7b6d
Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
...
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Jared Wein
9141469edf
Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
...
MozReview-Commit-ID: FuVu8skcqOe
--HG--
extra : rebase_source : 8ab34c4e46a7c3075b459bf44786ec184d10d203
2016-12-30 21:47:25 -05:00
Jared Wein
ecab54a7c9
Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
...
MozReview-Commit-ID: 7E7LPorrEje
--HG--
extra : rebase_source : 0572a35415a766a3f31d266760ecd07f0dcc3f72
2016-12-29 18:34:54 -05:00
Wes Kocher
0dfb7c2b5c
Backed out 3 changesets (bug 1325464) for xpcshell failures a=backout
...
Backed out changeset 562ddc32cc21 (bug 1325464)
Backed out changeset cd10db6087dd (bug 1325464)
Backed out changeset 4079437c4648 (bug 1325464)
2016-12-29 14:05:44 -08:00
Jared Wein
7255df4e9a
Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
...
MozReview-Commit-ID: 8WoGr8i6oCR
--HG--
extra : rebase_source : da7172285d43b820421557ed3b05887e091ff939
2016-12-29 15:20:47 -05:00
Jared Wein
fd84c776c7
Bug 1292042 - Enable the keyword-spacing rule for eslint. Most of this patch was autogenerated by 'eslint --fix'. Files with .xml extension needed to be changed by hand due to limitations of custom plugin. r=markh
...
MozReview-Commit-ID: EMjJ3yWt9Wt
--HG--
extra : rebase_source : 2b8327e5a7cf0bfd190d696ad5fe475f13faa3cc
2016-08-04 03:28:58 -04:00
Blake Kaplan
38ab2d74ce
Bug 1289944 - Remove now-unneeded blob URL hack for favicons. r=felipe
2016-07-28 11:51:59 -07:00
Pushpankar
c6670d980f
Bug 1286854 - Replace ownerDocument.defaultView with ownerGlobal in browser/. r=dao
...
--HG--
extra : rebase_source : 72d50e73baf595840a2aade57ae782e4c40d4c27
2016-07-16 10:20:04 +02:00
Christoph Kerschbaumer
031a59734b
Bug 1196013 - Use channel->ascynOpen2 in toolkit/components/places. r=billm r=sicking r=mak
2016-05-23 23:57:31 +02:00
Christoph Kerschbaumer
eb68ff098e
Bug 1269353 - Use channel.asyncOpen2() within ContentLinkHandler (r=blassey)
2016-05-06 15:22:11 +02:00
Brad Lassey
cd4d553008
bug 1184739 - Blob URLs as favicons don't work r=felipe
2016-03-25 10:06:38 -04:00
Blake Kaplan
a399b8c42c
Bug 1186139 - Don't use a sync message where we don't have to. r=felipe
2016-03-25 15:38:10 -07:00
Christoph Kerschbaumer
b0f3027a6c
Bug 1119386 - Part 3: Use document's principal for favicons in browser (r=billm)
2015-11-24 13:32:10 -08:00
Tooru Fujisawa
82b5d4c859
Bug 1207490 - Part 10: Remove use of expression closure from browser/modules/ContentLinkHandler.jsm. r=Gijs
...
--HG--
extra : commitid : HjblOSYSyQl
extra : rebase_source : 692d0c3392e701fcc24f6105a28e4890147b0f3f
2015-09-23 17:57:37 +09:00
Christoph Kerschbaumer
9f1e9e2eaa
Bug 1048048 - add preload content policy types for images (r=seth)
...
--HG--
extra : source : 88c2333ff7455b6988eb8d6ccc5e92b414a7ccf8
2015-09-20 14:55:59 -07:00
Wes Kocher
cd079d2bf9
Backed out 7 changesets (bug 1048048) for android crashes in various chunks CLOSED TREE
...
Backed out changeset b5abe23a4ea5 (bug 1048048)
Backed out changeset 4f91b10e8be0 (bug 1048048)
Backed out changeset 450d4a13c90e (bug 1048048)
Backed out changeset 6a727c40eb68 (bug 1048048)
Backed out changeset 88c2333ff745 (bug 1048048)
Backed out changeset 740ab1ecd079 (bug 1048048)
Backed out changeset 02c6d6aef163 (bug 1048048)
2015-09-21 09:08:34 -07:00
Christoph Kerschbaumer
19dc79ddbb
Bug 1048048 - add preload content policy types for images (r=seth)
2015-09-20 14:55:59 -07:00
Shu-yu Guo
64db2267cf
Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff)
2015-09-15 11:19:45 -07:00
Bernardo P. Rittmeyer
2551a804af
Bug 1053467 - Add telemetry to measure the usage and values of the sizes attribute of <link rel=icon>. r=MattN
2014-08-20 23:29:00 -04:00
Gijs Kruitbosch
a823b3f20b
Bug 577892 - allow icons to change when href attribute is set directly, with automated test, r=dolske,bz
...
--HG--
extra : rebase_source : 8b74cb3e4c60df4b84c207f2ae1bc371e238d19d
2014-07-03 22:40:52 +01:00
Bill McCloskey
d3a1beb428
Bug 970276 - Don't respect <link rel=""> elements from subframes (r=felipe)
2014-02-10 16:42:18 -08:00