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

251 Коммитов

Автор SHA1 Сообщение Дата
James Andreou 1c9bd9748d Bug 1277590 - Changed setting docShell to private to opening a private window. r=ehsan
MozReview-Commit-ID: 2NSkp2n0mWy
2016-06-07 18:54:26 -07:00
Chris Peterson 8a9e2d2bd4 Bug 1272513 - Part 2: Remove redundant -Wshadow CXXFLAGS from moz.build files. r=glandium 2016-05-14 00:54:55 -07:00
Paolo Amadini baee8d6170 Bug 1261344 - Fix race condition with the state of Download objects when Application Reputation blocking occurs. r=mak
MozReview-Commit-ID: L0SWRBTnKOh

--HG--
extra : rebase_source : 99bb236f3103029789bfc4babc38bec4febdc996
2016-04-18 14:22:05 +01:00
Paolo Amadini 5c5d54e3a3 Bug 899013 - Interface for customizing the DownloadIntegration module. r=mak
MozReview-Commit-ID: HWmcxXlLdLx

--HG--
extra : rebase_source : ba6b6a751710e7a45cc94baf6449d470c86cbc9f
2016-04-18 14:21:55 +01:00
Paolo Amadini 9f7804275b Bug 1139914 - Downloads with blocked data should be persisted across sessions. r=mak
MozReview-Commit-ID: 4XkSTaNZcLo

--HG--
extra : rebase_source : 98c24ae1561555ddf1c6c12b1fafeb08fa735dd1
2016-03-20 14:25:42 +00:00
Paolo Amadini 44ddde4b6e Bug 1254100 - Part 2 - Downloads blocked by Application Reputation should provide information about the verdict. r=mak
MozReview-Commit-ID: FYH5Tdtbzn

