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

6232 Коммитов

Автор SHA1 Сообщение Дата
Wes Kocher cf8f3268a1 Merge inbound to central, a=merge
MozReview-Commit-ID: 5tBON9YUdAO
2017-08-07 15:23:46 -07:00
Honza Bambas a34f847b9f Bug 1386323 - Perform HTTP response throttling only for a limited time after new transactions are actived. r=mcmanus 2017-08-07 06:28:00 -04:00
Carsten "Tomcat" Book a24b9505f9 Merge mozilla-central to autoland 2017-08-07 13:16:54 +02:00
Honza Bambas c4e6e0b6c7 Bug 1387090 - Properly handle DontThrottle flag in all places in nsHttpTransaction. r=mcmanus 2017-08-03 10:47:00 -04:00
Dragana Damjanovic dd.mozilla@gmail.com 23c8b30d23 Bug 1381282 - Change nsScriptErrorBase::InitWithWindowID so that it does not call GetSensitiveInfoHiddenSpec as much as now. r=bz r=valentin 2017-08-07 15:56:30 +02:00
Nicholas Nethercote f941156987 Bug 1386600 - Change nsIStringBundle methods to return |AString| instead of |wstring|. r=emk,sr=dbaron.
This removes about 2/3 of the occurrences of nsXPIDLString in the tree. The
places where nsXPIDLStrings are null-checked are replaced with |rv| checks.

The patch also removes a couple of unused declarations from
nsIStringBundle.idl.

Note that nsStringBundle::GetStringFromNameHelper() was merged into
GetStringFromName(), because they both would have had the same signature.

--HG--
extra : rebase_source : ac40bc31c2a4997f2db0bd5069cc008757a2df6d
2017-08-04 14:40:52 +10:00
Henry Chang af3b11c151 Bug 1375277 - New safebrowsing threat type "POTENTIALLY_HARMFUL_APPLICATION" introduced by v4. r=francois
As our threattype-listname conversion design, "goog-harmful-proto" is allocated
for this new threat type. This threat type is mainly for mobile.

MozReview-Commit-ID: G9GbgmHHHfp

--HG--
extra : rebase_source : 0681fcd9322b94451a86eafe57bf1ccc4b89db30
extra : intermediate-source : 28b0502d9add81beeae58a2c33f9fd5839d4d544
extra : source : 646f02f15131aa98ad37015b0a641304a3271796
2017-07-27 15:37:57 +08:00
Masatoshi Kimura 866d87ee67 Bug 1361579 - Remove nsISimpleContentPolicy. r=Ehsan
MozReview-Commit-ID: BsjkGpTpe8I

--HG--
extra : rebase_source : 640807623fc70797932a0ee592b887d5c134b5f9
2017-08-03 17:50:00 +09:00
Wes Kocher 2196b718d3 Merge inbound to central, a=merge
MozReview-Commit-ID: DlSLhaepjeU
2017-08-03 18:06:53 -07:00
Michal Novotny 926a7d4aa2 Bug 1382831 - Race condition in nsHttpChannel::OnCacheEntryCheck when racing cache with network. r=valentin, r=honzab
When racing cache with network, conditional or byte range header could be added in OnCacheEntryCheck. We need to remove these headers when sending the network request, otherwise we would send a conditional request while not having the entry.
2017-08-03 04:02:00 -04:00
Amy Chung 1f101b071c Bug 1331680 - Part 1: Send required cookies to the content process on demand. r=jdm 2017-08-03 19:00:41 +08:00
Wes Kocher baf6cddc4c Merge inbound to central, a=merge
MozReview-Commit-ID: 9NFjSEt96iT
2017-08-02 17:11:51 -07:00
Honza Bambas 46b81d1b6e Bug 1377205 - Functionality to explicitly disallow throttle of HTTP responses. r=hurley 2017-08-01 13:01:00 -04:00
Masatoshi Kimura f143125cc2 Bug 1326520 - Rename nsIURI.path to pathQueryRef. r=valentin.gosu
MozReview-Commit-ID: DqJdTGopR9G

--HG--
extra : rebase_source : e8c9eb03468c075b79013b6e0bd8b367229c24cd
2017-07-29 20:50:21 +09:00
Nicholas Hurley 5fd7068084 Bug 1381016 - Ensure we process FIN flags on all-padding final frames. r=swu
MozReview-Commit-ID: JuSGsYsmv4n

