Commit Graph

16307 Commits

Author SHA1 Message Date
Valentin Gosu
e6ea31c9c7 Bug 1471628 - Use singleton for captive portal constructor r=bagder
This is to make sure that the test is using the same Captive Portal Service that nsIOService initializes.

--HG--
extra : rebase_source : 62bd371b8d510f596d3484aec6fad997739ada8b
2018-07-02 15:30:33 +02:00
Valentin Gosu
57418912d1 Bug 1471628 - Add test for Captive Portal Service r=bagder
--HG--
extra : rebase_source : 08c0990f945fe6cdbaf405e257f8c35edd2e191f
2018-07-02 15:26:48 +02:00
Michal Novotny
92e0c48aaf Bug 1470355 - Firefox is unresponsive when visiting https://www.youtube.com/premium, r=valentin
This patch avoids returning NS_BASE_STREAM_WOULD_BLOCK from CacheFileInputStream::ReadSegments when it was called with aCount=0.
2018-07-02 00:26:00 +03:00
Andrea Marchesini
a1a6028669 Bug 1470355 - BufferWriter should stop reading data when the wanted amount has been reached, r=michal 2018-07-02 02:00:00 +03:00
Dorel Luca
9a50b6f6de Backed out 2 changesets (bug 1470355) for causing multiple failures
Backed out changeset 50b0bfa64b2c (bug 1470355)
Backed out changeset 198a4644c09a (bug 1470355)

--HG--
extra : amend_source : 10f20801a4e72fec17d53f6428d1c983a908a771
2018-07-02 15:06:11 +03:00
Andrea Marchesini
9b09232ce9 Bug 1470355 - BufferWriter should stop reading data when the wanted amount has been reached, r=michal 2018-07-02 02:00:00 +03:00
Michal Novotny
dd9505228b Bug 1470355 - Firefox is unresponsive when visiting https://www.youtube.com/premium, r=valentin
This patch avoids returning NS_BASE_STREAM_WOULD_BLOCK from CacheFileInputStream::ReadSegments when it was called with aCount=0.
2018-07-02 00:26:00 +03:00
Andrew Osmond
c7ece5c2e5 Bug 1472145 - Part 1. Add support for identifying the WebP images MIME type. r=tnikkel 2018-06-29 20:30:05 -04:00
Dragana Damjanovic
c73d6a6cda Bug 1453204 - Fix 425 return code for websocket. r=michal
--HG--
extra : rebase_source : 7455df696dd97cf3b457edf6d227128432bce04a
2018-06-29 09:10:00 +03:00
Michal Novotny
54b4934a24 Bug 756165 - Return close code 1015 to JS when TLS setup fails, r=baku, r=valentin
We cannot simply pass the status code using nsIWebSocketListener::OnServerClose because it's called only when the connection is established. Instead, I'm passing TLS failure from http channel to nsIWebSocketListener::OnStop where the correct status code is set.
2018-06-28 07:54:00 +03:00
Cosmin Sabou
f4b3baf021 Merge mozilla-inbound to mozilla-central. a=merge 2018-06-28 13:04:23 +03:00
Tiberius Oros
945c24abe5 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-06-28 01:12:18 +03:00
Tiberius Oros
705b995848 Merge inbound to mozilla-central. a=merge 2018-06-28 01:07:30 +03:00
Nathan Froyd
9fd8289cf9 Bug 1471435 - part 2 - micro-optimize deferred MaybeOpen calls; r=valentin
We shouldn't need to QueryInterface from nsIFile to nsIFile!
2018-06-27 11:27:33 -04:00
Nathan Froyd
d65aee9de5 Bug 1471435 - part 1 - clean up nsFile{Input,Ouput}Stream::Create; r=valentin
We should be using smart pointers here, and there's no need to check for
allocation failure with our infallible new policy.
2018-06-27 11:27:33 -04:00
David Keeler
9b69a30991 bug 1470030 - convert manually-written nsINSSComponent definition to idl r=fkiefer
Defining nsINSSComponent in idl rather than manually in a header file allows us
to make full use of the machinery that already exists to process and generate
the correct definitions. Furthermore, it enables us to define JS-accessible APIs
on nsINSSComponent, which enables us to build frontend features that can work
directly with the data and functionality the underlying implementation has
access to.

MozReview-Commit-ID: JFI9s12wmRE