--HG--
extra : rebase_source : a59e79ac247d5f6d039d25f6ee6aea6cf2b5dbe6
2016-03-16 14:29:23 +00:00
Panos Astithas 791f59e59b 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 be2b50a7f8 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 8b8676204b Bug 989960 - Unhandled rejections in DOM Promises should cause xpcshell tests to fail. r=Yoric
--HG--
extra : commitid : yWjnDGhk9j
extra : rebase_source : 24228660defd6971a621d52eee0b79be823c6926
extra : amend_source : ef8de24265fa9026b0f764a63453b816442f7232
extra : source : 3958782fe187026cbc3755ad6eae6920e67fa7d2
2016-02-03 12:58:03 +00:00
Wes Kocher 1b65a8ee2f Backed out changeset e8148cda7d85 (bug 989960) for xpcshell bustage
--HG--
extra : commitid : Bxwy5tzArNN
extra : rebase_source : a15513777534e54d05fda5037f24e15ac089b313
2016-02-01 08:25:19 -08:00
Paolo Amadini ecd744bdef Bug 989960 - Unhandled rejections in DOM Promises should cause xpcshell tests to fail. r=Yoric
--HG--
extra : commitid : 6aGIHyyYqSo
extra : rebase_source : 38fbf5e49d06970555a088c5ea3f8379e2064767
extra : source : 3958782fe187026cbc3755ad6eae6920e67fa7d2
2016-01-30 18:53:56 +00:00
Phil Ringnalda d42eb10039 Back out 3958782fe187 (bug 989960) for Android crashes in test_watchdog_default.js 2016-01-29 20:12:44 -08:00
Paolo Amadini aceee7aafc Bug 989960 - Unhandled rejections in DOM Promises should cause xpcshell tests to fail. r=Yoric
--HG--
extra : commitid : IkcxJUamV6B
extra : rebase_source : 07255457ec607c45037f832ca44a01f17a00da78
2016-01-29 13:19:53 +00:00
Chris Manchester d6f59759cd Bug 1243096 - Remove ini manifests containing only support-files and move their contents to TEST_HARNESS_FILES. r=gps
--HG--
extra : commitid : FyLge9QyfDF
2016-01-27 17:46:34 -08:00
Christoph Kerschbaumer eb33d87f83 Bug 1239913 - Convert toolkit/ to use asyncOpen2 where loadingPrincipal is SystemPrincipal (r=sicking) 2016-01-20 12:42:09 -08:00
Sebastian Kaspari ff06a08f37 Bug 1216537 - Check and request storage permission if file download is started. r=nalexander,paolo
--HG--
extra : commitid : 6O78T9MWQsE
extra : rebase_source : 40b9684f95c8b0c98cd67bed59400496b7b07a25
2016-01-15 19:38:18 +01:00
Dave Townsend 86f03db916 Bug 1229142: Link browser and toolkit test directory to the shared eslintrc files. r=Standard8
--HG--
extra : commitid : CKT2WDkxE4k
extra : rebase_source : 0be50c483317355b1e9af5985d53e85604748432
extra : histedit_source : 65d203f57ebd38b8c130e5db9aaa8ae3f507e7ac
2015-11-30 13:05:00 -08:00
Mrinal Dhar 9c6bcee540 Bug 1113736 - Remove tail.js and add cleanup function call in head.js. r=paolo
--HG--
extra : commitid : KnJulAaqtPN
extra : rebase_source : b3e28bc8b0154751e94a88492207023b17b2064d
extra : amend_source : 120d225f23e4c88c3e6fcd02df42aa3e381b5b9e
2015-12-28 15:05:13 +00:00
Dave Townsend 90346debbf Bug 1229519: Fix download managers to pass eslint checks. r=mak
--HG--
extra : commitid : BtgdmZXVWxF
extra : rebase_source : 80617563b95509660bfab8d1094198dcba367b54
extra : amend_source : 8ebd6e5a65f9162d08fe3bcf7a83c03a35337683
2015-12-03 10:00:18 -08:00
Christoph Kerschbaumer 413a60a063 Bug 1225641 - Change default security flags within NetUtil.newChannel (r=sicking) 2015-11-17 17:35:30 -08:00
Christoph Kerschbaumer fed8644966 Bug 1223437 - Use channel.asyncOpen2 in toolkit/components/jsdownloads/test/unit (r=sicking) 2015-11-15 14:48:38 -08:00
Nigel Babu 48a17dbb0e Backed out changeset 874285de3dc7 (bug 1223437) 2015-11-16 16:03:15 +05:30
Christoph Kerschbaumer a2e6971a04 Bug 1223437 - Use channel.asyncOpen2 in toolkit/components/jsdownloads/test/unit (r=sicking) 2015-11-15 14:48:38 -08:00
Nathan Froyd 01583602a9 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

--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Carsten "Tomcat" Book 08997000eb 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 e7ef778c9d Backed out 1 changesets (bug 1202902) for causing merge conflicts to mozilla-central
Backed out changeset cfc1820361f5 (bug 1202902)

--HG--
extra : rebase_source : 5d3db72337754bc7ab0ed0c30b2896100411ff92
2015-10-07 12:13:45 +02:00
Shu-yu Guo d06b6030f6 Bug 1202902 - Scripted fix the world. 2015-10-06 14:00:31 -07:00
Tooru Fujisawa accd89d4fd Bug 1207498 - Part 1: Remove use of expression closure from toolkit/components/, except tests. r=Gijs
--HG--
extra : commitid : 5yrVqfOUmEG
extra : rebase_source : e2ec30261bd76c1966b0e61fd7e08c2924f270b0
2015-09-24 20:32:23 +09:00
Tooru Fujisawa e5f587574b Backed out changeset 036615ba3257 (bug 1207498) for Linux pgo M(oth) failure
--HG--
extra : commitid : 4RedbQZ6Rzu
2015-09-27 23:42:50 +09:00
Tooru Fujisawa b92d75e47c Bug 1207498 - Part 1: Remove use of expression closure from toolkit/components/, except tests. r=Gijs
--HG--
extra : commitid : 2Gx1wpjvr9w
extra : rebase_source : 0a378fd51f45d3fe71430ad8a37a79a8862bfa76
2015-09-24 20:32:23 +09:00
Chris Peterson 71920a9550 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 64db2267cf 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 71e7b49d88 Bug 377630 - Preventing filename disclosure, by putting downloaded files in a private directory. r=bz
--HG--
extra : rebase_source : 9346c58103e616ac0bb1afe6f91f7ed6a558149c
2015-09-09 09:21:00 +02:00
Nicholas Nethercote f44287005f 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.