--HG--
extra : rebase_source : a3c016560cb8209c2e6a55cd05fc6d14d2057402
2017-08-01 15:24:44 -07:00
Dragana Damjanovic fa91873e57 Bug 1379631 - Make nsCORSListenerProxy really retargetable. r=mayhemer
--HG--
extra : rebase_source : dead854ea6e7511fcf92c3800c37a96017ad38c9
2017-08-01 15:05:22 -04:00
Sebastian Hengst ddd4030358 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: IrMqWiJhwan
2017-08-01 11:23:57 +02:00
Wes Kocher b11975d1ad Merge m-c to autoland, a=merge
MozReview-Commit-ID: L5cEw8jWPNI
2017-07-31 17:53:14 -07:00
Nicholas Nethercote 72c884bf74 Bug 1384835 (part 3, attempt 2) - Remove the Preferences::Get*CString() variants that return nsAdoptingCString. r=froydnj.
--HG--
extra : rebase_source : d317b25be2ec21d1a60d25da3689e46cdce0b649
2017-07-31 14:28:48 +10:00
Nicholas Nethercote 581214bd8b Bug 1384835 (part 1, attempt 2) - Use nsA[C]String references instead of pointers for outparams of Get*String() pref functions. r=froydnj.
--HG--
extra : rebase_source : fe566945a55c281d8290634a5b55bed19415c839
2017-07-31 10:52:51 +10:00
Wes Kocher c07dbb8e82 Merge m-c to autoland, a=merge CLOSED TREE
MozReview-Commit-ID: FJUPXxVFLLL
2017-07-28 18:03:57 -07:00
Wes Kocher 40c3480d89 Merge inbound to central, a=merge
MozReview-Commit-ID: JNxfwQh0cac

--HG--
rename : gfx/layers/wr/WebRenderCompositableHolder.h => gfx/layers/wr/AsyncImagePipelineManager.h
2017-07-28 17:40:43 -07:00
Honza Bambas 585bff5b22 Bug 1383234 - Don't throttle Blocking/Unblocked marked HTTP responses. r=mcmanus 2017-07-28 08:10:00 -04:00
Carsten "Tomcat" Book 139661e8e4 Merge mozilla-central to mozilla-inbound 2017-07-28 15:25:58 +02:00
Carsten "Tomcat" Book 892bedca2e merge mozilla-inbound to mozilla-central a=merge 2017-07-28 15:24:39 +02:00
Nicolas B. Pierron 542817ed5d Bug 1371333 - Remove unused CacheTokenLastFetched from CacheInfoChannel. r=valentin 2017-07-28 13:06:48 +00:00
Sebastian Hengst d7527a414d Backed out changeset 07b534f44740 (bug 1384835) for failing xpcshell's security/manager/ssl/tests/unit/test_cert_sha1.js checkCertErrorGenericAtTime on Linux x64 debug. r=backout 2017-07-28 10:30:29 +02:00
Sebastian Hengst 744a0a216b Backed out changeset ef5feef07bed (bug 1384835) 2017-07-28 10:29:24 +02:00
Nicholas Nethercote 200d8ec18b Bug 1384835 (part 3) - Remove the Preferences::Get*CString() variants that return nsAdoptingCString. r=froydnj.
This is similar like the previous patch, but for the 8-bit string variants.
Also, it changes assignment to Adopt() in GetCString() and GetDefaultCString()
to avoid an extra copy.

--HG--
extra : rebase_source : eba805c3a7b809d5ccd6e853b1c9010db9477667
2017-07-27 16:45:10 +10:00
Nicholas Nethercote f314cbcbe5 Bug 1384835 (part 1) - Use nsA[C]String references instead of pointers for outparams of Get*String() pref functions. r=froydnj.
This is basically a cosmetic change; references are the normal way to do string
outparams.

--HG--
extra : rebase_source : ffc5945f269bdcd3d4116755b56713e87a44b6cd
2017-07-25 19:12:56 +10:00
Kershaw Chang 9d5a13ae0f Bug 1366822 - Part2: Revert changes of NotifyCurrentTopLevelContentWindowChange, r=mayhemer 2017-07-27 23:42:00 +02:00
Dragana Damjanovic cc72e15a65 Bug 1382555 - Change some diagnostic asserts to find out why mEnt is nof in mCT. r=mcmanus 2017-07-27 19:10:11 +02:00
Dennis Schubert 5e5fbc7693 Bug 1383909 - Add observer notification when UserAgentOverrides.jsm finishes initializing. r=mcmanus
MozReview-Commit-ID: BPMzszXmhbC

--HG--
extra : rebase_source : 6bacd03e1a47d0fcd24b561e92a048ed20a75704
2017-07-24 23:25:51 +02:00
Carsten "Tomcat" Book d360d49d2a merge mozilla-inbound to mozilla-central a=merge 2017-07-27 10:57:25 +02:00
Wes Kocher ad35031103 Merge m-c to inbound, a=merge
MozReview-Commit-ID: LhiAcCiFBus
2017-07-26 18:33:18 -07:00
Carsten "Tomcat" Book 8a74dfa905 Merge mozilla-central to autoland 2017-07-26 11:18:21 +02:00
Shih-Chiang Chien da2e0b2b35 Bug 1382380 - ensure mListener/mListenerContext/mCompressListener is released on main thread. r=dragana
During abnormal shutdown, HttpChannelChild might be released on STS thread. However, not all stream listener
that attached to the HTTP channel is thread-safe to be released on non-main thread. By following
HttpBaseChannel::ReleaseListener, we should ensure mListener/mListenerContext/mCompressListener is released on
main thread for both normal channel close and abnormal shutdown scenario.