--HG--
extra : rebase_source : 16b660e37db681c8823cbb6b7ff59dd0d35f7e73
2018-06-20 16:43:18 -07:00
Andreea Pavel
2110978616 Backed out changeset 5d8c20358cac (bug 756165) for [@ MOZ_CrashOOL] crashes on a CLOSED TREE 2018-06-28 03:00:49 +03:00
Michal Novotny
10476f8e5b Bug 756165 - Return close code 1015 to JS when TLS setup fails, r=baku, r=valentin
We cannot simply pass the status code using nsIWebSocketListener::OnServerClose because it's called only when the connection is established. Instead, I'm passing TLS failure from http channel to nsIWebSocketListener::OnStop where the correct status code is set.
2018-06-27 06:50:00 +03:00
Tiberius Oros
eacc3eda3e Merge mozilla-central to inbound. a=merge CLOSED TREE 2018-06-28 01:15:41 +03:00
Nathan Froyd
dcb8cac432 Bug 1471627 - use a more reasonable stack size for DNS resolver threads; r=valentin
We're maintaining a thread pool, we should be using thread pool stack sizes.
2018-06-27 15:29:12 -04:00
Marco Bonardo
042ca3e569 Bug 1470961 - Remove unnecessary use of SQLITE_IGNORE. r=asuth
MozReview-Commit-ID: GhZzTzLULWp

--HG--
extra : rebase_source : d5d0c60014199da544893003036fa3371b440c00
2018-06-26 13:50:57 +02:00
Valentin Gosu
b029385db8 Bug 1470907 - Call AsyncShutdown for threads at the end of nsHostResolver::ThreadFunc r=froydnj
MozReview-Commit-ID: 2M8Qn8KDfdx

--HG--
extra : rebase_source : 5f6f37a630093badae7889ffdd4f10ba4e3d49b7
2018-06-26 02:54:48 +02:00
Daniel Stenberg
4a2731b037 bug 1471217 - ignore the network.dns.get-ttl pref on non-supported systems r=mcmanus
Which is how the pref is documented in all.js

MozReview-Commit-ID: 5ONQgZ1wO5G

--HG--
extra : rebase_source : cdbf5683b12a3bdb889f56c9b4b5037218bedc43
2018-06-26 15:36:26 +02:00
Margareta Eliza Balazs
03ab62719a Merge mozilla-central to autoland. a=merge CLOSED TREE
--HG--
rename : devtools/client/debugger/test/mochitest/browser_dbg_tabactor-01.js => devtools/client/debugger/test/mochitest/browser_dbg_target-scoped-actor-01.js
rename : devtools/client/debugger/test/mochitest/browser_dbg_tabactor-02.js => devtools/client/debugger/test/mochitest/browser_dbg_target-scoped-actor-02.js
2018-06-26 18:08:43 +03:00
Chris Peterson
2afd829d0f Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj
This patch is an automatic replacement of s/NS_NOTREACHED/MOZ_ASSERT_UNREACHABLE/. Reindenting long lines and whitespace fixups follow in patch 6b.

MozReview-Commit-ID: 5UQVHElSpCr

--HG--
extra : rebase_source : 4c1b2fc32b269342f07639266b64941e2270e9c4
extra : source : 907543f6eae716f23a6de52b1ffb1c82908d158a
2018-06-17 22:43:11 -07:00
Tarek Ziadé
7158cbfa29 Bug 1470073 - Make IOActivityMonitor timer optional - r=valentin
- Introduced the io.activity.enabled pref, so IOActivityMonitor can run without a timer
- Added IOActivityMonitor::NotifyActivities() to trigger notifications manually
- Added ChromeUtils.requestIOActivity() so we can trigger it via JS

MozReview-Commit-ID: 9JA2rLaM496

--HG--
extra : rebase_source : e473a7b0ec7c231ab321846c5ddcc4d6a88d7245
2018-06-26 10:43:16 +02:00
arthur.iakab
05cc8bb814 Backed out changeset b5e89c1b4e8c (bug 1470073) for failing browser chrome tests on browser_test_io_activity.js on a CLOSED TREE 2018-06-26 04:10:45 +03:00
Tarek Ziadé
0f643a27fd Bug 1470073 - Make IOActivityMonitor timer optional - r=valentin
- Introduced the io.activity.enabled pref, so IOActivityMonitor can run without a timer
- Added IOActivityMonitor::NotifyActivities() to trigger notifications manually
- Added ChromeUtils.requestIOActivity() so we can trigger it via JS

MozReview-Commit-ID: 9JA2rLaM496

--HG--
extra : rebase_source : 0a92195b6b8314383c63de4b2bb1dfe033c40e9f
2018-06-25 18:32:22 +02:00
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