Commit Graph

50 Commits

Author SHA1 Message Date
Marco Bonardo
912e27da25 Bug 1449523 - ContentLinkHandler only picks perfectly sized icons. r=Mardak
MozReview-Commit-ID: IY5vOIliWWC
2018-03-28 12:40:02 +02:00
Kirk Steuber
48df44549c 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
2018-03-02 12:11:16 -08:00
Valentin Gosu
b9160f5ce8 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
2018-02-26 20:43:46 +01:00
Florian Quèze
f1a55f73f8 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
272cee1e65 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
2018-02-06 09:36:57 -08:00
Kris Maglione
0bb74efdf1 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
2018-01-29 15:20:18 -08:00
Cosmin Sabou
f09d6d985d 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
fd67f090b2 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
2018-01-29 15:20:18 -08:00
Brindusan Cristian
483ba301cb 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
683a97d172 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
2018-01-29 15:20:18 -08:00
Ed Lee
8aeda44e3a Bug 1422289 - ContentLinkHandler should guess icon type from the extension when type is not defined. r=mak
MozReview-Commit-ID: HfuqudW77jM
2017-12-01 14:11:08 -08:00
Marco Bonardo
a549674ce5 Bug 1403829 - Prefer fetching properly sized favicons from pages. r=Mardak
MozReview-Commit-ID: CzMHWzsGuRo
2017-11-03 12:07:16 +01:00
Dan Banner
5af4450327 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
e678b6a8fb 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
2017-09-28 17:32:57 +02:00
Marco Bonardo
f44435719c Bug 1401777 - don't use rich icons for tabs. r=Mardak
MozReview-Commit-ID: DcqxEme7hfx
2017-09-21 10:21:50 +02:00
Sebastian Hengst
c82b6a2ef5 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
43adb346a8 Bug 1401777 - don't use rich icons for tabs. r=Mardak
MozReview-Commit-ID: DcqxEme7hfx
2017-09-21 10:21:50 +02:00
Sebastian Hengst
484bac0468 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
c407a50e6c Bug 1401777 - don't use rich icons for tabs. r=Mardak
MozReview-Commit-ID: DcqxEme7hfx
2017-09-21 10:21:50 +02:00
Sebastian Hengst
de12c06a14 Backed out changeset 9c0e1bf558e6 (bug 1401777) for failing browser_discovery.js. r=backout 2017-09-22 17:16:25 +02:00
Marco Bonardo
b24770e8b3 Bug 1401851 - Skip masked favicons in ContentLinkHandler until we support them. r=nanj
MozReview-Commit-ID: 99du7AD11x7
2017-09-21 10:02:38 +02:00
Marco Bonardo
21b8a5d596 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
2017-09-21 10:21:50 +02:00
Kershaw Chang
a72059f797 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
30ffa2b3a5 Bug 1352459 - Collect rich icons in ContentLinkHandler. r=mak,Mardak
MozReview-Commit-ID: GrjpuyvY7nm
2017-09-12 09:47:51 -04:00
Wes Kocher
797fb55e59 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
dcc029b876 Bug 1352459 - Collect rich icons in ContentLinkHandler. r=mak,Mardak
MozReview-Commit-ID: GrjpuyvY7nm
2017-09-12 09:47:51 -04:00
Florian Queze
c9a0637249 Bug 1359111 - stop using BrowserUtils.makeURI, r=jaws. 2017-04-25 09:21:49 +02:00
Andrew McCreight
75252a85e2 Bug 1350878 - ContentLinkHandler.jsm does not use its NetUtil.jsm import. r=mikedeboer
MozReview-Commit-ID: 7CJk7P3JfML
2017-03-22 14:59:33 -07:00
Florian Quèze
63de711857 Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws. 2017-01-17 11:50:25 +01:00
Jared Wein
242ab87626 Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
MozReview-Commit-ID: FuVu8skcqOe
2016-12-30 21:47:25 -05:00
Jared Wein
e3149c378f Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 7E7LPorrEje
2016-12-29 18:34:54 -05:00
Wes Kocher
2d7553dcfd 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
34e228f767 Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN
MozReview-Commit-ID: 8WoGr8i6oCR
2016-12-29 15:20:47 -05:00
Jared Wein
4518d81cb5 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
2016-08-04 03:28:58 -04:00
Blake Kaplan
1a7dd0a15f Bug 1289944 - Remove now-unneeded blob URL hack for favicons. r=felipe 2016-07-28 11:51:59 -07:00
Pushpankar
77a14e357c Bug 1286854 - Replace ownerDocument.defaultView with ownerGlobal in browser/. r=dao 2016-07-16 10:20:04 +02:00
Christoph Kerschbaumer
b3c660bf43 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
8f57c8b75d Bug 1269353 - Use channel.asyncOpen2() within ContentLinkHandler (r=blassey) 2016-05-06 15:22:11 +02:00
Brad Lassey
4e65e77633 bug 1184739 - Blob URLs as favicons don't work r=felipe 2016-03-25 10:06:38 -04:00
Blake Kaplan
fec8c7026e 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
3d6bec528f Bug 1119386 - Part 3: Use document's principal for favicons in browser (r=billm) 2015-11-24 13:32:10 -08:00
Tooru Fujisawa
558f027cad Bug 1207490 - Part 10: Remove use of expression closure from browser/modules/ContentLinkHandler.jsm. r=Gijs 2015-09-23 17:57:37 +09:00
Christoph Kerschbaumer
0e075876c3 Bug 1048048 - add preload content policy types for images (r=seth) 2015-09-20 14:55:59 -07:00
Wes Kocher
7e27875d2c 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
46f476eda8 Bug 1048048 - add preload content policy types for images (r=seth) 2015-09-20 14:55:59 -07:00
Shu-yu Guo
37989840cd 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
2b68b692d0 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
80828dc838 Bug 577892 - allow icons to change when href attribute is set directly, with automated test, r=dolske,bz 2014-07-03 22:40:52 +01:00
Bill McCloskey
578b539a0e Bug 970276 - Don't respect <link rel=""> elements from subframes (r=felipe) 2014-02-10 16:42:18 -08:00
Bill McCloskey
8c6a821222 Bug 961529 - Run DOMLinkHandler in a content script (r=felipe) 2014-02-08 17:41:34 -08:00