MozReview-Commit-ID: Gqbk7dUOIcI

--HG--
extra : rebase_source : 1ce6eb1333b05c375469c2fef6284c11fda24f3e
2017-07-21 09:51:04 +08:00
Carsten "Tomcat" Book bdf7db3d13 Merge mozilla-central to mozilla-inbound
--HG--
rename : dom/tests/mochitest/chrome/test_window_getAppLocales.html => dom/tests/mochitest/chrome/test_window_getRegionalPrefsLocales.html
rename : mobile/android/app/src/main/res/drawable/as_contextmenu_divider.xml => mobile/android/app/src/main/res/drawable/as_contextmenu_divider_helper.xml
rename : testing/tools/autotry/autotry.py => tools/tryselect/selectors/syntax.py
extra : rebase_source : d74c74a654cd977d35e35de2768ada4ebe659ae4
2017-07-25 14:38:43 +02:00
Carsten "Tomcat" Book 679210723b merge mozilla-inbound to mozilla-central a=merge 2017-07-25 14:27:17 +02:00
Kershaw Chang 55bb698ac1 Bug 1377544 - Labeling in ExtensionProtocolHandler, r=mayhemer
1. Get rid off AbstractThread
2. Use nsContentUtils::GetEventTargetByLoadInfo to get an event target for dispatching
2017-07-24 23:50:00 +02:00
Wes Kocher a1eadef812 Merge m-c to autoland, a=merge
MozReview-Commit-ID: B7oWq7qfpJ0
2017-07-24 18:13:05 -07:00
Dragana Damjanovic dd.mozilla@gmail.com bfaf919c95 Bug 1382555 - Add more diagnostic asserts to nsHtttpConnectionMgr. r=mcmanus 2017-07-24 16:24:33 +02:00
Honza Bambas 9a90f230ca Bug 1351462 - Don't reuse a connection that has not finished an NTLM authentication. r=mcmanus 2017-07-12 09:21:00 -04:00
Michal Novotny 9370303ce3 Bug 1377223 - RCWN - Should we revalidate when racing and the cache wins, r=valentin, data-r=bsmedberg
This patch adds telemetry probes to find out how often the cache wins the race but the entry cannot be used because it needs to be revalidated and we cannot send a conditional request.
2017-07-24 20:35:36 +02:00
Shih-Chiang Chien b13d8ee1d2 Bug 1369571 - break reference cycle between HttpChannelChild and HttpBackgroundChannelChild while PHttpChannel is destroyed. r=mayhemer
The reference cycle is supposed to be removed when HttpBackgroundChannelChild::ActorDestroyed, however this operation
is pending due until HttpChannelChild receives OnStartRequest IPC message. Unfortunately the OnStartRequest IPC message
is dropped because of PContent shutdown procedure. So, the reference removal is never executed, which leaks memory
until content process is terminated.

MozReview-Commit-ID: 7R6nt7W690o

--HG--
extra : rebase_source : b7e218d0ff242d5be291007c93833782b2400846
2017-07-18 19:03:14 +08:00
Carsten "Tomcat" Book 740c6ff791 Merge mozilla-central to autoland 2017-07-28 15:27:47 +02:00
Shih-Chiang Chien 72cfd0cddb Bug 1384294 - replace GetMainThreadEventTarget with GetNeckoTarget in HttpChannelChild. r=mayhemer
GetMainThreadEventTarget doesn't label runnable with correct doc group or tab group.
In HttpChannelChild we should replace it with |GetNeckoTarget| in general.
By making mIsTrackingResource atomic, HttpChannelChild::ProcessNotifyTrackingResource can be
further changed to do direct function call without dispatching additional runnable on main thread.

MozReview-Commit-ID: LVvoiljHElX

--HG--
extra : rebase_source : 35e85c8afed1411cd60cf2c7ae5cb01cc05f80b2
2017-07-26 15:55:18 +08:00
Sebastian Hengst f16a7f8371 merge mozilla-inbound to mozilla-central. r=merge a=merge
MozReview-Commit-ID: 4EWdTlEncz7
2017-07-22 11:38:42 +02:00
Shih-Chiang Chien 8ee3df7d5c Bug 1382103 - ensure thread-safe access to HttpBackgroundChannelParent::mBackgroundThread. r=mayhemer
mBackgroundThread is an nsCOMPtr write on PBackground thread but read on main thread. We need to use
Mutex to ensure memory sync between multiple threads.

MozReview-Commit-ID: 2CJ359ivhQh

--HG--
extra : rebase_source : 53c9087220a15d225d07272815cc1bdd6f75859e
2017-07-17 16:36:30 +08:00
Sylvestre Ledru 7c0ae251cd Bug 1381253 - Remove redundant control flow declarations rs=ehsan
MozReview-Commit-ID: FFxP4aMCbOL

--HG--
extra : amend_source : 3aec108430b11048f47ffe19d5da7ac5034770a9
2017-07-15 19:03:04 +02:00