Commit Graph

1208 Commits

Author SHA1 Message Date
Blake Kaplan
336393bb8f Bug 1253307 - Use a better function to load web handler apps in e10s. r=billm r=mconley, a=ritu 2016-03-11 14:31:55 -08:00
Sebastian Kaspari
a6e3892f33 Bug 1240710 - Pick (temporary) download directory depending on whether permission has been granted. r=nalexander,paolo,jchen
As soon as the user clicks on a link to download a file Gecko will start the download - even before prompting the
user. This led to problems when the user hadn't granted the permission to write to the downloads directory yet. The
download would fail even though the user (later) accepted the permission.

With this patch we will start the download to the app's cache directory (only if we do not have the permission) and
prompt the user. As soon as the user has accepted the permission the download will be moved to the public downloads
directory (even while still downloading). If the permission is denied the download will be cancelled.

After the permission has been granted all subsequent downloads will start writing to the downloads directory
directly.


MozReview-Commit-ID: CCqk9h7Sxor
2016-02-18 15:11:42 +00:00
Carsten "Tomcat" Book
3712947f1d merge mozilla-inbound to mozilla-central a=merge 2016-03-03 11:54:40 +01:00
Andrea Marchesini
554300e7bb Bug 1252839 - Remove some if stmt after allocation with 'new' - patch 1, r=bz 2016-03-02 18:50:48 +01:00
J. Ryan Stinnett
eb232136f4 Bug 1238160 - Rename nsILoadContext::GetIsInBrowserElement. r=smaug,mayhemer
This change renames nsILoadContext::GetIsInBrowserElement to
GetIsInIsolatedMozBrowserElement.  Other methods that pass these values around
also have name changes.

Tokens such as "isInBrowserElement" have previously been serialized into cache
keys, used as DB column names, stored in app registries, etc.  No changes are
made to any serialization formats.  Only runtime method and variable names are
updated.

No behavior changes are made in this patch, so some renamed methods may have
nonsensical implementations.  These are corrected in subsequent patches
focused on behavior.

MozReview-Commit-ID: CUttXANQjSv
2016-03-02 10:35:56 -06:00
J. Ryan Stinnett
0af8bf06b1 Bug 1238160 - Rename OriginAttributes.mInBrowser and associated methods. r=bz,mayhemer
This change renames OriginAttributes.mInBrowser to mInIsolatedMozBrowser and
nsIPrincipal::GetIsInBrowserElement to GetIsInIsolatedMozBrowserElement.  Other
methods that pass these values around also have name changes.

Tokens such as "inBrowser" have previously been serialized into cache keys, used
as DB column names, stored in app registries, etc.  No changes are made to any
serialization formats.  Only runtime method and variable names are updated.

No behavior changes are made in this patch, so some renamed methods may have
nonsensical implementations.  These are corrected in subsequent patches
focused on behavior.