--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Dylan Roeh 739c94e3c0 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 a0914ef572 Bug 1159632 - TEST-UNEXPECTED-FAIL | toolkit/components/jsdownloads/test/unit/test_DownloadImport.js when browser.helperApps.deleteTempFileOnExit true. r=paolo
--HG--
extra : rebase_source : e9e802cfa89e68d52a3750829badaae765af9e5e
2015-05-25 21:16:22 +03:00
Wes Kocher 5a81fec5a1 Backed out changeset ee2d0bbca72c (bug 1159632) for windows xpcshell permafail 2015-06-07 18:57:58 -07:00
Magnus Melin 54022f2fcb 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 6d53a55d2f Bug 1162657 - Turn NewChannel deprecation warnings into assertions (r=sworkman,sicking,paolo) 2015-05-13 17:58:52 -07:00
Georg Fritzsche 85c688eba8 Bug 1149754 - Part 1: Rename TelemetryPing.jsm to TelemetryController.jsm. r=vladan
--HG--
rename : toolkit/components/telemetry/TelemetryPing.jsm => toolkit/components/telemetry/TelemetryController.jsm
rename : toolkit/components/telemetry/tests/unit/test_TelemetryPing.js => toolkit/components/telemetry/tests/unit/test_TelemetryController.js
rename : toolkit/components/telemetry/tests/unit/test_TelemetryPingBuildID.js => toolkit/components/telemetry/tests/unit/test_TelemetryControllerBuildID.js
rename : toolkit/components/telemetry/tests/unit/test_TelemetryPingShutdown.js => toolkit/components/telemetry/tests/unit/test_TelemetryControllerShutdown.js
rename : toolkit/components/telemetry/tests/unit/test_TelemetryPing_idle.js => toolkit/components/telemetry/tests/unit/test_TelemetryController_idle.js
2015-04-27 18:07:58 +02:00
Kartikaya Gupta cd5b55f8d6 Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong 2015-04-23 15:10:30 -04:00
Andrea Marchesini cb54385682 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 fb6c1ab12f Bug 1009465 - Set the read-only attribute for temporary downloads on Windows. r=paolo 2015-04-01 23:43:28 +05:30
Jan Beich 697ae28ab5 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 635534a8b0 Bug 1132213 - Remove newChannel2 and asyncFetch2 calls in the "jsdownloads" folder. r=paolo 2015-03-22 01:38:01 +01:00
Hiroyuki Ikezoe fa4702635a Bug 1139254 - Use MockRegistrar in toolkit/components. r=Unfocused 2015-03-24 19:47:00 -04:00
Margaret Leibovic 411e0b6322 Bug 1141550 - (Part 2) Add missing import. r=me 2015-03-16 15:57:49 -07:00
Margaret Leibovic d666ab5c2f Bug 1141550 - Register an AsyncShutdown blocker to persist download changes. r=paolo
--HG--
extra : rebase_source : 0380ee9fc10d75e11c1f29db74f85a24708c36ce
2015-03-16 14:40:00 -07:00
Paolo Amadini b4fb5f75ce Bug 1139942 - Define bug components for Downloads code. r=gps 2015-03-06 14:16:19 +00:00
Jared Wein e8a1e3e4ce Bug 1137909 - part 1: blocked downloads should keep data. r=paolo
--HG--
extra : rebase_source : 2cefb3f9b30f6044b61ce6a6c440f429979b91f1
2015-03-05 12:25:41 -05:00