Andrea Marchesini
99fa4c908a
Bug 1470578 - Rename the anti-tracking pref, r=francois
2018-06-25 22:46:13 +02:00
Ben Kelly
06ae64dde8
Bug 1470286 Propagate channel creation and async open time across internal redirects. r=valentin
2018-06-23 10:10:10 -07:00
Petr Sumbera
700965b040
Bug 1452130 - nsHttpConnection.cpp should compare time intervals in the same units r=dragana
2018-06-15 04:52:52 -07:00
Ben Kelly
bee2ef4646
Bug 1470114 Make parent-side of redirect override the reserved ClientInfo to handle some corner cases. r=valentin
2018-06-22 08:09:00 -07:00
Csoregi Natalia
ed1521707f
Merge inbound to mozilla-central. a=merge
2018-06-22 00:50:23 +03:00
Ben Kelly
13c58b163c
Bug 1470234 Handle empty headers correctly when auto-copying headers for special internal redirect to InterceptedHttpChannel. r=valentin
2018-06-21 12:11:05 -07:00
Daniel Stenberg
e596152e6c
bug 1470093 - fix telemetry::DNS_TRR_LOOKUP_TIME r=mcmanus
...
MozReview-Commit-ID: 80jrEQ4kLM6
--HG--
extra : rebase_source : 702efbd6dff9615ff827f8c7f05dd8cce2cbd419
2018-06-21 12:02:03 +02:00
Daniel Minor
8595564f3a
Bug 1458048 - Cherry pick usersctp rev 8789a6da02e2c7c03522bc6f275b302f6ef977fe; r=drno
2018-06-20 21:18:50 -04:00
Cosmin Sabou
4c18cd4036
Merge inbound to central. a=merge
...
--HG--
rename : servo/components/style/properties/longhand/box.mako.rs => servo/components/style/properties/longhands/box.mako.rs
2018-06-21 04:16:40 +03:00
Andrea Marchesini
f235838704
Bug 1461921 - Block storage access for third-parties on the tracking protection list - part 7 - Network cache, r=mayhemer, r=ehsan
2018-06-20 13:38:22 -04:00
Andrea Marchesini
5b9437cad2
Bug 1461921 - Block storage access for third-parties on the tracking protection list - part 5 - Cookies, r=ehsan
2018-06-20 13:38:22 -04:00
Dorel Luca
b595d82310
Merge mozilla-central to mozilla-inbound
2018-06-20 01:06:23 +03:00
Valentin Gosu
0959b41dd0
Bug 1426019 - Use nsIThread in nsHostResolver r=bagder
...
MozReview-Commit-ID: LOt7VX9mj7r
--HG--
extra : rebase_source : f66c7282be6c01419d98a216a731fa4bd0a72839
2018-06-18 18:35:16 +02:00
Andrea Marchesini
6b1a54c793
Bug 1469290 - Avoid extra locks in NS_ReadInputStreamToBuffer, r=valentin
2018-06-18 19:41:29 -04:00
Valentin Gosu
4cade1b2b5
Bug 1389251 - Add esc_Spaces that may be used to force escaping of spaces r=bz,jdescottes
...
MozReview-Commit-ID: 4tahH3IOKW
--HG--
extra : rebase_source : 12057b98c87d7d3c57e90888082f540c49c5a9a9
2018-06-18 15:06:25 +02:00
Valentin Gosu
6444ab9d1e
Bug 1389251 - Do not escape spaces in nsSimpleURI r=bz
...
This change makes nsEscape::T_EscapeURL not escape spaces when passed esc_OnlyNonASCII.
This fixes a web-compat issue for URLs such as "javascript: alert('hello');" and the fact that data: URIs with spaces around MIME type are rejected.
MozReview-Commit-ID: 91Qw9foW6Y3
--HG--
extra : rebase_source : 2da1b5f305ca2abcce2f9988cd6a5cbc12635c61
2018-06-18 15:06:24 +02:00
Andrea Marchesini
10f1e301a9
Bug 1468108 - Increase the buffer size and avoid extra runnables in NS_ReadInputStreamToBuffer, r=valentin
2018-06-17 20:30:58 -04:00
Ben Kelly
dea8612c12
Bug 1468828 Automatically copy headers to the InterceptedHttpChannel when performing the special hidden internal redirect. r=valentin
2018-06-19 11:24:36 -04:00
Andi-Bogdan Postelnicu
d9e98a1219
Bug 1453795 - WebRTC - Initialize member fields in classes/ structures. r=rjesup
...
--HG--
extra : amend_source : f4d5cf1f53793ddb457e81fdf9220ce43fbd4ff7
2018-06-15 18:55:03 +03:00
Dorel Luca
ba31c8c2b2
Backed out 3 changesets (bug 1389251) for browser-chrome failure on browser/base/content/test/pageinfo/browser_pageinfo_image_info.js. CLOSED TREE
...
Backed out changeset a76a3251a9d2 (bug 1389251)
Backed out changeset c6baebf7b34c (bug 1389251)
Backed out changeset 6e89a11ae28e (bug 1389251)
2018-06-15 06:18:04 +03:00
Dorel Luca
b53fbe3617
Merge mozilla-central to autoland
2018-06-15 05:43:31 +03:00
Valentin Gosu
316f7bf9ac
Bug 1389251 - Add esc_Spaces that may be used to force escaping of spaces r=bz,jdescottes
...
MozReview-Commit-ID: 7VgNlkWqrPK
--HG--
extra : rebase_source : c7ea99bc727a82e652871e78c222e8d5d642a52e
2018-06-12 03:05:03 +02:00
Valentin Gosu
01487f76fb
Bug 1389251 - Do not escape spaces in nsSimpleURI r=bz
...
This change makes nsEscape::T_EscapeURL not escape spaces when passed esc_OnlyNonASCII.
This fixes a web-compat issue for URLs such as "javascript: alert('hello');" and the fact that data: URIs with spaces around MIME type are rejected.
MozReview-Commit-ID: B78AacLxGBp
--HG--
extra : rebase_source : fcef25fab58f7da1732725054ae684588f2e0e89
2018-06-12 03:03:57 +02:00
Valentin Gosu
d9800226a5
Bug 1417827 - Pass DNS arguments as nsACString& instead of char* r=bagder
...
MozReview-Commit-ID: 7Zk0wM2wsJF
--HG--
extra : rebase_source : 6bfe7a9c21d447252db1b0a5351305bdecb0fa3a
2018-06-15 01:15:13 +02:00
Andi-Bogdan Postelnicu
90ac230485
Bug 1453795 - Necko - Initialize member fields in classes/ structures. r=michal
2018-06-14 11:19:07 +03:00
Narcis Beleuzu
31030f080d
Merge mozilla-central to inbound. a=merge CLOSED TREE
2018-06-14 00:58:55 +03:00
Narcis Beleuzu
8aa6325a89
Merge inbound to mozilla-central. a=merge
2018-06-14 00:52:57 +03:00
Andi-Bogdan Postelnicu
dcb297f5a0
Bug 1453795 - Netwerk/Coockies - Initialize member fields in classes/ structures. r=josh
2018-06-13 23:52:59 +03:00
Ehsan Akhgari
f4e3e1d715
Bug 1462432 - Part 1: Add an API to override the tracking status on an HTTP channel; r=mayhemer
2018-06-13 16:18:39 -04:00
Joel Maher
1ef32bf5c6
Bug 1405428 - skip-if = verify on xpcshell tests which do not pass test-verify. r=gbrown
2018-06-13 11:34:40 -04:00
Ben Kelly
2294b0f525
Bug 1468340 P2 Don't unconditionally set LOAD_BYPASS_SERVICE_WORKER in HttpChannelParent for non-synthesized channels. r=valentin
2018-06-13 06:41:47 -07:00
Ben Kelly
cc22e8c6d7
Bug 1468340 P1 Send the parent channel's load flags to the child process in Redirect1Begin. r=valentin
2018-06-13 06:41:47 -07:00
Cosmin Sabou
40577076a6
Merge inbound to mozilla-central. a=merge
2018-06-13 12:22:15 +03:00
Ben Kelly
2c60e5ec03
Bug 1468248 Propagate nsIHttpChannelInternal.integrityMetadata to the parent when the channel is opened. r=valentin
2018-06-12 09:53:54 -07:00
Ben Kelly
f4e69fbdb7
Bug 1468209 Remove nsIHttpChannelInternal.responseSynthesized and use nsILoadInfo.serviceWorkerTaintingSynthesized instead. r=valentin
2018-06-12 07:02:01 -07:00
Ben Kelly
ecb17922d9
Bug 1468213
Propagate nsILoadInfo.serviceWorkerTaintingSynthesized and tainting values from parent process to child process. r=valentin
2018-06-11 12:54:22 -07:00
Gurzau Raul
4a77089b27
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-06-13 00:53:34 +03:00
Tarek Ziadé
2ad736aa2e
Bug 1447931 - NetworkActivity becomes IOActivity - r=baku,mak,valentin
...
Generalizes NetworkActivity so it can be used for sockets but also disk files.
The host/port data becomes a single location string prefixed with socket://
or file:// and we're not using the FD as the identifier anymore.
IOActivityMonitor is now used in three places:
- nsFileStreams for plain files
- TelemetryVFS for sqlite files
- nsSocketTransport & nsUDPSocket for UDP & TCP sockets
MozReview-Commit-ID: GNu5o400PaV
--HG--
rename : netwerk/base/NetworkActivityMonitor.cpp => netwerk/base/IOActivityMonitor.cpp
rename : netwerk/base/NetworkActivityMonitor.h => netwerk/base/IOActivityMonitor.h
rename : netwerk/base/nsINetworkActivityData.idl => netwerk/base/nsIIOActivityData.idl
extra : rebase_source : 55a1c51b261ffbe16f88671d55445d1b0d9106b6
2018-06-12 13:22:50 -07:00
Ben Kelly
6301585f22
Bug 1467852 Align LoadInfo::mServiceWorkerTaintingSynthesized handling with other service worker fields. r=valentin
2018-06-10 18:44:38 -07:00
Noemi Erli
ad2118e866
Merge mozilla-central to inbound. a=merge CLOSED TREE
2018-06-11 00:40:00 +03:00
Joel Maher
50b91c0a14
Bug 1405428 - skip-if = verify on mochitests which do not pass test-verify. r=gbrown
2018-06-10 05:01:47 -04:00
Valentin Gosu
9296b54502
Bug 1464135 - Pass the timing data to the child channel during OnStart r=baku
...
MozReview-Commit-ID: D07sY6dlINM
--HG--
extra : rebase_source : 020e94adc1d82f74e30fc71e5247b70798df9e8a
2018-06-13 03:02:23 +02:00
Johann Hofmann
2339934fea
Bug 1462470 - Part 1 - Notify frontend of loaded tracking content in annotation-only mode. r=Ehsan
...
In order to notify the user that there is tracking content on the page
which could have been blocked by Tracking Protection, we need to mark
the document as having tracking content even when TP is off.
Part 2 will update the desktop frontend to handle this correctly and
show a different message when TP is on vs. off. Fennec should not be
affected by this change since it already prevents loaded state from
showing if TP is disabled:
https://searchfox.org/mozilla-central/rev/dc6d85680539cb7e5fe2843d38a30a0581bfefe1/mobile/android/chrome/content/browser.js#5669
https://searchfox.org/mozilla-central/rev/dc6d85680539cb7e5fe2843d38a30a0581bfefe1/mobile/android/modules/geckoview/GeckoViewProgress.jsm#112
MozReview-Commit-ID: LNF0zABNsx1
--HG--
extra : rebase_source : c06a7ed9a32b9674a9c5a35834d39cf90f60b592
2018-05-24 12:44:42 +02:00
Jan de Mooij
2b3ff5c90a
Bug 1468219 - Rename JS_InitStandardClasses to JS::InitRealmStandardClasses, remove obj argument. r=anba
...
--HG--
extra : rebase_source : 5c092c37298e89096b85524e92d143ff2447f31f
2018-06-13 12:47:47 -07:00
Andrea Marchesini
df966c5c8c
Bug 1468503 - Implement nsIEffectiveTLDService.hasRootDomain, r=smaug
2018-06-13 12:29:39 -07:00
Daniel Stenberg
7e7f7eeb34
bug 1463356 do not count "not started" TRR resolves as failures r=mcmanus
...
... when comparing against the native resolver. DNS_TRR_COMPARE is meant
to compare how the actually performed name resolves fare against each
other.
MozReview-Commit-ID: 98NoUGPpHr6
--HG--
extra : rebase_source : 4042c81da3e5478de26feb7f83c98ee5eb298156
2018-06-20 11:00:19 +02:00
Byron Campen [:bwc]
777bf8b996
Bug 1455647 - Part 4: Make a place to live for context about media packets, to fix packet dump hooks. r+drno r=drno
...
MozReview-Commit-ID: 1HMF93mLa7r
--HG--
rename : media/mtransport/transportlayersrtp.cpp => media/webrtc/signaling/src/mediapipeline/TransportLayerPacketDumper.cpp
rename : media/mtransport/transportlayersrtp.h => media/webrtc/signaling/src/mediapipeline/TransportLayerPacketDumper.h
extra : rebase_source : 062814836325b69da17e8f592774f006e29905ad
2018-05-09 17:13:35 -05:00
Valentin Gosu
a8e3a8c349
Bug 1448330 - Make nsIURI.clone a private method r=mayhemer
...
MozReview-Commit-ID: 1efpeaEPaXP
--HG--
extra : rebase_source : e660f1e5bcae9b7119bc5b37713691069272b375
2018-06-14 13:05:43 +02:00
Byron Campen [:bwc]
cb8df81f4c
Bug 1455647 - Part 1: Simplify TransportFlow. r+drno r=drno
...
MozReview-Commit-ID: 1jJuln4WAw9
--HG--
extra : rebase_source : e5d9cba95e7e79815e9842edac2fc5eec54aac06
2018-04-27 12:14:40 -05:00
arthur.iakab
edbf2c0099
Merge inbound to mozilla-central a=merge
2018-06-08 12:55:49 +03:00
Ciure Andrei
25ae31a366
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-06-08 00:54:06 +03:00
Ciure Andrei
05605d68c4
Merge inbound to mozilla-central. a=merge
2018-06-08 00:50:18 +03:00
Randell Jesup
c0b25e1706
Bug 1395246: nullcheck DataChannel SendPacket calls, add some diagnostics r=drno
2018-06-07 15:26:25 -04:00
Nicholas Hurley
2423735102
Bug 1460310 - Separate HTTP and SPDY identifiers into separate namespaces. r=dragana
...
MozReview-Commit-ID: E55YpGK7PXI
--HG--
extra : rebase_source : 3146c7de66653262694235043a44be4ccf5ffc33
2018-06-01 11:32:05 -07:00
Michael Kaply
8c11aa5676
Bug 1464025 - Change accept header if locale changes. r=gandalf
...
MozReview-Commit-ID: HshY3mCab4M
--HG--
extra : rebase_source : f2b6c9e442cfc745e623288388da91ef34273be0
2018-06-06 19:12:45 -05:00
Kris Maglione
7b7264f453
Bug 1464548: Part 3 - Update callers to use defineLazyGlobalGetters. r=mccr8
...
MozReview-Commit-ID: 9APGewiDDYB
--HG--
extra : rebase_source : 2931dd0eec0e4206414b698a9700fc20d922eb3a
2018-05-25 17:02:29 -07:00
Nicholas Hurley
7a9f6d6eac
Bug 1460590 part 1 - Fix our parsing of Server-Timing. r=valentin
...
We were erroneously looking for the first reasonably-valued
server-timing-param for each name. However, that's not how it works. We
should really be looking for the first server-timing-param regardless
of how reasonable its value is.
MozReview-Commit-ID: LwaHFyCpteU
--HG--
extra : rebase_source : 995f14fec3bd130e6eeada6c4cac0db0b27e618f
2018-06-01 11:39:49 -07:00
Alex Gaynor
b174206e6f
Bug 1451859 - Part 2: Add sanitizer coverage to a handful of places relevant to IPC. r=posidron
2018-04-05 15:48:11 -04:00
Jan de Mooij
56ca3c9524
Bug 1466501 part 1 - Refactor ZoneSpecifier and add a sameCompartmentAs option to newGlobal in the shell. r=luke
2018-06-07 10:02:10 +02:00
Cosmin Sabou
18d0742c9b
Backed out 3 changesets (bug 1451859) for causing Spidermonkey bustages on Linux x64 opt.
...
Backed out changeset 8f5a9e18e953 (bug 1451859)
Backed out changeset 950fa584ec8e (bug 1451859)
Backed out changeset f1f42726f1ec (bug 1451859)
2018-06-07 09:10:35 +03:00
Alex Gaynor
76b53de450
Bug 1451859 - Part 2: Add sanitizer coverage to a handful of places relevant to IPC. r=posidron
2018-04-05 15:48:11 -04:00
Daniel Stenberg
a69516185c
bug 1466777 - make TRR failures pass on "unknown host" status r=valentin
...
MozReview-Commit-ID: HamTaGeZSzw
--HG--
extra : rebase_source : 1f6a46ad77fd071801b68d7ced03b2604fb147a0
2018-06-05 11:20:05 +02:00
Andrea Marchesini
8005b74540
Bug 1465465 - Block ports 427, 548 and 6697, r=annevk, r=valentin
2018-06-05 07:49:02 +02:00
Andrea Marchesini
1f69f950e8
Bug 1465465 - Update blocked port names, r=annevk, r=valentin
2018-06-05 07:49:02 +02:00
Dorel Luca
535f1df913
Merge mozilla-central to mozilla-inbound
2018-06-04 21:48:29 +03:00
Dorel Luca
746fbfe0a7
Merge mozilla-inbound to mozilla-central. a=merge
2018-06-04 21:11:34 +03:00
Valentin Gosu
bfbf927306
Bug 1459666 - Ensure that DivertToParent is only called during OnStartRequest r=dragana
...
The bug was caused by the tcp connection not sending back any data, and just being closed right away.
So we get something like this:
FTPChannelChild::DoOnStartRequest
FTPChannelChild::DoOnStopRequest -> nsUnknownDecoder::OnStopRequest -> (data is empty) -> nsUnknownDecoder::FireListenerNotifications -> nsDocumentOpenInfo::OnStartRequest -> ExternalHelperAppChild::OnStartRequest -> ExternalHelperAppChild::DivertToParent -> FTPChannelChild::DivertToParent.
However, in nsIDivertableChannel.idl the description for divertToParent() is "divertToParent is called in the child process. It can only be called during OnStartRequest()."
Enforcing this condition seems to be enough to avoid an infinite loop. The crash was fixed by bug 1436311.
2018-06-04 20:05:56 +02:00
Ben Kelly
ac7ea6f3f6
Bug 1441932 P4 Treat same-value assignments to the LoadInfo reserved and initial ClientInfo values as no-op changes. r=mayhemer
2018-06-04 09:26:51 -07:00
Ben Kelly
85490e45e8
Bug 1441932 P3 Forward reserved client, initial client, and controller on Redirect2Verify message back to parent. r=mayhemer
2018-06-04 09:26:51 -07:00
Ben Kelly
1030889376
Bug 1441932 P2 Remove explicit ServiceWorker controller from http OnStartRequest message. r=mayhemer
2018-06-04 09:26:51 -07:00
Ben Kelly
5697bd9f89
Bug 1441932 P1 Add the ServiceWorker controller to ParentLoadInfoForwarderArgs. r=mayhemer
2018-06-04 09:26:50 -07:00
Ryan VanderMeulen
cb40810a94
Bug 1443164 - Update brotli to version 1.0.4 and update Gecko callers. r=jfkthame, r=mayhemer
...
--HG--
extra : rebase_source : 1d5f9fe1fac61afdbdc0209aa851ce4f7ab3d230
2018-05-31 12:49:40 -04:00
Alex Gaynor
d71b5b9238
Bug 1392739 - Add test for faulty nsStandardURL deserialization. r=mayhemer
2018-05-23 22:25:08 +02:00
Valentin Gosu
300188571e
Bug 1392739 - Use CheckedInt in nsStandardURL::Deserialize(). r=mayhemer
2018-06-04 13:57:51 +02:00
Dan Minor
e5457f8078
Bug 1464917 - Add GetMaxPacketLifeTime and GetMaxRetransmits to DataChannel; r=drno
...
MozReview-Commit-ID: BqukQygumpi
--HG--
extra : rebase_source : b5c801774d27a736ad4787adb957025f3adef201
2018-06-01 08:20:51 -04:00
Andreea Pavel
4ced6e8b2d
Merge mozilla-central to autoland. a=merge
2018-06-03 07:27:01 +03:00
Andreea Pavel
46e2311a36
Bug 1465375 - Remove reference to old winxp in manifest file. r=jmaher
2018-05-31 06:20:00 -04:00
Ben Kelly
015a7772c0
Bug 1465580 Make HttpChannelParent get the channel status when its underlying channel is an InterceptedHttpChannel. r=mayhemer
2018-06-01 10:56:58 -07:00
Ben Kelly
6f4724874e
Bug 1465587 Only hide the initial internal redirect to an InterceptedHttpChannel and not internal redirects initiated from IHC. r=mayhemer
2018-06-01 10:56:57 -07:00
Emilio Cobos Álvarez
fffb25b74f
Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
...
This was done automatically replacing:
s/mozilla::Move/std::move/
s/ Move(/ std::move(/
s/(Move(/(std::move(/
Removing the 'using mozilla::Move;' lines.
And then with a few manual fixups, see the bug for the split series..
MozReview-Commit-ID: Jxze3adipUh
2018-06-01 10:45:27 +02:00
Andrea Marchesini
e3efeac3c5
Bug 1460561 - nsMultiplexInputStream should behave correctly when NS_InputStreamIsBuffered() is used - gtests, r=froydnj
2018-05-24 07:52:31 +02:00
Valentin Gosu
aac6fb9470
Bug 1460609 - Cookies are for parents r=mayhemer
...
Make sure cookies aren't saved on channel headers in the content process.
Adds test to verify that this works, and removes tests that expected cookie headers to be visible to the child.
MozReview-Commit-ID: KOB83xpuAlF
--HG--
extra : rebase_source : 6f9a5ef570fb23200acf8d75285e67d80b7c27f0
2018-06-07 14:12:37 +02:00
Kate McKinley
fa06a45b28
Bug 1328695 - Use protocol flags to determine if a URI is potentially trustworthy r=ckerschb, r=dveditz, r=mcmanus, r=bz
...
Before this change, the trusted URI schemes, based on a string whitelist, were:
https, file, resource, app, moz-extension and wss.
This change removes "app" from the list (since we don't implement it),
and adds "about" to the list (because we control the delivery of that).
2018-05-31 07:51:42 +02:00
Andrea Marchesini
9023e7c7b4
Bug 1446937 - Have ContextForTopLevelLoad return already_AddRefed<nsISupports> within LoadInfo, r=qdot
2018-05-30 21:21:18 +02:00
Andrea Marchesini
1273dc5391
Bug 1446933 - Remove 'using namespace mozilla::net' from BackgroundUtils.h, r=qdot
2018-05-30 21:21:17 +02:00
Honza Bambas
8a9d38fe70
Bug 1442178
- Do a busy wait of socket poll() shortly after network change detection, r=dragana
2018-05-30 17:36:42 +03:00
Honza Bambas
dab22ca3b9
Bug 1442178
- Repair broken socket polling wakeup mechanism after a network change to prevent long load hangs, r=dragana
2018-05-30 17:31:09 +03:00
Boris Zbarsky
dd184e287a
Bug 1455676 part 5. Remove nsIDOMNode usage from netwerk/. r=qdot
2018-05-29 22:58:48 -04:00
Honza Bambas
6805e04ccc
Bug 1456742 - Make sure to call UpdatePrivateBrowsing() in http channel to properly set private browsing state of the channel when no load group or callbacks have been set on it before AsyncOpen. r=jdm
2018-05-11 06:11:00 -04:00
Michal Novotny
63375bc80b
Bug 1377570 - Enable RCWN on mobile. r=valentin
...
This patch enables racing cache with network on mobile when cellular data isn't used.
2018-05-27 03:59:00 +03:00
Margareta Eliza Balazs
03394c438d
Merge inbound to mozilla-central. a=merge
2018-05-24 12:37:58 +03:00
Fabrice Desré
1d3ef19262
Bug 1452245
- The parent side isn't closed if the child dies unexpectedly, r=valentin
2018-05-23 15:22:00 +03:00
Michal Novotny
574a724d01
Bug 1457084 - Increase max chunk memory usage limit, r=mayhemer
...
We can hit the limit very easily when writing javascript bytecode as alternative data to the cache entry because all data is written at once but CacheFileOutputStream splits it into chunks which are then written on a backgound thread. 40MB was chosen because bytecode is usually 4x-10x larger than the original data, so it can occupy most of the cache entry which is limited to 50MB.
2018-05-23 05:03:00 +03:00
Michal Novotny
f9b87f1b40
Bug 1456871 - Consider increasing disk cache size, r=mayhemer
...
The patch changes default cache size on desktop and mobile. The smart cache size calculation is changed to grow faster. It also introduces a cache size limit for users who have enabled clearing cache on shutdown, which should reduce number of shutdown crashes (bug 1356853).
2018-05-22 14:14:00 +03:00
Andreea Pavel
2c92aa2095
Merge mozilla-central to autoland. a=merge on a CLOSED TREE
2018-05-24 01:03:40 +03:00
Andreea Pavel
0dada2bb52
Merge inbound to mozilla-central. a=merge
2018-05-24 01:00:23 +03:00
Patrick McManus
65939b6f9d
Bug 1463509
- SOCKS support for Alternative Services r=valentin
...
MozReview-Commit-ID: 1oXnQuzOqsC
--HG--
extra : rebase_source : 84bfaec48c5fc216da6586e7f06f118292d3fb17
2018-05-22 13:50:56 -04:00
Dorel Luca
21590be8b8
Merge mozilla-central to mozilla-inbound
2018-05-23 13:05:09 +03:00
Dorel Luca
dc6d856805
Merge mozilla-inbound to mozilla-central. a=merge
2018-05-23 12:51:22 +03:00
Andrea Marchesini
7dcc1b6880
Bug 1434553 - Implement nsIInputStreamLength and nsIAsyncInputStreamLength - part 9 - necko and docShell, r=mayhemer, r=smaug
2018-05-23 07:12:36 +02:00
Andrea Marchesini
4d342e4ebf
Bug 1434553 - Implement nsIInputStreamLength and nsIAsyncInputStreamLength - part 8 - PartiallySeekableInputStream exposes nsIInputStreamLength, r=mayhemer
2018-05-23 07:12:35 +02:00
Andrea Marchesini
f0fb8aa183
Bug 1434553 - Implement nsIInputStreamLength and nsIAsyncInputStreamLength - part 6 - nsMIMEInputStream exposes nsIInputStreamLength, r=mayhmer
2018-05-23 07:12:35 +02:00
Andrea Marchesini
958612bfaf
Bug 1434553 - Implement nsIInputStreamLength and nsIAsyncInputStreamLength - part 5 - nsBufferedInputStream exposes nsIInputStreamLength, r=froydnj, r=mayhemer
2018-05-23 07:12:35 +02:00
Daniel Stenberg
5fb821ffc0
bug 1463452
- lock the resolver in GetDNSCacheEntries r=valentin
...
MozReview-Commit-ID: AGQW8KcRlwb
--HG--
extra : rebase_source : 820569097cbe84f67fafe2ecfdcf10dbbeb5332c
2018-05-22 17:29:34 +02:00
Valentin Gosu
966bced714
Bug 1447191 - Pass loadFlags when creating FTP IPDL channel r=mayhemer
...
This fixes the "Assertion failure: PermissionAvailable(prin, aType), at nsPermissionManager.cpp:2341 when loading FTP URLs on debug builds"
MozReview-Commit-ID: 4eRGQ3hrUWo
--HG--
extra : rebase_source : 36516275b1fe0f266a08394484e19e0aecfbd671
2018-05-21 22:24:25 +02:00
Kris Maglione
8340513b0c
Bug 1463287: Add QueryInterface helper macro for concrete class types. r=bz
...
Using concrete class types with static IIDs in QueryInterface methods is a
pretty common pattern which isn't supported by any existing helper macros.
That's lead to separate ad-hoc implementations, with varying degrees of
dodginess, being scattered around the tree.
This patch adds a helper macro with a canonical (and safe) implementation, and
updates existing ad-hoc users to use it.
MozReview-Commit-ID: HaTGF7MN5Cv
--HG--
extra : rebase_source : ace930129d85960d22bc3048ca3bb19bbbd4a63e
extra : histedit_source : 03a87f746d957789d41381e4e1bfcc4fd7eebaf2%2C9c5bae9feeeef7721105db67be0f83e0ded66bb7
2018-05-21 16:33:18 -07:00
Kris Maglione
6b12d08f7d
Bug 1462937: Update callers to use nsIFile::GetDirectoryEntries as a nsIDirectoryEnumerator. r=froydnj
...
MozReview-Commit-ID: Iv4T1MVAF5
--HG--
extra : rebase_source : 1c518883d082884db7f9323a5acc20361228c26b
extra : histedit_source : 70a73c23d1199d3bfbb5379c78930401166c094b
2018-05-19 20:17:45 -07:00
shindli
4ff26c26f4
Merge inbound to mozilla-central. a=merge
2018-05-22 00:29:52 +03:00
Ben Kelly
8e95453379
Bug 1462464 Copy reserved and initial ClientInfo over when HttpChannelParent sees the special InterceptedHttpChannel redirect. r=valentin
2018-05-21 10:15:30 -07:00
Daniel Stenberg
06c7a72bf8
bug 1460327 - make the DNS packet decoder verify the answer qname r=mcmanus
...
... and before chasing a cname, check if the address record for that
CNAME is actually in fact already provided in the DNS packet that passed
on the CNAME!
Some existing tests ajusted for this. Two new tests added.
MozReview-Commit-ID: CBMO7N7jMEX
--HG--
extra : rebase_source : 1110a8df6d89fcbb0ad2a35b3762b837ce7a1e18
2018-05-08 19:30:07 +02:00
Patrick McManus
f18aa94399
Bug 1462357 - remove the channel and socket interface id r=bagder,baku
...
the id was a b2g feature only settable via chrome privd xhr and is no
longer active in the code base
MozReview-Commit-ID: 84GPNvhvjNb
--HG--
extra : rebase_source : ab5c2229b98e1407b8b74ef2ee00dcfea45e046a
2018-05-16 16:05:03 -04:00
Jeff Hemphill
0d0efc9d92
Bug 1417827: Convert internal char* to nsCString in DNS.h r=bagder
...
MozReview-Commit-ID: Js1mXiKaKnt
--HG--
extra : rebase_source : 55ae6349a65f20a2401aa76711b1e9c871b0c167
2017-11-29 23:30:27 -08:00
Dorel Luca
ff4d587dc8
Backed out 2 changesets (bug 1417827) for windows build bustage. CLOSED TREE
...
Backed out changeset 35655153f9c9 (bug 1417827)
Backed out changeset 9606d0d95b53 (bug 1417827)
--HG--
extra : amend_source : ce9a86c7b5ded39d1b00a7c626ba7a082efaabde
2018-06-14 22:07:18 +03:00
Valentin Gosu
e5efdc876d
Bug 1417827 - Pass DNS arguments as nsACString& instead of char* r=bagder
...
MozReview-Commit-ID: GqNYfjy9SFp
--HG--
extra : source : 190c4f057ffafa28a9abec657a0c70fe8a9489ab
2018-06-14 14:30:40 +02:00
Jeff Hemphill
deb1d4dff1
Bug 1417827: Convert internal char* to nsCString in DNS.h r=bagder
...
MozReview-Commit-ID: Js1mXiKaKnt
--HG--
extra : source : fc388a747aba88d3eb535e6105305bd85914600b
2017-11-29 23:30:27 -08:00
Gurzau Raul
f2d3a45d49
Backed out 2 changesets (bug 1417827) backed out due to gecko decision task failure, tests did not run
...
Backed out changeset 190c4f057ffa (bug 1417827)
Backed out changeset fc388a747aba (bug 1417827)
2018-06-14 19:07:48 +03:00
Valentin Gosu
3620424d66
Bug 1417827 - Pass DNS arguments as nsACString& instead of char* r=bagder
...
MozReview-Commit-ID: GqNYfjy9SFp
--HG--
extra : rebase_source : 6bd7c4fcb1f6a5bbbaa9654907ce1b1224be64b2
2018-06-14 14:30:40 +02:00
Jeff Hemphill
85150abc1d
Bug 1417827: Convert internal char* to nsCString in DNS.h r=bagder
...
MozReview-Commit-ID: Js1mXiKaKnt
--HG--
extra : rebase_source : 835ab465653aef0d9d513b8836ba54a27b98e556
2017-11-29 23:30:27 -08:00
Csoregi Natalia
2f779be8d9
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-06-02 01:03:45 +03:00
Daniel Holbert
a053a5beb0
Bug 1465884: Back out no-longer-needed diagnostic for networking crash. r=mcmanus
...
This commit is a (rebased) backout of changeset 016bcae14073 from bug 1322610,
which simply added a diagnostic to gather more information about a crash.
We can remove that diagnostic now, hence this commit.
MozReview-Commit-ID: 6ea7SAX4PSV
--HG--
extra : rebase_source : c13d9cd5bac4761cfe2dab51f67967462b1bd962
2018-05-31 12:32:57 -07:00
Nils Ohlmeier [:drno]
bf1ee00dc5
Bug 1439236: exit early if m_copym gets called with null ptr r=dminor
...
Cheery-picked upstream commit:
d89882d049
MozReview-Commit-ID: 36bYbfIaqEz
--HG--
extra : rebase_source : 334b13ec00e9d82346a2c6ebfdadaf87b6161406
2018-05-16 09:51:35 -07:00
Jan de Mooij
17f3983d0f
Bug 1461605 part 1 - Rename CompartmentOptions to RealmOptions. r=luke,bz
2018-05-17 10:59:45 +02:00
Jon Coppeard
8d493df52b
Bug 1444956 - Support BinAST decoding in the script loader r=baku
2018-05-16 15:58:13 +01:00
Jan de Mooij
80e44e8003
Bug 1461292 part 1 - Rename JSAutoCompartment to JSAutoRealm. r=bz,luke
2018-05-16 10:53:16 +02:00
Dorel Luca
dbe91ea7b6
Merge mozilla-central to autoland
2018-05-23 13:03:24 +03:00
Jonathan Kingston
5054bfcd70
Bug 1463398 - Removal of deprecated newChannel() API on nsIIOService r=ckerschb
...
MozReview-Commit-ID: 5AwSnQhFtT2
--HG--
extra : rebase_source : e9e8a3109f045f5583389042b2c6dc187cf0b6a8
2018-05-22 13:09:41 +01:00
Chris Peterson
94658984be
Bug 1461243 - Part 2: Remove unused functions NS_CheckIsJavaCompatibleURLString() and NS_MakeRandomInvalidURLString(). r=jimm
...
These functions were only used in some Java workarounds in NPAPI _getproperty.
MozReview-Commit-ID: FqCd5ss1VqQ
--HG--
extra : rebase_source : b1513e5dbdcf652b401529a5e3f9cfce09a73a62
extra : intermediate-source : 54c6b063aecba84c5a40bb1b1c298278b3d0b320
extra : source : 53754664b3c6eb49f3a9367e38776bf32739b85c
2016-11-22 01:10:40 -08:00
Kris Maglione
1ff74da18d
Bug 1461590: Lower-case hostnames when adding substitutions. r=smaug f=dveditz
...
Since URI hostnames are defined to be case-insensitive, we only ever see
lower-case hostnames when looking up substitutions. That means that
substitutions containing capital letters are inaccessible, which is a footgun
that has hit many people.
The handler should lower-case substitutions when they're added so that
look-ups are always case-insensitive.
MozReview-Commit-ID: C936hS2cSyY
--HG--
extra : rebase_source : a70e8ceb822879e51c3a40232b7dffdfb9c0a185
2018-05-15 13:02:08 -07:00
Drew Willcoxon
093e6d0259
Bug 1239708: Improve awesomebar autofill. Part 1: Core follow-ons. r=mak
...
MozReview-Commit-ID: 1mfqU6mOyR9
--HG--
extra : rebase_source : 0750532c3e7cc1a3488387091afbfb68279a46b8
2018-05-14 11:21:47 -07:00
Adrian Wielgosik
af5b239997
Bug 1460940 - Remove nsIDOMDocument uses in netwerk/. r=bz
...
MozReview-Commit-ID: QkZ36LGoBx
--HG--
extra : rebase_source : 5aa83c576f269a6f33a1fb7ea7a61bd63a3c0c25
2018-05-11 19:46:15 +02:00
Patrick McManus
b6c1ea5823
Bug 1461182 reduce nsHostRecord overhead by about 40 bytes r=bagder
...
MozReview-Commit-ID: DvmJE5LcDwQ
--HG--
extra : rebase_source : dd06d83231a4c7fb187f68b34573b115bb82322e
2018-05-12 14:36:26 -07:00
Dragana Damjanovic
df73f67e06
Bug 1436311 - Fix a bug in suspending a ftp channel during a divertion from the child to the parent. r=jduell
...
--HG--
extra : amend_source : f994e9737b607efd5922685c498d8f78c49d5be6
2018-04-27 11:41:00 -04:00
Valentin Gosu
c139a8886a
Bug 1460198 - When calling SetRef/SetQuery/SetPathQueryRef you should do the same for the inner URI r=bz
...
MozReview-Commit-ID: C7GCPgU2RJb
--HG--
extra : rebase_source : 895ec63d01244e358e1fdf067ddb2425b6b69742
2018-05-12 16:30:07 +02:00
Nicholas Hurley
9ac69d34c4
Bug 1460313 - Remove unused mForTakeResponseHead. r=mcmanus
...
MozReview-Commit-ID: BIJvKrEeKiV
--HG--
extra : rebase_source : f493ad4ac213530f3a27454a8ebda031345f8bd9
2018-05-11 01:23:50 -07:00
YUKI "Piro" Hiroshi
dd7b3aab39
Bug 1457395 - Fix typo "proces" in comments. r=milan
...
--HG--
extra : amend_source : 36cf036803ff9bffaebb66fc31ff7b960f0c7509
2018-05-10 16:56:09 +09:00
Dorel Luca
956b982878
Merge mozilla-central to mozilla-inbound
2018-05-11 01:04:57 +03:00
Dorel Luca
d32e085275
Merge mozilla-inbound to mozilla-central. a=merge
2018-05-11 00:59:14 +03:00
Csoregi Natalia
88704238f1
Merge mozilla-central to inbound. a=merge CLOSED TREE
2018-05-10 19:46:00 +03:00
Daniel Stenberg
ced57782d6
Bug 1460330 - Always use use TTL with TRR. r=mcmanus
2018-05-10 06:32:00 -04:00
Daniel Stenberg
4f75cae7c6
Bug 1452436 - Callback when resolving a host already in progress. r=mcmanus
...
If a callback has already been called for the hostrecord, it is
partially resolved already by TRR so the new callback should be called
at once.
2018-05-10 05:36:00 -04:00
Daniel Stenberg
7edaccb568
Bug 1460589 - Add DNS vs TRR success/fail telemetry counter. r=mcmanus
2018-05-10 07:02:00 -04:00
Daniel Stenberg
b91a1dbbc5
Bug 1460305 - Add DNS_PREMATURE_EVICTION telemetry probe. r=mcmanus
...
Counts age of non-expired DNS cache entries being evicted.
2018-05-10 06:20:00 -04:00
Valentin Gosu
3814b161a4
Bug 1451262 - Call NS_ProcessPendingEvents after StopSSLServerCertVerificationThreads r=mayhemer
...
If there are still pending events after we null out gSocketThread, OnSocketThread() will always return false, which can trigger assertions.
MozReview-Commit-ID: CovFIU3cKL
--HG--
extra : rebase_source : e025dce2a347249be7a259fdcca2c6a8c6040d13
2018-05-10 10:37:24 +02:00
Cosmin Sabou
a916fb7c3e
Merge inbound to mozilla-central. a=merge
2018-05-09 20:27:38 +03:00
Andrea Marchesini
b5118e1ddf
Bug 1302449 - Remove the "referrer" directive in CSP, r=ckerschb
2018-05-09 13:15:08 +02:00
Margareta Eliza Balazs
eb6c5214a6
Merge inbound to mozilla-central. a=merge
2018-05-09 12:33:51 +03:00
Nicholas Hurley
e648506f89
Bug 1460251 - Up cookie limit to 180 per host and expose prefs. r=mcmanus
...
MozReview-Commit-ID: 1zFMQ4pbntp
--HG--
extra : rebase_source : 3a0537b63bedaa50f8c59985f24ff9f718cd2814
2018-05-08 04:45:20 -07:00
Randell Jesup
734a1bb77d
Bug 1457323: Add network markers to Content processes, add redirects and improve markers r=mstange
...
Markers exist in Master and each Content process has markers for it's own
loads. Note that there may be a time delay between content and master.
2018-05-08 15:50:39 -04:00
Ciure Andrei
de05fd66c8
Merge mozilla-central to autoland. a=merge CLOSED TREE
2018-05-09 02:02:05 +03:00
Mark Banner
9c03ace970
Bug 1458235 - Fix various cases where Assert.ok or Assert.equal have been called wrongly. r=Gijs
...
MozReview-Commit-ID: Br3lKpKNVQJ
--HG--
extra : rebase_source : 972c69ecf63bb522b0f368e3c388f4eff558bbe3
2018-05-01 22:15:43 +01:00