Kan-Ru Chen
b6d880aca1
Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
...
The patch is generated from following command:
rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,
MozReview-Commit-ID: AtLcWApZfES
--HG--
rename : mfbt/unused.h => mfbt/Unused.h
2016-08-24 14:47:04 +08:00
Phil Ringnalda
62d1bf1089
Merge m-c to a CLOSED TREE m-i
2016-08-23 22:57:10 -07:00
Ryan VanderMeulen
d63783b351
Merge m-c to autoland. a=merge
2016-08-23 10:07:52 -04:00
Ryan VanderMeulen
82663d8710
Merge inbound to m-c. a=merge
2016-08-23 10:05:18 -04:00
Wes Kocher
730c59fce4
Backed out changeset e1f3ed984607 (bug 1261585) for causing bug 1292586 a=backout
2016-08-22 11:29:04 -07:00
Ryan VanderMeulen
833833b8c5
Merge inbound to m-c. a=merge
2016-08-22 09:40:41 -04:00
Ryan VanderMeulen
14b640ba33
Merge autoland to m-c. a=merge
2016-08-22 09:37:44 -04:00
Christoph Kerschbaumer
3976be42ff
Bug 1288361 - Return a network error for requests whose type is script and response has a MIME type that starts with image. r=dveditz
2016-08-22 08:55:35 +02:00
Nicholas Nethercote
8f84642d03
Bug 1296164 (part 2) - Use [must_use] on nsIFile.open{NSPR,ANSI}FileDesc(). r=froydnj.
...
The patch also changes RemoteOpenFileChild::OpenNSPRFileDesc() so that it
cannot succeed with a null fd, so that checking just the return value is
sufficient.
--HG--
extra : rebase_source : cc40bbcf2a9991edc9d3da3fb624d27db50b4996
2016-08-18 15:27:16 +10:00
Nicholas Nethercote
04be8d005a
Bug 1296164 (part 1) - Use [must_use] on nsIFile.{create,createUnique}. r=froydnj.
...
And fix numerous missing checks that this change identifies.
--HG--
extra : rebase_source : 97b0a6e8f9375c937dadb59c1110bb54b7633134
2016-08-18 13:30:12 +10:00
Dragana Damjanovic
3cf6ee23d9
Bug 1264578 - NSS support for http with TLS 1.3. r=keeler
...
--HG--
extra : rebase_source : 26b322f6d6f8e0160087c5214024dc9cccd328f9
2016-08-19 05:01:00 -04:00
Kershaw Chang
dc735275b1
Bug 1295309 - Add isTopLevelLoad attribute in nsILoadInfo. r=billm
...
--HG--
extra : amend_source : 5a6138b38b3ae8fa64194dd0df90f4a5e2fb9a0f
2016-08-21 21:46:09 -04:00
Dragana Damjanovic
79e0168a9b
Bug 1264578 - Networking support for http with TLS 1.3. r=mcmanus
...
--HG--
extra : rebase_source : eb851624fe67c2112ed4ed1cf7f1790b41a341cd
2016-08-11 08:28:00 -04:00
Jinank Jain
5d82d2f48d
Bug 1296176 - Replace PR_MIN with std::min in netwerk. r=jesup,mcmanus
2016-08-22 14:37:42 -07:00
Jonathan Hao
cc481ebca7
Bug 1283319 - Tests for connection info's hash key. r=mayhemer
...
--HG--
extra : rebase_source : 78cc39299d247146be49078976f1671a8bb89811
2016-08-17 19:57:00 -04:00
Jonathan Hao
bc22b048bf
Bug 1283319 - Add origin attributes to nsHttpConnectionInfo's hash key. r=mayhemer
...
--HG--
extra : rebase_source : a3f95ed223d6658e78daba0268407b7be0b7e16f
2016-08-04 01:17:00 -04:00
Junior Hsu
df4fd78a0e
Bug 1190027 - Test setters for tab and newline. r=valentin
...
--HG--
extra : rebase_source : e76167e426468700c7cdda5d3abb64979ae8dd4b
2016-08-18 03:15:00 -04:00
Honza Bambas
70d3208f45
Bug 1293765 - Don't release upload stream in HTTP channel until authentication loop is done. r=valentin
2016-08-17 07:08:00 -04:00
Cykesiopka
1f4d5333d5
Bug 1275841 - Move nsISecretDecoderRing.idl from netwerk/ to security/manager/ssl. r=mcmanus
...
The interfaces defined within have basically nothing to do with Necko.
MozReview-Commit-ID: 5J4D3w61Yry
--HG--
rename : netwerk/base/nsISecretDecoderRing.idl => security/manager/ssl/nsISecretDecoderRing.idl
extra : transplant_source : %AAP%26%5D%DE%ED%F6Q%C4%5Eia%F1%84T%8D%A7E%8Aw
2016-08-19 09:37:38 +08:00
amy
819f6f556d
Bug 368964 - Cookie expires attribute should be absolute, not relative to server time. r=ehsan
2016-08-19 17:28:09 +08:00
Jean-Yves Avenard
2d2fb06c87
Bug 1195723: [flac] P10. Add media sniffer for flac file. r=kamidphish
...
This only supports flac with a STREAMINFO header.
MozReview-Commit-ID: FaT9N6xJDPY
--HG--
extra : rebase_source : faf16192bf2ca57a9ca6ea6061f1436f7b032b00
2016-08-17 15:47:39 +10:00
Wes Kocher
a58f8b89a0
Merge m-c to inbound, a=merge
2016-08-18 16:32:58 -07:00
Wes Kocher
e5ff464b34
Backed out changeset 6a0f2b93749a (bug 1242597) for leaksanitizer failures a=backout
2016-08-18 12:41:12 -07:00
Wes Kocher
66098b3d43
Merge m-c to autoland, a=merge
2016-08-17 17:25:57 -07:00
Mike Hommey
1c81b724fc
Bug 1295885 - Remove netwerk/protocol/rtsp. r=mcmanus
...
The only user of the RTSP protocol was removed in bug 1291629 and bug 1295516.
--HG--
extra : rebase_source : 4a8a66211277f8c6eb7f9191466d5c406bb26666
2016-08-17 14:54:47 +09:00
Michal Novotny
46b5c2fb6e
Bug 1258747 - Support for alternative data in CacheFile, r=honzab
2016-08-17 12:58:44 +02:00
Chris Peterson
b64548f6c6
Bug 1295085 - Replace PR_snprintf and s[n]printf calls with SprintfLiteral in netwerk/. r=jduell
2016-08-15 01:09:06 -07:00
Sebastian Hengst
de7e01f00d
Backed out changeset 123049a4ba35 (bug 1264578) for timing out in browser_clientAuth_connection.js. r=backout
2016-08-18 17:28:09 +02:00
Sebastian Hengst
e50251a747
Backed out changeset 80942fb9a0f1 (bug 1264578)
2016-08-18 17:28:09 +02:00
Honza Bambas
d90344d529
Bug 1291700 - Allow negotiate/ntml to work when in the 'Never remember history' mode. r=jduell
...
--HG--
extra : rebase_source : 179a11fa222061f4c1c1cc2c1485ca49ca226d29
2016-08-16 06:24:00 -04:00
dimi
9f35496517
Bug 1269253 - Blank error page in iframe with insecure connection. r=smaug
...
MozReview-Commit-ID: 8WCI8cgRZIo
--HG--
extra : rebase_source : fda416da14b9d60937cd5d86976b443d92d1e0bb
2016-08-16 09:47:14 +08:00
Michal Novotny
dcb0a4790a
Bug 1286621 - Private browsing mode leaks info to about:networking, r=valentin
2016-08-17 03:10:28 +02:00
Nicholas Nethercote
60d75f09dd
Bug 1295053 (part 8) - Don't use NS_METHOD for netwerk/ functions. r=froydnj.
...
These don't need __stdcall on Win32.
--HG--
extra : rebase_source : 891a7c252f947ca6ed0d9558138becd97e070ba5
2016-08-16 12:12:30 +10:00
Nicholas Nethercote
ca40b738e4
Bug 1294620 - Use infallible XPIDL attribute getters more. r=erahm.
...
This makes a lot of code more compact, and also avoids some redundant nsresult
checks.
The patch also removes a handful of redundant checks on infallible setters.
--HG--
extra : rebase_source : f82426e7584d0d5cddf7c2524356f0f318fbea7d
2016-08-12 15:19:29 +10:00
Ting-Yu Chou
6813eb1209
Bug 1293501 - Add debug annotations to track down the crash of bug 1145613. r=jduell
...
--HG--
extra : rebase_source : 11e074486a5a3d06fc1de50b51ac30b45358a1db
2016-08-08 10:57:10 +08:00
Honza Bambas
512654c1f7
Bug 1293621 - Make sure that nsIOService::GetCachedProtocolHandler is called only on the main thread. r=jduell
...
--HG--
extra : rebase_source : de5224ef195dddd356a95a693224c6ac1554467c
2016-08-09 07:43:00 -04:00
Valentin Gosu
c472ce64a3
Bug 1264566 - Close mUploadStream in the content process in OnStopRequest. r=jduell
...
MozReview-Commit-ID: GPmltXvAT6s
2016-08-11 00:48:46 +02:00
Yoshi Huang
9895a88a2a
Bug 1292450 - Check mPrivateBrowsingId is correct in LoadInfo and LoadContext. r=smaug, ehsan
...
Make sure the mPrivateBrowsingId of Origin Attributes is consistent
between LoadInfo and LoadContext.
For chrome docshell, its mPrivateBrowsingId remains 0 even if its
UserPrivateBrowsing() is true (bug 1278664). So we sync the
mPrivateBrowsingId field in LoadInfo in the same way.
2016-08-15 19:03:24 +08:00
Igor
175543fda8
Bug 1293384 - Part 2: Rename Snprintf.h header to Sprintf.h. r=froydnj
2016-08-14 23:43:21 -07:00
Igor
a57972337d
Bug 1293384 - Part 1: Rename snprintf_literal to SprintfLiteral. r=froydnj
2016-08-14 23:44:00 -07:00
Kan-Ru Chen
d137b49d3b
Bug 1295103 - Check OriginAttributes::PopulateFromSuffix return value in PackagedAppVerifier. r=mayhemer
...
MozReview-Commit-ID: 7V4vEZKWYHw
--HG--
extra : rebase_source : 2f5cea9a361072fbd1955ffc349f74f1e53d9a1c
2016-08-15 18:19:44 +08:00
Kan-Ru Chen
429b0cc56b
Bug 1295103 - Check OriginAttributes::PopulateFromSuffix return value in nsCookieService. r=mayhemer
...
MozReview-Commit-ID: 8aN6faugiqq
--HG--
extra : rebase_source : 6a779feec1845f1b1f0154641136368c494dc42a
2016-08-15 18:18:19 +08:00
Jean-Yves Avenard
ca3c25edb9
Bug 1195723: [flac] P10. Add media sniffer for flac file. r=kamidphish
...
This only supports flac with a STREAMINFO header.
MozReview-Commit-ID: FaT9N6xJDPY
--HG--
extra : rebase_source : ba4e1f78f3a3ca9b4062edfc84445d444c323d80
2016-08-17 15:47:39 +10:00
Wes Kocher
24cb21d4f6
Backed out 15 changesets (bug 1195723) for various media test failures/unexpected-passes a=backout
...
Backed out changeset 2a3b10281c9c (bug 1195723)
Backed out changeset c3775a6225d8 (bug 1195723)
Backed out changeset ba0aeb71c672 (bug 1195723)
Backed out changeset 894061e6037e (bug 1195723)
Backed out changeset 4637f8be98bb (bug 1195723)
Backed out changeset c2664064fa55 (bug 1195723)
Backed out changeset 39908ea4c390 (bug 1195723)
Backed out changeset 3fcb5682049a (bug 1195723)
Backed out changeset 867d6507a381 (bug 1195723)
Backed out changeset c938ad9dd11c (bug 1195723)
Backed out changeset 7bdb9540b60f (bug 1195723)
Backed out changeset a4f7a73c04fa (bug 1195723)
Backed out changeset 7f86beff4263 (bug 1195723)
Backed out changeset efb6bcf743e7 (bug 1195723)
Backed out changeset 04eceefa54c7 (bug 1195723)
2016-08-22 10:07:25 -07:00
Randell Jesup
1d40bd7097
Bug 1294095: Swap order of notifications on association failure r=bwc
...
Import of d1208ae from upstream git
2016-08-23 14:09:13 -04:00
Nicholas Nethercote
3b0485fcdb
Bug 1294645 - Don't use NS_CALLBACK for callbacks in nsI{Input,Output,UnicharInput},Stream.idl. r=froydnj.
...
Slightly less than half (93 / 210) of the NS_METHOD instances in the codebase
are because of the use of NS_CALLBACK in
nsI{Input,Output,UnicharInput},Stream.idl. The use of __stdcall on Win32 isn't
important for these callbacks because they are only used as arguments to
[noscript] methods.
This patch converts them to vanilla |nsresult| functions. It increases the size
of xul.dll by about ~600 bytes, which is about 0.001%.
--HG--
extra : rebase_source : c15d85298e0975fd030cd8f8f8e54501f453959b
2016-08-12 17:36:22 +10:00
Jim Chen
c800eaab74
Bug 1292323 - Update WrapForJNI usages; r=snorp
...
Replace old flags in WrapForJNI usages with new flags. The calledFrom
and dispatchTo flags are set based on whether the method is native or
non-native, and how the method is used.
Also fix testEventDipatcher to respect NativeJSObject's calledFrom =
"gekco" flag, by moving a test to Gecko thread.
2016-08-12 23:15:52 -04:00
Christoph Kerschbaumer
f2589e5050
Bug 1294411 - Update XCTO: nosniff implementation to accept images which content type starts with 'image/'. r=dveditz
2016-08-11 14:49:02 +02:00
Dragana Damjanovic
63d2bc4e3b
Bug 1292181 - Let each dispatch event sends data to the socket. r=mcmanus yolo CLOSED TREE
2016-08-11 16:30:23 -07:00
Geoff Brown
f37628877e
Bug 1285020 - Request longer timeout for xpcshell test_URIs/test_URIs2; r=michal
2016-08-11 14:14:19 -06:00