Henri Sivonen
6fbfac6f0d
Bug 1395114 - Remove nsIUnicharStreamLoader. r=emilio,michal
...
MozReview-Commit-ID: ECKNnJt80oK
2018-03-26 12:45:31 +03:00
Andrea Marchesini
3faaf5a84b
Bug 1425458 - Resource timing entries Workers - part 0 - NS_NewChannel, r=smaug
...
* * *
Bug 1425458 - Resource timing entries Workers - part 10 - Correct parameters in NS_NewChannel in nsDataObj.cpp, r=me
2018-01-24 17:17:31 +01:00
Brindusan Cristian
1153f2c09e
Backed out 12 changesets (bug 1425458) for mochitest failures on WorkerPrivate.cpp on a CLOSED TREE
...
Backed out changeset 11997de13778 (bug 1425458)
Backed out changeset 100b9d4f36bc (bug 1425458)
Backed out changeset a29e9dbb8c42 (bug 1425458)
Backed out changeset b96d58fd945c (bug 1425458)
Backed out changeset f140da44ba68 (bug 1425458)
Backed out changeset af56400233d9 (bug 1425458)
Backed out changeset 7034af4332e4 (bug 1425458)
Backed out changeset f70500179140 (bug 1425458)
Backed out changeset 793bbfc23257 (bug 1425458)
Backed out changeset 2efb375a8ffc (bug 1425458)
Backed out changeset 07e781e37451 (bug 1425458)
Backed out changeset e875f3702a5f (bug 1425458)
2018-01-24 20:47:48 +02:00
Andrea Marchesini
b434804b93
Bug 1425458 - Resource timing entries Workers - part 0 - NS_NewChannel, r=smaug
2018-01-24 17:17:31 +01:00
Ben Kelly
b162cc9335
Bug 1231211 P12 Allow the ClientInfo and ServiceWorkerDescriptor to be passed to NS_NewChannel() for principal based loads. r=valentin
2018-01-23 10:38:54 -05:00
Luke Crouch
77eb3049d3
Bug 587523 - rename referer.userControlPolicy to referer.defaultPolicy r=valentin
...
MozReview-Commit-ID: A2hkYfdTCR9
2018-01-10 16:51:10 -06:00
Luke Crouch
8f3bdcf2d3
Bug 587523 - strict-origin-when-cross-origin referer policy in pbmode r=valentin
...
Adds new network.http.referer.defaultPolicy.pbmode pref which defaults to 2.
When setting referrer from default policy, checks mLoadInfo OriginAttributes
for mPrivateBrowsingId > 0 to detect PBM.
MozReview-Commit-ID: 7SfNk0dO1rW
2018-01-10 16:33:52 -06:00
Andrea Marchesini
4cdec3b5e8
Bug 1424809 - Get rid of NS_NewPostDataStream, r=valentin
2017-12-12 06:01:17 -06:00
Andrea Marchesini
66a055c50b
Bug 1419382 - Moving ownership of nsIInputStream when using netUtil functions - part 4 - Get rid of NS_NewAsyncStreamCopier, r=smaug
2017-11-22 11:19:25 +01:00
Andrea Marchesini
e4f3681898
Bug 1419382 - Moving ownership of nsIInputStream when using netUtil functions - part 3 - NS_NewInputStreamPump, r=smaug
2017-11-22 11:18:57 +01:00
Andrea Marchesini
98ef19a386
Bug 1419382 - Moving ownership of nsIInputStream when using netUtil functions - part 2 - NS_NewInputStreamChannel, r=smaug
2017-11-22 11:18:36 +01:00
Andrea Marchesini
78d1ee0fd0
Bug 1419382 - Moving ownership of nsIInputStream when using netUtil functions - part 1 - NS_NewInputStreamChannelInternal, r=smaug
2017-11-22 11:18:18 +01:00
Andrea Marchesini
2bd50bc36b
Bug 1415081 - part 0 - NS_ReadInputStreamToString must support nsIAsyncInputStream, r=smaug
2017-11-09 11:18:08 +01:00
Andrea Marchesini
c9ad4ef15f
Bug 1409329 - NS_NewBufferedOutputStream should take the ownership of the outputStream, r=smaug
2017-10-24 14:38:23 +02:00
Andrea Marchesini
304820957d
Bug 1409327 - NS_NewBufferedInputStream should take the ownership of the inputStream, r=smaug
2017-10-19 11:39:30 +02:00
Andrea Marchesini
93901ebca1
Bug 1402888 - Remove nsIInputStreamPump::Init() offset and limit params, r=smaug
2017-09-26 07:21:44 +02:00
Andrea Marchesini
454b4f9e2a
Bug 1401204 - Get rid of NS_BackgroundInputStream and NS_BackgroundOutputStream, r=valentin
2017-09-19 17:52:28 +02:00
db76da33f3
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
Kershaw Chang
90b8b89de8
Bug 1366822 - Part2: Revert changes of NotifyCurrentTopLevelContentWindowChange, r=mayhemer
2017-07-27 23:42:00 +02:00
Masatoshi Kimura
a725dc3e13
Bug 1373984 - Turn nsIDocument::mCharacterSet into mozilla::NotNull<const mozilla::Encoding*>. r=hsivonen
...
MozReview-Commit-ID: GF0YXDwfA14
2017-06-18 20:37:50 +09:00
DimiL
0a4d250e6c
Bug 1335943 - Use the right origin attribute in Safe Browsing completions. r=francois
...
MozReview-Commit-ID: 8HQHzuwE5Cf
2017-06-21 17:27:22 +08:00
Sebastian Hengst
9736fc0664
Backed out changeset 7235d05662b0 (bug 1373984) for Android bustage. r=backout on a CLOSED TREE
2017-06-25 18:30:13 +02:00
Masatoshi Kimura
cff1fdcb48
Bug 1373984 - Turn nsIDocument::mCharacterSet into mozilla::NotNull<const mozilla::Encoding*>. r=hsivonen
...
MozReview-Commit-ID: GF0YXDwfA14
2017-06-18 20:37:50 +09:00
Wes Kocher
d214d1f5fa
Backed out changeset 77af189b5c49 (bug 1373984) for build bustage in nsHtml5Parser.cpp a=backout CLOSED TREE
...
MozReview-Commit-ID: 6kBmU71j2To
2017-06-25 05:10:14 -07:00
Masatoshi Kimura
d3e74dcb2d
Bug 1373984 - Turn nsIDocument::mCharacterSet into mozilla::NotNull<const mozilla::Encoding*>. r=hsivonen
...
MozReview-Commit-ID: GF0YXDwfA14
2017-06-18 20:37:50 +09:00
Honza Bambas
d9b2cc5343
Bug 1319111 - Expose 'result principal URI' on LoadInfo as a source for NS_GetFinalChannelURI (removes some use of LOAD_REPLACE flag). r=bz, r=mikedeboer
2017-05-30 18:07:59 +02:00
Honza Bambas
00cefdc449
Backout of 7f28c1084c47 (bug 1319111) for security checks breakage, r=me
2017-05-25 18:16:02 +02:00
Honza Bambas
0487f42c85
Bug 1319111 - Expose 'result principal URI' on LoadInfo as a source for NS_GetFinalChannelURI (removes some use of LOAD_REPLACE flag). r=bz
2017-05-23 08:09:00 -04:00
Honza Bambas
f3b5a77a73
backout of f9abb9c83452 (bug 1319111) for crashes, r=bz
2017-05-13 13:55:11 +02:00
Wes Kocher
7b49a483cc
Backed out changeset 95ff98f1c2e5 (bug 1319111) for talos failures a=backout
...
MozReview-Commit-ID: Gs09moFm5rQ
2017-05-12 18:24:42 -07:00
Honza Bambas
b05b600614
backout of f9abb9c83452 (bug 1319111) for crashes, r=bz
2017-05-12 22:13:49 +02:00
Kershaw Chang
641c6c9fc4
Bug 1352176 - Part1: Pass a labeled event target when initializing nsInputStreamPump, r=mayhemer
...
Since the mTargetThread in nsInputStreamPump is directly acquired from current or main thread, we need to pass another labeled main thread target to dispatch runnables to the correct tab/doc group.
2017-05-09 19:59:00 +02:00
Honza Bambas
e8227e774f
Bug 1319111 - Expose URI to make security check against on LoadInfo (no LOAD_REPLACE flag). r=bz
2017-01-27 19:10:01 +01:00
Yoshi Huang
053c2d92fc
Bug 1284579 - Part 2: revise NS_ShouldCheckAppCache. r=valentin
...
There's one redudant NS_ShouldCheckAppCache(nsIURI*, bool) is not used
anymore. Also we remove the extra usePrivateBrowsing argument, since we
can get this information from nsIPrincipal.
2017-05-04 09:40:00 +08:00
Valentin Gosu
7e8ca8ee92
Bug 1354349 - Add nsIChannel.isDocument that checks if LOAD_DOCUMENT_URI is set, or if LOAD_HTML_OBJECT_DATA and the channel has the appropriate MIME type r=mcmanus,mystor
...
MozReview-Commit-ID: K28Opd9JTr2
2017-04-20 10:15:06 +08:00
Tom Tung
59db06337a
Bug 1330297 - Part 1: Strip leading or trailing HTTP whitespace for Header value to follow the spec and share code bewteen fetch and XHR. r=baku
2017-04-10 16:15:29 +08:00
Yoshi Huang
bcb5c3ac77
Bug 1346713 - Generate unique firstPartyDomain value for NullPrincipal. r=smaug
...
In the past we used a fixed value for the firstPartyDomain of
NullPrincipal, now we derive it from the path of NullPrincipal, so it
will be unique everytime we create it.
2017-04-11 16:48:34 +08:00
Yoshi Huang
6c76de3e9f
Bug 1300671 - set firstPartyDomain on about: pages. r=smaug
...
When we load about:blank in a remote tab, it will have
LOAD_FLAGS_DISALLOW_INHERIT_PRINCIPAL flag set, which will make
NullPrinicipal as its document principal. So we add
NULL_PRINCIPAL_FIRST_PARTY_DOMAIN as its firstPartyDomain.
So when we load data:, or javascript: URI in a remote tab, it will inherit the
principal from about:blank, hence also inherit the origin attributes.
There are also some about: pages will use codebase principal, so we also
set ABOUT_URI_FIRST_PARTY_DOMAIN as firstPartyDomain on their
principals.
2017-03-14 16:22:02 +08:00
Kershaw Chang
fcebe82139
Bug 1309653 - Part1: Add new API for updating current top level outer content windowId - v2, r=honzab
2017-03-10 01:32:00 +01:00
Benjamin Smedberg
59181ead76
Bug 1332639 - Remove the external string API: nsStringAPI.h/cpp and nsEmbedString.h, r=glandium
...
MozReview-Commit-ID: 9dZcmMAI0Vk
2017-02-27 11:41:52 -05:00
Andrea Marchesini
837add14a5
Bug 1339710 - Remove nsIPartialFileInputStream, r=smaug
2017-02-22 09:41:51 +01:00
Iris Hsiao
0230dfa2c7
Backed out 5 changesets (bug 1339710) for GTest failures in TestSlicedInputStream.StartBiggerThan
...
Backed out changeset 7c0ec55b44dc (bug 1339710 )
Backed out changeset cbb4e1c2aada (bug 1339710 )
Backed out changeset c685dca493f5 (bug 1339710 )
Backed out changeset 4761a15d45fd (bug 1339710 )
Backed out changeset 7561692c1bc7 (bug 1339710 )
2017-02-22 16:19:50 +08:00
Andrea Marchesini
3bb60b8a9c
Bug 1339710 - Remove nsIPartialFileInputStream, r=smaug
2017-02-22 07:56:29 +01:00
Jonathan Hao
585dbfd246
Bug 1323644 - Isolate the HSTS and HPKP storage by first party domain (Necko) r=ckerschb
...
MozReview-Commit-ID: 6DFPXTXoykc
2017-02-14 10:29:41 +08:00
Wei-Cheng Pan
2af5e12dfa
Bug 1323949 - Use MOZ_MUST_USE in netwerk/protocol/websocket r=valentin
...
MozReview-Commit-ID: 6lNrHbDIUez
2016-11-23 18:00:42 +08:00
Andrea Marchesini
46a9207d60
Bug 1328653 - Merging all the various *OriginAttributes to just one, r=huseby
2017-01-12 17:38:48 +01:00
Thomas Nguyen
20c9180890
Bug 1304623 - Create a pref to control the default referrer policy- part 2. r=mcmanus, r=bkelly
...
MozReview-Commit-ID: GEUDZ8UZAT5
2017-01-05 11:30:03 +08:00
dimi
d2fb140df2
Bug 1320402 - Move url-classifier off of using appIds. r=ehsan, gcp
...
MozReview-Commit-ID: IqnAVrv2c9W
2017-01-03 14:21:58 +08:00
Ehsan Akhgari
90f8d7c831
Bug 1318887 - Remove NS_GetAppInfo; r=mcmanus
...
This function is now only used to populate some write-only data members.
2016-11-21 15:00:46 -05:00
Ehsan Akhgari
516a4de699
Bug 1318206 - Remove some unused code for clearing app data; r=baku,mcmanus
2016-11-17 08:30:21 -05:00