Commit Graph

44 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
5e7f8d34a5 Bug 1360320 - Use a temporary directory for testing Entries API, r=smaug 2017-07-04 05:40:50 +02:00
Andrea Marchesini
2f07689108 Bug 1344415 - Introduce a security check about which files can be opened by a content process, r=ehsan
Entries API gives access to the filesystem. With this patch we allow that only
to patches, previously shared by a FilePicker or a DataTransfer event.
2017-03-16 08:53:49 +01:00
Masatoshi Kimura
4f2e64ad3d Bug 1342144 - Remove version parameter from the type attribute of script elements. r=jmaher
This patch is generated by the following sed script:
find . ! -wholename '*/.hg*' -type f \( -iname '*.html' -o -iname '*.xhtml' -o -iname '*.xul' -o -iname '*.js' \) -exec sed -i -e 's/\(\(text\|application\)\/javascript\);version=1.[0-9]/\1/g' {} \;

MozReview-Commit-ID: AzhtdwJwVNg
2017-02-23 06:10:07 +09:00
Andrea Marchesini
964dd600c8 Bug 1335536 - File.createFromNsIFile and File.createFromFileName should be async - part 1 - tests, r=smaug 2017-02-08 10:18:32 +01:00
Andrea Marchesini
243d776c7f Bug 1336091 - File.relativeWebkitPath should not start with '/', r=smaug 2017-02-06 11:07:54 +01:00
Florian Quèze
91f7a2ef3a Bug 1331599 - script-generated patch to replace removeEventListener calls with the once option when possible, r=jaws. 2017-01-25 07:01:52 +01:00
Andrea Marchesini
aa03921b56 Bug 1319088 - FormData should not add extra '/' in the Blob path, r=smaug 2016-12-01 08:59:36 +01:00
Andrea Marchesini
1f24189283 Bug 1303518 - Remove the chrome only constructor for File, r=qdot 2016-11-11 18:56:44 +01:00
Andrea Marchesini
eb959259c8 Bug 1303638 - file.webkitRelativePath must contain the leafName of the parent directory, r=smaug 2016-09-22 13:48:46 +02:00
Andrew Comminos
25176f6519 Bug 1284742 - Replace profile directory traversal with a generated directory tree in dom/filesystem/test/test_basic.html. r=mystor
MozReview-Commit-ID: HSX9i5KDDEj
2016-08-02 15:48:13 -04:00
Andrea Marchesini
4dff77891b Bug 1288681 - Rename HTMLInputElement::directory to HTMLInputElement::allowdirs, r=smaug 2016-07-23 10:20:15 +02:00
Tom Tromey
1b5a2bdb96 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx
2016-07-14 10:16:42 -06:00
Andrea Marchesini
1e2d06c0f8 Bug 1283344 - Enable dom/filesystem/test/test_worker_basic.html again, r=me 2016-07-08 10:07:05 +02:00
Andrea Marchesini
72bcbbf829 Bug 1283344 - Change the creation time of <input type="file"> in some dom/filesystem tests, r=me 2016-07-08 09:08:47 +02:00
Phil Ringnalda
17db66755d Bug 1283344 - disable dom/filesystem/tests/test_worker_basic.html for being number one with a bullet on the Orange Factor hit parade 2016-07-07 21:27:25 -07:00
Andrea Marchesini
91e9f62cf7 Bug 1274999 - Stop GetFilesHelper runnable when the operation is canceled, r=smaug 2016-06-06 11:16:48 +02:00
Andrea Marchesini
a0a13bacf0 Bug 1258489 - Implement HTMLInputElement.webkitdirectory, r=smaug 2016-06-01 12:29:00 +02:00
Andrea Marchesini
4a09dcdf18 Bug 1261693 - Implement HTMLInputElement::GetFiles, r=smaug 2016-05-31 12:54:24 +02:00
Andrea Marchesini
dd40b036d1 Bug 1258633 - Increase the timeout for dom/filesystem tests, r=RyanVM 2016-05-30 16:01:47 +02:00
Wes Kocher
13787fc18b Backed out changeset 77c60a79313d (bug 1261693) for breaking test_basic.html on at least Android CLOSED TREE 2016-05-23 12:46:34 -07:00
Wes Kocher
bc4a58f2ac Backed out changeset 17e20404362d (bug 1258489) 2016-05-23 12:46:05 -07:00
Andrea Marchesini
c218772045 Bug 1258489 - Implement HTMLInputElement.webkitdirectory, r=smaug 2016-05-23 17:02:18 +02:00
Andrea Marchesini
5c37d1232d Bug 1261693 - Implement HTMLInputElement::GetFiles, r=smaug 2016-05-23 17:00:45 +02:00
Andrea Marchesini
2b0364abab Bug 1258490 - patch 3 - Fix Android error failures for root paths, r=me 2016-05-13 17:20:26 +02:00
Andrea Marchesini
3775b9159e Bug 1261694 - HTMLInputElement::GetFilesAndDirectories should return a new promise object, r=smaug 2016-05-13 13:12:34 +02:00
Andrea Marchesini
9e34b9fae4 Bug 1258490 - Implement file.webkitrelativepath, r=smaug 2016-05-13 13:11:38 +02:00
Andrea Marchesini
5fc8fb50be Bug 1265610 - Fixing a JS error in the tests, CLOSED TREE r=me 2016-04-20 13:57:03 +02:00
Andrea Marchesini
62724f127b Bug 1265610 - test_postMessages.html and some dom/filesystem tests requires 'dom.input.dirpicker' to be true, r=smaug 2016-04-20 11:39:33 +02:00
Andrea Marchesini
b4480fa824 Bug 1263992 - patch 1 - Remove DirectoryType enum, r=smaug 2016-04-18 03:32:30 -04:00
Andrea Marchesini
ddc32f5224 Bug 1258694 - Implement Directory::GetFiles(), r=smaug 2016-04-13 07:15:56 -04:00
Andrea Marchesini
c82e01edda Bug 1258482 - FileList should contain only Files, not Directories, r=smaug 2016-04-12 08:51:52 -04:00
Andrea Marchesini
65cc374a11 Bug 1257180 - patch 1 - Directory clonable to workers, r=smaug 2016-04-12 08:50:38 -04:00
Sebastian Hengst
d3fc87adc9 Backed out changeset b416fc68c0a2 (bug 1257180) for crash in test_performance_user_timing.html on Android debug. r=backout on a CLOSED TREE 2016-04-12 17:56:15 +02:00
Sebastian Hengst
7a7e7dc5ea Backed out changeset 166555b48e77 (bug 1258482) 2016-04-12 17:56:00 +02:00
Andrea Marchesini
9b45b36a7e Bug 1258482 - FileList should contain only Files, not Directories, r=smaug 2016-04-12 08:51:52 -04:00
Andrea Marchesini
4109793f74 Bug 1257180 - patch 1 - Directory clonable to workers, r=smaug 2016-04-12 08:50:38 -04:00
Andrea Marchesini
be31b37efc Bug 1258095 - patch 2/3 - Implement Directory::GetPath() correctly, r=smaug 2016-03-30 07:17:56 +01:00
Andrea Marchesini
38efd849d7 Bug 1173320 - patch 7/8 - Tests for FileList and Directories, r=smaug 2016-03-20 11:56:11 +01:00
Phil Ringnalda
9e96cfb31d Backed out 8 changesets (bug 1173320) for adding dom/filesystem/tests/test_basic.html without making it work on Android
Backed out changeset 7e3a105b9160 (bug 1173320)
Backed out changeset 094819fbb07f (bug 1173320)
Backed out changeset 23b0e55ff1db (bug 1173320)
Backed out changeset 8bf8e2fcedad (bug 1173320)
Backed out changeset 3de390c6f47f (bug 1173320)
Backed out changeset fb298010e12e (bug 1173320)
Backed out changeset f1a965c2f796 (bug 1173320)
Backed out changeset 176128ba757f (bug 1173320)
2016-03-19 19:44:22 -07:00
Ryan VanderMeulen
741f289f90 Backed out changeset ed4fe05c868d (bug 125813) for Android test_basic.html failures. 2016-03-19 21:26:57 -04:00
Andrea Marchesini
0c59bcac22 Bug 1258137 - OSFileSystem should not be kept alive by more than 1 Directory, r=smaug 2016-03-19 22:30:24 +01:00
Andrea Marchesini
dc6c312670 Bug 1173320 - patch 7/8 - Tests for FileList and Directories, r=smaug 2016-03-19 22:29:47 +01:00