Commit Graph

7 Commits

Author SHA1 Message Date
Florian Quèze
f6add2cafd Bug 1433175 - scripted patch to replace Components.classes[, Components.interfaces.nsI, Components.utils. and Components.results. with Cc, Ci, Cu and Cr, r=Mossop. 2018-02-28 18:51:33 +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
Andrea Marchesini
6d91e3cfa6 Bug 1421176 - nsMultiplexInputStream::Available() sanitize - mochitest - r=smaug
This is a test to check if nsMultiplexInputStream supports empty inputStreams.
2017-11-30 20:00:23 +01:00
Cosmin Sabou
a8d7c888e0 Backed out 3 changesets (bug 1421176) for build bustages on xpcom/tests/gtest/TestMultiplexInputStream.cpp:266:3 r=backout on a CLOSED TREE
Backed out changeset e5dd080198e6 (bug 1421176)
Backed out changeset 83964057e1b2 (bug 1421176)
Backed out changeset 3ef41e230c5e (bug 1421176)
2017-11-30 21:31:55 +02:00
Andrea Marchesini
fe823ef158 Bug 1421176 - nsMultiplexInputStream::Available() sanitize - mochitest - r=smaug
This is a test to check if nsMultiplexInputStream supports empty inputStreams.
2017-11-30 20:00:23 +01:00
Andrea Marchesini
b1f0122521 Bug 1363309 - Fix for an intermittent failure in dom/file/ipc/test/test_ipcBlob_fileReaderSync.html, r=me 2017-05-09 11:07:33 +02:00
Andrea Marchesini
71a15650ce Bug 1359359 - Tests for FileReaderSync and IPCBlobInputStream, r=smaug 2017-04-25 22:23:47 +02:00