Commit Graph

245 Commits

Author SHA1 Message Date
Panos Astithas
425e98be18 Bug 1250581 - Enable the browser_DownloadPDFSaver.js test on e10s. r=me
MozReview-Commit-ID: DMVWdfmaIXr
2016-02-26 12:06:36 +02:00
ISHIKAWA, Chiaki
72d38a6835 Bug 1248252 - Improper outdated octal constant syntax in M-C tree. Use '0o' prefix. r=dao
Be warned. Do not attemp to change the .js "test" source code in ./js
They are meant to check

 - the outdated 0666 octal constant is still parsed correctly,
 - the outdated 0666 octal constant raises syntax error flag
   in strict mode, etc.

So leave them alone.
2016-02-15 08:57:00 +01:00
Paolo Amadini
52d209f702 Bug 989960 - Unhandled rejections in DOM Promises should cause xpcshell tests to fail. r=Yoric 2016-02-03 12:58:03 +00:00
Wes Kocher
b914b5fb73 Backed out changeset e8148cda7d85 (bug 989960) for xpcshell bustage 2016-02-01 08:25:19 -08:00
Paolo Amadini
40cb6baf8e Bug 989960 - Unhandled rejections in DOM Promises should cause xpcshell tests to fail. r=Yoric 2016-01-30 18:53:56 +00:00
Phil Ringnalda
129d6694f3 Back out 3958782fe187 (bug 989960) for Android crashes in test_watchdog_default.js 2016-01-29 20:12:44 -08:00
Paolo Amadini
f4353161e9 Bug 989960 - Unhandled rejections in DOM Promises should cause xpcshell tests to fail. r=Yoric 2016-01-29 13:19:53 +00:00
Chris Manchester
835d2f9bd5 Bug 1243096 - Remove ini manifests containing only support-files and move their contents to TEST_HARNESS_FILES. r=gps 2016-01-27 17:46:34 -08:00
Christoph Kerschbaumer
818f65f4da Bug 1239913 - Convert toolkit/ to use asyncOpen2 where loadingPrincipal is SystemPrincipal (r=sicking) 2016-01-20 12:42:09 -08:00
Sebastian Kaspari
88ba0b58f8 Bug 1216537 - Check and request storage permission if file download is started. r=nalexander,paolo 2016-01-15 19:38:18 +01:00
Dave Townsend
fb1e757d42 Bug 1229142: Link browser and toolkit test directory to the shared eslintrc files. r=Standard8 2015-11-30 13:05:00 -08:00
Mrinal Dhar
c7feb8afeb Bug 1113736 - Remove tail.js and add cleanup function call in head.js. r=paolo 2015-12-28 15:05:13 +00:00
Dave Townsend
bea898214f Bug 1229519: Fix download managers to pass eslint checks. r=mak 2015-12-03 10:00:18 -08:00
Christoph Kerschbaumer
ed48ca2d92 Bug 1225641 - Change default security flags within NetUtil.newChannel (r=sicking) 2015-11-17 17:35:30 -08:00
Christoph Kerschbaumer
4ab9e210d3 Bug 1223437 - Use channel.asyncOpen2 in toolkit/components/jsdownloads/test/unit (r=sicking) 2015-11-15 14:48:38 -08:00
Nigel Babu
0092b541a0 Backed out changeset 874285de3dc7 (bug 1223437) 2015-11-16 16:03:15 +05:30
Christoph Kerschbaumer
fc8d9714f3 Bug 1223437 - Use channel.asyncOpen2 in toolkit/components/jsdownloads/test/unit (r=sicking) 2015-11-15 14:48:38 -08:00
Nathan Froyd
e4e2da55c9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
2015-10-18 01:24:48 -04:00
Carsten "Tomcat" Book
d7f143eaad Backed out 2 changesets (bug 1202902) to recking bug 1202902 to be able to reopen inbound on a CLOSED TREE
Backed out changeset 647025383676 (bug 1202902)
Backed out changeset d70c7fe532c6 (bug 1202902)
2015-10-07 14:03:21 +02:00
Carsten "Tomcat" Book
b9e5717f50 Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)
2015-10-07 12:13:45 +02:00
Shu-yu Guo
b5f316de44 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Tooru Fujisawa
7e055fc962 Bug 1207498 - Part 1: Remove use of expression closure from toolkit/components/, except tests. r=Gijs 2015-09-24 20:32:23 +09:00
Tooru Fujisawa
7c5be5da3e Backed out changeset 036615ba3257 (bug 1207498) for Linux pgo M(oth) failure 2015-09-27 23:42:50 +09:00
Tooru Fujisawa
930055842c Bug 1207498 - Part 1: Remove use of expression closure from toolkit/components/, except tests. r=Gijs 2015-09-24 20:32:23 +09:00
Chris Peterson
dd2fcb9b7d Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
Shu-yu Guo
45211869c8 Bug 1202902 - Mass replace toplevel 'let' with 'var' in preparation for global lexical scope. (rs=jorendorff) 2015-09-15 11:19:45 -07:00
Aidin Gharibnavaz
11e60d6a9e Bug 377630 - Preventing filename disclosure, by putting downloaded files in a private directory. r=bz 2015-09-09 09:21:00 +02:00
Nicholas Nethercote
69d088e45f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Dylan Roeh
f7521795e5 Bug 1163937 - Added forceSave function to DownloadIntegration and ensured that downloads removed in Sanitizer do not persist. r=margaret 2015-08-11 15:33:57 -05:00
Magnus Melin
52e3b72808 Bug 1159632 - TEST-UNEXPECTED-FAIL | toolkit/components/jsdownloads/test/unit/test_DownloadImport.js when browser.helperApps.deleteTempFileOnExit true. r=paolo 2015-05-25 21:16:22 +03:00
Wes Kocher
0a3ae5c0aa Backed out changeset ee2d0bbca72c (bug 1159632) for windows xpcshell permafail 2015-06-07 18:57:58 -07:00
Magnus Melin
9877ea8fba Bug 1159632 - TEST-UNEXPECTED-FAIL | toolkit/components/jsdownloads/test/unit/test_DownloadImport.js. r=paolo
The failure occured when browser.helperApps.deleteTempFileOnExit was set to true.
2015-05-25 21:16:22 +03:00
Christoph Kerschbaumer
ec48d470b8 Bug 1162657 - Turn NewChannel deprecation warnings into assertions (r=sworkman,sicking,paolo) 2015-05-13 17:58:52 -07:00
Georg Fritzsche
baaed403ea Bug 1149754 - Part 1: Rename TelemetryPing.jsm to TelemetryController.jsm. r=vladan 2015-04-27 18:07:58 +02:00
Kartikaya Gupta
69c50300c9 Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong 2015-04-23 15:10:30 -04:00
Andrea Marchesini
eff949a801 Bug 1156632 - Remove unused forward class declarations - patch 4 - netwerk image and dom, r=ehsan 2015-04-22 08:29:20 +02:00
Ganesh Sahukari
95e13fe084 Bug 1009465 - Set the read-only attribute for temporary downloads on Windows. r=paolo 2015-04-01 23:43:28 +05:30
Jan Beich
65c52c28dc Bug 1147845 - Drop redundant check to keep blocked download data on Tier3 platforms as well. r=jaws 2015-04-01 08:27:00 +02:00
Aime Galmi
ee6b1bf48f Bug 1132213 - Remove newChannel2 and asyncFetch2 calls in the "jsdownloads" folder. r=paolo 2015-03-22 01:38:01 +01:00
Hiroyuki Ikezoe
de49e6a9f1 Bug 1139254 - Use MockRegistrar in toolkit/components. r=Unfocused 2015-03-24 19:47:00 -04:00
Margaret Leibovic
9629d1ce2b Bug 1141550 - (Part 2) Add missing import. r=me 2015-03-16 15:57:49 -07:00
Margaret Leibovic
f67ae8d6fb Bug 1141550 - Register an AsyncShutdown blocker to persist download changes. r=paolo 2015-03-16 14:40:00 -07:00
Paolo Amadini
ec9c7b6f02 Bug 1139942 - Define bug components for Downloads code. r=gps 2015-03-06 14:16:19 +00:00
Jared Wein
61e6747bda Bug 1137909 - part 1: blocked downloads should keep data. r=paolo 2015-03-05 12:25:41 -05:00
Paolo Amadini
3af59ab61c Bug 1114624 - Don't register the legacy nsIDownloadManager implementation of nsITransfer by default anymore. r=mak,marco,margaret,fabrice 2015-02-05 11:19:01 +00:00
Christoph Kerschbaumer
85128a80bf Bug 1125991 - Make JS callers of ios.newChannel call ios.newChannel2 in toolkit/components/jsdownloads - tests (r=paolo) 2015-02-02 20:10:07 -08:00
Christoph Kerschbaumer
566fd0149b Bug 1125991 - Make JS callers of ios.newChannel call ios.newChannel2 in toolkit/components/jsdownloads (r=paolo) 2015-02-02 20:09:40 -08:00
Ganesh Sahukari
e740a59ab3 Bug 1114594 - Remove promptForSaveToFile in favor of promptForSaveToFileAsync. r=paolo 2015-01-27 16:07:20 -05:00
Ryan VanderMeulen
9fdf069c78 Backed out changeset dd417504346b (bug 1114594) for crashes.
CLOSED TREE
2015-01-27 15:17:39 -05:00
Ganesh Sahukari
a30dd201bb Bug 1114594 - Remove promptForSaveToFile in favor of promptForSaveToFileAsync. r=paolo 2015-01-20 10:11:00 +00:00