MozReview-Commit-ID: 66HfMlsXFLs
2016-03-02 10:35:56 -06:00
Dragana Damjanovic
155721f0d8 Bug 580313 - New resource hints for link. r=smaug 2016-02-26 02:41:00 +01:00
Dragana Damjanovic dd.mozilla@gmail.com
d99562513c Bug 580313 - Use deque instead of manual queue im nsPrefetchService. r=smaug 2016-02-22 10:29:00 +01:00
Florian Quèze
80cfc135eb Bug 1252462 - Enable the test_unsafeBidiChars.xhtml test for e10s, r=paolo. 2016-03-02 14:35:06 +01:00
Nihanth Subramanya
4ab2924bcd Bug 1201437 - Add new WebProgress state flag for user-overridden cert. r=keeler
MozReview-Commit-ID: cvBYSZykK0
2016-02-24 22:46:52 -08:00
Luca Greco
4acc812e2a Bug 1248982 - Fix spelling error in nsOSHelperAppService.mm inline comments. r=jdm
MozReview-Commit-ID: 8QiITYlDd6o
2016-02-17 15:57:15 +01: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
Honza Bambas
eef1670426 Bug 1237783 - Make sure we correctly turn off appcache. r=ehsan 2016-02-05 08:36:00 -05:00
Patrick McManus
2070015cd2 Bug 598790 - nullcheck canceled channel in prefetchnode::onstoprequest r=bz 2016-02-05 12:25:20 -05:00
Birunthan Mohanathas
9bed3781f9 Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
Phil Ringnalda
863943dfb7 Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
CLOSED TREE

Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
f94b4ff6a2 Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00
Kyle Huey
94f653c385 Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Wes Kocher
9cc0b33a50 Backed out changeset a1439ce8da77 (bug 1219482) to hopefully fix the intermittent hazard failures CLOSED TREE 2016-01-29 10:15:26 -08:00
Bill McCloskey
8916b1d998 Bug 1240871 - Don't allow implicit "async" in IPDL (r=mccr8,billm) 2016-01-28 20:56:37 -08:00
sajitk
ea42172bea Bug 1219482 - Replace PRLogModuleInfo with LazyLogModule in uriloader subdirectory. r=erahm 2016-01-28 10:38:00 -05:00
Bogdan Postelnicu
d47590ccca Bug 1243352 - attribute a value for ProxyHandlerInfo::mPrefAction in ProxyHandlerInfo::SetPreferredAction. r=blassey 2016-01-27 16:22:36 +02:00
Nathan Froyd
184c03e2ad Bug 1243488 - use UniquePtr<T[]> instead of nsAutoArrayPtr<T> in uriloader/exthandler/; r=bz 2015-12-06 10:47:18 -05:00
Honza Bambas
21b84bf0aa Bug 1165256 - Make appcache fully work with OriginAttribues. r=jduell 2016-01-18 20:20:08 +01:00
Olli Pettay
14d976b234 Bug 779430, try to not flush layout while we're in process to restore a bfcached document, r=bz 2016-01-16 02:23:21 +02:00
Andrea Marchesini
2d7253a040 Bug 1231378 - part 4 - Fix uninitialized members of classes in netwerk/widget/storage/uriloader/memory/tools, r=smaug 2016-01-12 18:16:59 +00:00
Carsten "Tomcat" Book
8ce45e3221 Backed out changeset d6b0ffe1a7b3 (bug 1231378) 2016-01-12 15:48:54 +01:00
Andrea Marchesini
f98d215bd8 Bug 1231378 - part 4 - Fix uninitialized members of classes in netwerk/widget/storage/uriloader/memory/tools, r=smaug 2016-01-12 13:57:37 +00:00
Ehsan Akhgari
14367186d8 Bug 579517 follow-up: Remove NSPR types that crept in 2015-12-30 22:52:50 -05:00
Jean-Yves Avenard
6a02811ea8 Bug 1234092: P1. Remove GStreamer support. r=kentuckyfriedtakahe
It was now unused by default.
2015-12-23 01:14:22 +11:00
Carsten "Tomcat" Book
edb48de851 Merge mozilla-central to mozilla-inbound 2015-12-21 11:54:26 +01:00
Carsten "Tomcat" Book
97c5920693 merge mozilla-inbound to mozilla-central a=merge 2015-12-21 11:52:31 +01:00
Aidin Gharibnavaz
d99225012a Bug 1233434 - Fixing download failure on a multi-user GNU/Linux machine. r=bagder 2015-12-19 22:11:00 +03:30
Chris Peterson
e488d1191c Bug 1232223 - Part 1: Remove MOZ_WEBM #ifdefs because WebM is always supported, though not necessarily enabled. r=jya r=glandium 2015-12-12 13:49:07 -05:00
Gijs Kruitbosch
e20d04675c Bug 1226120 - add test for unknownContentType.xul and file types with a default handler but always ask set, r=mconley 2015-12-17 17:28:15 +00:00
Birunthan Mohanathas
d631d7a48e Bug 1227569 - Remove unsupported OpenVMS code. r=mccr8 2015-12-18 15:02:50 +02:00
Jonas Sicking
4e8258d392 Bug 1216687: Add nsILoadInfo flags for cookie policies. r=ckerschb 2015-12-06 18:33:15 -05:00
Sebastian Hengst
2d6490dc4b Backed out changeset 09d64535bcda (bug 1216687), a7f1a289dd78, 4dbf06183e6c, 26318a5e3006, 9ae2af3cf86d (bug 1226909) for M(1,2,5) oranges. r=backout 2015-12-05 16:34:47 +01:00
Jonas Sicking
a35bcbf76e Bug 1216687: Add nsILoadInfo flags for cookie policies. r=ckerschb 2015-12-05 01:46:21 -08:00
Blake Kaplan
562f6c2af7 Bug 1116478 - Open web content handlers in the proper tab in e10s. r=billm 2015-12-03 15:04:28 -08:00
Nathan Froyd
a64278a06f Bug 1218454 - part 2a - fix bootlegging of nsContentUtils.h includes from nsILoadContext.h; r=bz 2015-12-01 21:49:38 -05:00
Nathan Froyd
999dd36c0c Bug 1218454 - part 2 - don't #include nsContentUtils.h from CallbackObject.h; r=bz
We used to need nsContentUtils.h here for nsCxPusher, but since that got
moved to ScriptSettings.h, we no longer need nsContentUtils.h for
anything.
2015-10-26 12:14:47 -04:00
Christoph Kerschbaumer
ed48ca2d92 Bug 1225641 - Change default security flags within NetUtil.newChannel (r=sicking) 2015-11-17 17:35:30 -08:00
Yoshi Huang
dc3740f0fa Bug 1209162 - Create OriginAttributes subtypes. IGNORE IDL r=sicking. 2015-11-03 09:50:54 +08:00
Felipe Gomes
304cf49fab Bug 1210617 - [e10s] Implement PrivateBrowsingChannel for ExternalHelperAppParent. r=jduell 2015-11-23 12:20:50 -02:00
Brad Lassey
ef4b082952 bug 1190018 - External protocol handlers don't work in e10s r=mrbkap 2015-08-25 19:42:21 -04:00
Andrew McCreight
4775462cd9 Bug 1222562, part 3 - Enable a single test in uriloader. r=mrbkap 2015-11-10 13:10:23 -08:00
Yoshi Huang
d8ebccb7c1 Bug 1221049 - Use originAttributes from TabContext. r=kanru 2015-11-03 18:53:41 +08:00
Carsten "Tomcat" Book
9f4b4c5bc8 Backed out changeset 3732b1dad003 (bug 1221049) for bustage 2015-11-04 11:52:05 +01:00
Yoshi Huang
eca647127c Bug 1221049 - Use originAttributes from TabContext. r=kanru 2015-11-03 18:53:41 +08:00