Граф коммитов

11 Коммитов

Автор SHA1 Сообщение Дата
Thomas Wisniewski 2dacf095ab Bug 792808 - Change toolkit/ to import and instantiate XHRs from global properties rather than using Cc.createInstance(Ci.nsIXMLHttpRequest); r=aswan
MozReview-Commit-ID: CUrMOocHBNu

--HG--
extra : rebase_source : 9a3f993cfa9cf1e89c746b4b6507ad3002bd07db
2018-02-08 20:09:57 -05: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
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
Tooru Fujisawa 7ff6b0aae3 Bug 1207497 - Part 1: Remove use of expression closure from toolkit/, exept tests. r=Gijs
--HG--
extra : commitid : 7TOGiSg7KEL
extra : rebase_source : e6c1672e9b7e9d18aa4a430051789b5962c0ec14
2015-09-24 21:20:04 +09:00
Mike Kaply be3d44ed54 Mike Kaply - Bug 1115405 - Remove unnecessary Cu.reportError. r=Mossop 2015-02-09 12:51:52 -06:00
Mike Kaply 300b12fb8f Bug 1119235 - Use null for xhr.send if no postData. r=Mossop
--HG--
extra : rebase_source : 0279058dc09dd0d31971191a6f5edfbe48da0fd7
2015-01-15 13:56:33 -06:00
Blair McBride 89d1cbef27 Bug 451283 - Move log4moz.js to Toolkit as Log.jsm. r=gps,Mossop
--HG--
rename : services/common/log4moz.js => toolkit/modules/Log.jsm
rename : services/common/tests/unit/test_log4moz.js => toolkit/modules/tests/xpcshell/test_Log.js
2013-08-26 11:55:58 -07:00
Patrick Cloke fcdc2004ba Bug 898760 - Twitter says connected but shows nothing: truly make all options of Http.jsm optional, r=Mossop. 2013-08-20 20:16:28 -04:00
Patrick Cloke 64c2e0ae05 Bug 894367 - Handle null postData properly in Http.jsm, r=Mossop. 2013-07-25 21:36:19 -04:00
Mike Conley 50edcd0cce Bug 893316 - Http.jsm doesn't listen to method option parameter. r=Mossop 2013-07-15 09:25:57 +02:00
Patrick Cloke f02f38b438 Bug 884319 - Add http.jsm to toolkit for usage by Thunderbird FileLink, Lightning and Instantbird. r=Mossop 2013-06-20 08:38:32 -04:00