Valentin Gosu
b7c2ade2f2
Bug 1532253 - Add threadsafe BlobURLProtocolHandler::CreateNewURI r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D22135
--HG--
extra : moz-landing-system : lando
2019-03-19 15:13:47 +00:00
Valentin Gosu
87e9bbff49
Bug 1532253 - Add NS_NewURIOnAnyThread r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D22137
--HG--
extra : moz-landing-system : lando
2019-03-19 15:11:31 +00:00
Kershaw Chang
50316df2bb
Bug 1521729 - P1: Support to get the result from NS_ShouldSecureUpgrade asynchronously r=mayhemer
...
1. Make nsHttpChannel::OnBeforeConnect async.
2. There are two ways to get the result from NS_ShouldSecureUpgrade. One is getting the result synchronously from the input reference and the other is via the provided callback.
Note that the callback is only used when the storage is not ready to read at startup.
Differential Revision: https://phabricator.services.mozilla.com/D20191
--HG--
extra : moz-landing-system : lando
2019-03-18 15:48:21 +00:00
Andrea Marchesini
c39dc7f1aa
Bug 1533074 - Implement Fingerprinting and Cryptomining annotation features - Part 1 - Classification flags in nsIHttpChannel, r=valentin,dimi
...
Differential Revision: https://phabricator.services.mozilla.com/D22341
--HG--
extra : moz-landing-system : lando
2019-03-14 17:47:59 +00:00
Dorel Luca
0e9ffb4c4f
Merge mozilla-inbound to mozilla-central. a=merge
2019-03-14 18:25:40 +02:00
Christoph Kerschbaumer
459ec2f354
Bug 1533159: Add MOZ_RELEASE_ASSERT to all SetLoadInfo implementations to ensure loadinfo is never null. r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D23302
--HG--
extra : moz-landing-system : lando
2019-03-14 11:38:23 +00:00
Sylvestre Ledru
4aa92e3091
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D22514
2019-03-13 10:19:06 +01:00
Dorel Luca
3ef1df6038
Backed out 5 changesets (bug 1533074) for eslint failure
...
Backed out changeset 36c6a7178a5c (bug 1533074)
Backed out changeset 7e6a8fadff5b (bug 1533074)
Backed out changeset 2a0494fed543 (bug 1533074)
Backed out changeset 38470d2dd98c (bug 1533074)
Backed out changeset af4e03d1f5c8 (bug 1533074)
2019-03-14 09:14:15 +02:00
Andrea Marchesini
84f30a4b42
Bug 1533074 - Implement Fingerprinting and Cryptomining annotation features - Part 1 - Classification flags in nsIHttpChannel, r=valentin,dimi
...
Differential Revision: https://phabricator.services.mozilla.com/D22341
--HG--
extra : moz-landing-system : lando
2019-03-14 06:31:17 +00:00
Alex Gaynor
456bcf6c38
Bug 1534666 - replace OptionalInputStreamParams with InputStreamParams? in IPDL; r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D23153
--HG--
extra : moz-landing-system : lando
2019-03-12 15:52:26 +00:00
Valentin Gosu
21bfdeb265
Bug 1525036
- Add CrossOriginPolicy to the browsing context r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D21418
--HG--
extra : moz-landing-system : lando
2019-03-12 08:04:01 +00:00
Csoregi Natalia
d086070187
Backed out 5 changesets (bug 1525036
) for browser_httpCrossOriginHeader.js failures. CLOSED TREE
...
Backed out changeset 6717beb3ac53 (bug 1525036
)
Backed out changeset 0c05686bd62a (bug 1525036
)
Backed out changeset 502b0bb796cd (bug 1525036
)
Backed out changeset fa0363d33dbd (bug 1525036
)
Backed out changeset 6391f42aaa6d (bug 1525036
)
2019-03-09 02:39:11 +02:00
Valentin Gosu
d12177cb53
Bug 1525036
- Add CrossOriginPolicy to the browsing context r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D21418
--HG--
extra : moz-landing-system : lando
2019-03-08 15:34:54 +00:00
Andrea Marchesini
8e20bbbc9a
Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 12 - nsICookieSettings for the channel creation, r=ckerschb,asuth,Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D21538
--HG--
extra : moz-landing-system : lando
2019-03-08 09:04:11 +00:00
Andrea Marchesini
43beb5b35b
Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 1 - information stored into loadInfo, r=Ehsan,ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D18949
--HG--
extra : moz-landing-system : lando
2019-03-08 09:00:06 +00:00
Valentin Gosu
28c9aa9535
Bug 1437661 - Use fallible AppendUTF16toUTF8 to avoid OOM crash r=JuniorHsu
...
Differential Revision: https://phabricator.services.mozilla.com/D22412
--HG--
extra : moz-landing-system : lando
2019-03-07 17:23:35 +00:00
Jan Varga
4ecb0bc14c
Bug 1526891 - Part 2: Make it possible to use MozURL by QuotaManager for all URIs (instead of using nsIPrincipal); r=nika,asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D20906
2019-02-23 10:13:08 +01:00
Jan Varga
aa63590c8e
Bug 1526615 - Part 1: Add support for RealPort and Directory to MozURL; r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D19282
2019-02-10 10:20:09 +01:00
Jan Varga
de8bd6609d
Bug 1517089 - Part 8: Add GetBaseDomainFromSchemeHost to ThirdPartyUtil and make ThirdPartyUtil ref counting thread safe; r=asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D19202
2019-02-08 21:01:46 +01:00
Dorel Luca
ac34e1d973
Backed out 16 changesets (bug 1525245) for Android failures. CLOSED TREE
...
Backed out changeset 9f8a1b410320 (bug 1525245)
Backed out changeset 0ef284a9a1d5 (bug 1525245)
Backed out changeset 835e5f642a03 (bug 1525245)
Backed out changeset 362f5a8d033c (bug 1525245)
Backed out changeset 9da3ab33cf67 (bug 1525245)
Backed out changeset 6aacd2d6e835 (bug 1525245)
Backed out changeset 8ff9e8f45e02 (bug 1525245)
Backed out changeset 2020227181cc (bug 1525245)
Backed out changeset fc3c64c330b9 (bug 1525245)
Backed out changeset 2762bf88e050 (bug 1525245)
Backed out changeset ffc10fdc50a6 (bug 1525245)
Backed out changeset bb6ade1207d7 (bug 1525245)
Backed out changeset 1875eb5085e4 (bug 1525245)
Backed out changeset 7e4f67a6d6f1 (bug 1525245)
Backed out changeset e671fc9581eb (bug 1525245)
Backed out changeset b89f5def8d0d (bug 1525245)
2019-03-06 21:07:49 +02:00
Dorel Luca
4b0b9944c9
Backed out 2 changesets (bug 1516325) for xpcshell failures in netwerk/test/unit/test_udpsocket.js. CLOSED TREE
...
Backed out changeset 7f9508dc59e1 (bug 1516325)
Backed out changeset 28eb88277ffc (bug 1516325)
2019-03-06 20:51:39 +02:00
Andrea Marchesini
4fabb4a2a8
Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 12 - nsICookieSettings for the channel creation, r=ckerschb,asuth,Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D21538
--HG--
extra : moz-landing-system : lando
2019-03-06 17:04:06 +00:00
Andrea Marchesini
2fb61cb48b
Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 1 - information stored into loadInfo, r=Ehsan,ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D18949
--HG--
extra : moz-landing-system : lando
2019-03-06 17:00:39 +00:00
Jed Davis
0004ada24c
Bug 1516325 - Don't poll for POLLPRI on Necko self-pipe on Unix. r=dragana
...
Necko uses a pipe-to-self pattern in its event loop, except that on
Windows the pipe is a socket, and we're checking for PR_POLL_EXCEPT for
Windows-specific reasons and treating it as an error. On Unix this
isn't necessary, and it causes interoperability problems with MacOS,
which asserts POLLPRI (which is what PR_POLL_EXCEPT maps to) as well
as POLLIN on pipes whenever normal data can be read. (This may be a
standards violation by MacOS, but it's simple enough to work around.)
Differential Revision: https://phabricator.services.mozilla.com/D21321
--HG--
extra : moz-landing-system : lando
2019-03-04 15:39:15 +00:00
Alex Gaynor
e5279ff3f7
Bug 1532727 - replace OptionalURIParams with URIParams? in IPDL; r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D22138
--HG--
extra : moz-landing-system : lando
2019-03-06 14:05:50 +00:00
Valentin Gosu
49ba8dc323
Bug 1532324 - Remove manual NS_RELEASE from netwerk/* r=JuniorHsu
...
Differential Revision: https://phabricator.services.mozilla.com/D22005
--HG--
extra : moz-landing-system : lando
2019-03-05 18:43:02 +00:00
Jeff Walden
3f385ffa33
Bug 1532005 - Implement a new js/public/ArrayBuffer.h header to centralize functionality for creating and interacting with ArrayBuffers. r=sfink
...
Differential Revision: https://phabricator.services.mozilla.com/D21827
--HG--
extra : rebase_source : 833bbfce12d90bcb92f7cd88ec65247e48c024c0
2019-03-04 15:19:16 -08:00
Luke Wagner
80a840b62f
Bug 1487113 - Use CloseWithStatus in ScriptLoader.cpp to indicate failure (r=baku)
2019-03-04 19:35:41 -06:00
Razvan Maries
65e4948ca0
Backed out 4 changesets (bug 1532005, bug 1531638) for causing perma fails and Spidermonkey fail. CLOSED TREE
...
Backed out changeset 4913d941de92 (bug 1532005)
Backed out changeset 9635abe5bf24 (bug 1532005)
Backed out changeset 738cf4b1126a (bug 1532005)
Backed out changeset e5d9f2ee7ac7 (bug 1531638)
2019-03-05 01:07:28 +02:00
Ciure Andrei
5ebab45abd
Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE
2019-03-04 23:54:12 +02:00
Alex Gaynor
dccb3bee8b
Bug 1531827
- replace OptionalLoadInfoArgs with LoadInfoArgs? in IPDL; r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D21722
--HG--
extra : moz-landing-system : lando
2019-03-04 06:30:00 +00:00
Jeff Walden
ecb4e10bda
Bug 1532005 - Implement a new js/public/ArrayBuffer.h header to centralize functionality for creating and interacting with ArrayBuffers. r=sfink
...
Differential Revision: https://phabricator.services.mozilla.com/D21827
--HG--
extra : rebase_source : 36c43233ad6d804bd691c8c40d6a6984331c7162
2019-02-28 17:00:56 -08:00
Byron Campen [:bwc]
3b19aecf4f
Bug 1528352: Logging improvements in nsUDPSocket, and handle negative returns from PR_RecvFrom properly. r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D20565
--HG--
extra : moz-landing-system : lando
2019-02-28 15:17:27 +00:00
Ryan Hunt
3c3b5fab3d
Bug 1523969 part 19 - Move method definition inline comments to new line in 'netwerk/'. r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D21120
--HG--
extra : rebase_source : e16845aa3669ed7b5bf9da57cdd08636e5b4500c
2019-02-25 16:11:11 -06:00
Boris Zbarsky
9c5da5f234
Bug 1489308 part 9. Remove now-unused wyciwyg bits. r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D17327
--HG--
rename : dom/html/test/browser_refresh_wyciwyg_url.js => dom/html/test/browser_refresh_after_document_write.js
rename : dom/html/test/file_refresh_wyciwyg_url.html => dom/html/test/file_refresh_after_document_write.html
extra : moz-landing-system : lando
2019-02-28 01:09:48 +00:00
Jonathan Kingston
f6680698bd
Bug 1525319 - Removing context from OnDataAvailable r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D20881
--HG--
extra : moz-landing-system : lando
2019-02-27 23:42:27 +00:00
Jonathan Kingston
dd4c731d8c
Bug 1525319 - Changing js to remove context from onStartRequest and onStopRequest r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D20771
--HG--
extra : moz-landing-system : lando
2019-02-27 23:41:54 +00:00
Jonathan Kingston
c4853316e7
Bug 1525319 - Removing context from OnStopRequest r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D20770
--HG--
extra : moz-landing-system : lando
2019-02-27 23:41:31 +00:00
Jonathan Kingston
f7e35ae39e
Bug 1525319 - Removing context from OnStartRequest r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D20769
--HG--
extra : moz-landing-system : lando
2019-02-27 23:41:04 +00:00
Ciure Andrei
a5c0678ae4
Backed out changeset d158405da514 (bug 1528352) for perma failing test_udpsocket.js CLOSED TREE
2019-02-28 01:58:42 +02:00
Byron Campen [:bwc]
973021e793
Bug 1528352: Logging improvements in nsUDPSocket, and handle negative returns from PR_RecvFrom properly. r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D20565
--HG--
extra : moz-landing-system : lando
2019-02-27 15:39:57 +00:00
Ciure Andrei
8d2894e70d
Backed out 12 changesets (bug 1525245) for failing worker-interception.https.html CLOSED TREE
...
Backed out changeset 009e7457b990 (bug 1525245)
Backed out changeset efb2e8fca464 (bug 1525245)
Backed out changeset 6a8401de3237 (bug 1525245)
Backed out changeset 38e802661b14 (bug 1525245)
Backed out changeset d02e3f436390 (bug 1525245)
Backed out changeset 10afd61b7582 (bug 1525245)
Backed out changeset 6b92fb3666d1 (bug 1525245)
Backed out changeset 476af2d7efe5 (bug 1525245)
Backed out changeset 43ad14e323a1 (bug 1525245)
Backed out changeset 94295e3fb027 (bug 1525245)
Backed out changeset d01ead2270e9 (bug 1525245)
Backed out changeset 6bdda622a04a (bug 1525245)
2019-02-28 00:55:39 +02:00
Andrea Marchesini
6dd0ecd7d0
Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 12 - new CookieSettings for SharedWorkers and ServiceWorkers, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D21357
--HG--
extra : moz-landing-system : lando
2019-02-27 19:58:26 +00:00
Andrea Marchesini
dec5a16bcd
Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 1 - information stored into loadInfo, r=Ehsan,ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D18949
--HG--
extra : moz-landing-system : lando
2019-02-27 19:55:11 +00:00
Ehsan Akhgari
45c7ece733
Bug 1530076 - Part 1: Add support for modifying the default referrer policy that is applied to third-party trackers when the cookie policy is set to reject third-party trackers; r=valentin
...
This is more complex than merely modifying NS_GetDefaultReferrerPolicy()
because at the time most (all?) callers call nsIHttpChannel::SetReferrer/
nsIHttpChannel::SetReferrerWithPolicy before the channel is opened,
which means we won't know whether the channel is a tracking resource or
not yet. So we would need to re-evaluate this decision after that
information becomes available. For that, we need to remember the
original URI argument passed to these functions since that information
is currently destroyed and isn't persisted anywhere in the system.
Differential Revision: https://phabricator.services.mozilla.com/D20901
--HG--
extra : moz-landing-system : lando
2019-02-26 21:30:27 +00:00
Gurzau Raul
a12ddd1865
Backed out 11 changesets (bug 1525245) for failing at test_cookies_thirdparty.js on a CLOSED TREE.
...
Backed out changeset 1dcb31a1d5be (bug 1525245)
Backed out changeset 4cde0e38ada8 (bug 1525245)
Backed out changeset d3e99dd3fc32 (bug 1525245)
Backed out changeset a565014fdd8d (bug 1525245)
Backed out changeset 20f336320ce1 (bug 1525245)
Backed out changeset d8ee13b6a17d (bug 1525245)
Backed out changeset b79ec111bf41 (bug 1525245)
Backed out changeset 858d08371107 (bug 1525245)
Backed out changeset 1c359cdcf69f (bug 1525245)
Backed out changeset d65fb2d2a243 (bug 1525245)
Backed out changeset 28147c8790d3 (bug 1525245)
2019-02-26 22:09:25 +02:00
Andrea Marchesini
309c007d8d
Bug 1525245 - Stabilize cookiePolicy/cookiePermission for live documents - part 1 - information stored into loadInfo, r=Ehsan,ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D18949
--HG--
extra : moz-landing-system : lando
2019-02-26 17:34:36 +00:00
Noemi Erli
7e23372938
Merge mozilla-central to autoland. a=merge CLOSED TREE
...
--HG--
extra : rebase_source : de8796d5d7d7079af1b895a2f537371885f8cc6c
2019-02-26 00:09:40 +02:00
Christoph Kerschbaumer
c8bb3d7749
Bug 1529869: Remove the 2 from speculate speculative(Anonymous)Connect2 within nsISpeculativeConnect.idl. r=valentin
2019-02-24 20:26:56 +01:00
Nika Layzell
305c3ca912
Bug 1522579 - Part 3: Remove consumers of nsIContentChild, r=mccr8
...
Like Part 2, however for `nsIContentChild`.
Depends on D20550
Differential Revision: https://phabricator.services.mozilla.com/D20551
--HG--
extra : moz-landing-system : lando
2019-02-25 20:04:49 +00:00
Nika Layzell
1e93329f70
Bug 1522579 - Part 2: Remove consumers of nsIContentParent, r=mccr8
...
This patch tries to move them to `ContentParent` instead.
`ProcessPriorityManagerImpl::ObserveContentParentCreated` could not be moved
due to using `do_QueryInterface` to cast from a `nsISupports` down to the
`ContentParent` object. This could be fixed to remove the interfaces entirely,
but I left that for a follow-up.
Depends on D20549
Differential Revision: https://phabricator.services.mozilla.com/D20550
--HG--
extra : moz-landing-system : lando
2019-02-25 20:04:47 +00:00
Andreea Pavel
cd1b27ad4d
Backed out 6 changesets (bug 1522579) for build bustages on a CLOSED TREE
...
Backed out changeset 3c8320baa230 (bug 1522579)
Backed out changeset 0a288a3d85cd (bug 1522579)
Backed out changeset ecfd27e7d150 (bug 1522579)
Backed out changeset eda40fca0758 (bug 1522579)
Backed out changeset 5c7aafa32a0a (bug 1522579)
Backed out changeset a3c5a2c16411 (bug 1522579)
2019-02-25 18:19:38 +02:00
Nika Layzell
da5b73b6a0
Bug 1522579 - Part 3: Remove consumers of nsIContentChild, r=mccr8
...
Like Part 2, however for `nsIContentChild`.
Depends on D20550
Differential Revision: https://phabricator.services.mozilla.com/D20551
--HG--
extra : moz-landing-system : lando
2019-02-25 15:51:19 +00:00
Nika Layzell
ae293bbea9
Bug 1522579 - Part 2: Remove consumers of nsIContentParent, r=mccr8
...
This patch tries to move them to `ContentParent` instead.
`ProcessPriorityManagerImpl::ObserveContentParentCreated` could not be moved
due to using `do_QueryInterface` to cast from a `nsISupports` down to the
`ContentParent` object. This could be fixed to remove the interfaces entirely,
but I left that for a follow-up.
Depends on D20549
Differential Revision: https://phabricator.services.mozilla.com/D20550
--HG--
extra : moz-landing-system : lando
2019-02-25 15:51:12 +00:00
Tarek Ziadé
2420a8ebb9
Bug 1502917 - Adding ChromeUtils.RequestProcInfo() - r=Ehsan,mstange,kershaw,mhowell
...
This patch introduces a new module in widget that implements a simple API to
retrieve system information about a process and its threads.
This function is wrapped into ChromeUtils.RequestProcInfo to return information
about processes started by Firefox.
The use case for this API is to monitor Firefox resources usage in projects
like the battery usage done by the data science team.
Differential Revision: https://phabricator.services.mozilla.com/D10069
--HG--
extra : moz-landing-system : lando
2019-02-23 18:07:59 +00:00
Dorel Luca
4a4dcd57fa
Backed out 4 changesets (bug 1525319) for Android failures in dom/base/test/test_progress_events_for_gzip_data.html
...
Backed out changeset b73f033efb41 (bug 1525319)
Backed out changeset 1d318d5c6b98 (bug 1525319)
Backed out changeset 6d73418988d4 (bug 1525319)
Backed out changeset 84ca79bd2dc3 (bug 1525319)
2019-02-25 04:06:11 +02:00
Jonathan Kingston
63ab2bd8aa
Bug 1525319 - Removing context from OnDataAvailable r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D20881
--HG--
extra : moz-landing-system : lando
2019-02-24 20:27:55 +00:00
Jonathan Kingston
147e351e0b
Bug 1525319 - Changing js to remove context from onStartRequest and onStopRequest r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D20771
--HG--
extra : moz-landing-system : lando
2019-02-25 00:07:42 +00:00
Jonathan Kingston
332531fa9c
Bug 1525319 - Removing context from OnStopRequest r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D20770
--HG--
extra : moz-landing-system : lando
2019-02-24 20:26:59 +00:00
Jonathan Kingston
2441197975
Bug 1525319 - Removing context from OnStartRequest r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D20769
--HG--
extra : moz-landing-system : lando
2019-02-24 20:26:16 +00:00
Coroiu Cristina
4a72e9cc9a
Merge inbound to mozilla-central a=merge
2019-02-22 18:30:44 +02:00
Dorel Luca
e2b65baabd
Backed out changeset cd5dbeee8c5d (bug 1502917) for build bustage. CLOSED TREE
2019-02-22 14:32:42 +02:00
Tarek Ziadé
983d831bbe
Bug 1502917 - Adding ChromeUtils.RequestProcInfo() - r=Ehsan,mstange,kershaw,mhowell
...
This patch introduces a new module in widget that implements a simple API to
retrieve system information about a process and its threads.
This function is wrapped into ChromeUtils.RequestProcInfo to return information
about processes started by Firefox.
The use case for this API is to monitor Firefox resources usage in projects
like the battery usage done by the data science team.
Differential Revision: https://phabricator.services.mozilla.com/D10069
--HG--
extra : moz-landing-system : lando
2019-02-21 23:05:44 +00:00
Dorel Luca
3797ffa10d
Merge mozilla-central to mozilla-inbound. CLOSED TREE
2019-02-22 09:27:34 +02:00
Michal Novotny
77aec0bd07
Bug 1529498 - null pointer writes in mozilla::net::Predictor::LearnNative, r=valentin
...
Make sure necko child is initialized before using gNeckoChild in the child process.
2019-02-21 04:16:00 +02:00
Gurzau Raul
dd9cb929e6
Merge mozilla-central to autoland. a=merge CLOSED TREE
2019-02-21 23:56:21 +02:00
Junior Hsu
b7e28eddd2
Bug 1507110 - Allow hijacking localhost only if network.proxy.allow_hijacking_localhost is set r=Gijs,mayhemer,mkaply,jmaher
...
Differential Revision: https://phabricator.services.mozilla.com/D19325
--HG--
extra : moz-landing-system : lando
2019-02-19 21:53:22 +00:00
Cosmin Sabou
f3db52f4cf
Merge mozilla-inbound to mozilla-central. a=merge
2019-02-21 05:42:03 +02:00
Christoph Kerschbaumer
54df1cb98c
Bug 1528677: Remove nullchecks for loadinfo since we have loadinfo on all channels. r=baku
2019-02-20 13:27:25 +01:00
Andrea Marchesini
64d3f6f9da
Bug 1487113 - nsICacheInfoChannel.preferAlternativeDataType() should expose alt-data as optional if required, r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D20200
--HG--
extra : moz-landing-system : lando
2019-02-20 10:05:42 +00:00
Bogdan Tara
fe6bbffa96
Merge mozilla-central to autoland. a=merge CLOSED TREE
2019-02-19 19:36:33 +02:00
Ehsan Akhgari
1597efb46d
Bug 1528563 - Initialize mFrameBrowsingContextID inside LoadInfo's copy constructor; r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D20072
--HG--
extra : moz-landing-system : lando
2019-02-19 16:21:45 +00:00
Masatoshi Kimura
e25fbce870
Bug 1528651 - Re-enable warnings-as-errors on Windows in some directories. r=dmajor
...
--HG--
extra : source : ba86ea25070b37f4725834e1c2d9ec4c0783e119
2019-02-17 15:03:02 +09:00
Christoph Kerschbaumer
e96de0f53f
Bug 1528934: Remove unused nsSecCheckWrapChannel. r=valentin
2019-02-19 13:49:38 +01:00
Ciure Andrei
fe3f244555
Backed out 3 changesets (bug 1487113) for perma failing test_alt-data_stream_wrap.js CLOSED TREE
...
Backed out changeset 831ac8c662c0 (bug 1487113)
Backed out changeset a8406df01e95 (bug 1487113)
Backed out changeset 1e97c3573ce6 (bug 1487113)
2019-02-19 11:43:13 +02:00
Andrea Marchesini
52efd15b05
Bug 1487113 - nsICacheInfoChannel.preferAlternativeDataType() should expose alt-data as optional if required, r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D20200
--HG--
extra : moz-landing-system : lando
2019-02-19 07:38:31 +00:00
Christoph Kerschbaumer
6aa899d845
Bug 1528973: Move newProxiedChannel2 being the only implementation within nsIProxiedProtocolHandler.idl. r=valentin
2019-02-19 15:42:42 +01:00
Christoph Kerschbaumer
08be3dab62
Bug 1529252: Remove the 2 from the various version to create a channel within nsIIOService.idl. r=valentin
2019-02-21 12:48:20 +01:00
Sylvestre Ledru
e0c61dafa5
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
Summary: # ignore-this-changeset
Reviewers: Ehsan
Reviewed By: Ehsan
Subscribers: emilio, jandem, bbouvier, jya
Bug #: 1519636
Differential Revision: https://phabricator.services.mozilla.com/D20062
2019-02-16 20:20:37 +01:00
Kyle Machulis
2bb286e58e
Bug 1524683 - Move all nsIFrameLoaderOwner references to nsFrameLoaderOwner; r=nika
...
Depends on D19728
Differential Revision: https://phabricator.services.mozilla.com/D19729
--HG--
extra : moz-landing-system : lando
2019-02-15 22:20:53 +00:00
Valentin Gosu
38f19c2395
Bug 1521808 - Use topWindowPrincipal for CrossOriginOpenerPolicy check r=mayhemer,nika
...
- Adds nsIHttpChannelInternal.setTopWindowPrincipal used to pass the principal from the child to the parent
Differential Revision: https://phabricator.services.mozilla.com/D18391
--HG--
extra : moz-landing-system : lando
2019-02-15 22:28:56 +00:00
Valentin Gosu
865d80fff4
Bug 1521808 - Implement Cross-Origin-Opener-Policy header r=nika,mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D18119
--HG--
extra : moz-landing-system : lando
2019-02-15 22:02:58 +00:00
Nika Layzell
feecd3ed43
Bug 1522637 - Part 2: Include BrowsingContextID in LoadInfo for subdocument loads, r=valentin
...
Depends on D18602
Differential Revision: https://phabricator.services.mozilla.com/D18603
--HG--
extra : moz-landing-system : lando
2019-02-15 19:49:04 +00:00
Cosmin Sabou
fab429586f
Merge autoland to mozilla-central. a=merge
2019-02-15 20:36:32 +02:00
Cosmin Sabou
ba308a2f90
Backed out 4 changesets (bug 1521808) for causing merge conflicts.
...
Backed out changeset 42641f88d7da (bug 1521808)
Backed out changeset 32ce09b2c33a (bug 1521808)
Backed out changeset 94e513102b53 (bug 1521808)
Backed out changeset a08553c07886 (bug 1521808)
2019-02-15 20:34:07 +02:00
Razvan Maries
d93d94cbc9
Backed out 9 changesets (bug 1522637) for causing bug 1528188. a=backout
...
Backed out changeset e4ca191d62a5 (bug 1522637)
Backed out changeset 540e5f318768 (bug 1522637)
Backed out changeset 0886a317a108 (bug 1522637)
Backed out changeset 4c7c512a262d (bug 1522637)
Backed out changeset d7eb272688be (bug 1522637)
Backed out changeset 67e838f49f4b (bug 1522637)
Backed out changeset 7e38890c72fa (bug 1522637)
Backed out changeset e6ca9ad18d15 (bug 1522637)
Backed out changeset 0f759e91eca8 (bug 1522637)
2019-02-15 18:21:36 +02:00
Nika Layzell
9f36101095
Bug 1522637 - Part 2: Include BrowsingContextID in LoadInfo for subdocument loads, r=valentin
...
Depends on D18602
Differential Revision: https://phabricator.services.mozilla.com/D18603
--HG--
extra : source : 5eeda2ba8e7965fccf3e17a8d1fd059872b2c2e8
2019-02-14 15:12:51 +00:00
Bogdan Tara
c732fccb1e
Backed out 8 changesets (bug 1522637) for browser_all_files_referenced.js failures CLOSED TREE
...
Backed out changeset f7ab0e6e739b (bug 1522637)
Backed out changeset 3d24e8e81c02 (bug 1522637)
Backed out changeset 41ca0b87537e (bug 1522637)
Backed out changeset 6e0d4b6b1c93 (bug 1522637)
Backed out changeset 8f494271ec06 (bug 1522637)
Backed out changeset 6b4d010964ec (bug 1522637)
Backed out changeset 5eeda2ba8e79 (bug 1522637)
Backed out changeset 5988b8e7d17c (bug 1522637)
2019-02-14 19:20:58 +02:00
Nika Layzell
530fa8e29b
Bug 1522637 - Part 2: Include BrowsingContextID in LoadInfo for subdocument loads, r=valentin
...
Depends on D18602
Differential Revision: https://phabricator.services.mozilla.com/D18603
--HG--
extra : moz-landing-system : lando
2019-02-14 15:12:51 +00:00
Valentin Gosu
27cac83e4a
Bug 1521808 - Use topWindowPrincipal for CrossOriginOpenerPolicy check r=mayhemer,nika
...
- Adds nsIHttpChannelInternal.setTopWindowPrincipal used to pass the principal from the child to the parent
Differential Revision: https://phabricator.services.mozilla.com/D18391
--HG--
extra : moz-landing-system : lando
2019-02-15 12:15:21 +00:00
Valentin Gosu
b2a27c32cd
Bug 1521808 - Implement Cross-Origin-Opener-Policy header r=nika,mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D18119
--HG--
extra : moz-landing-system : lando
2019-02-15 12:15:39 +00:00
Sylvestre Ledru
41d1d79094
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D19663
--HG--
extra : moz-landing-system : lando
2019-02-15 08:15:57 +00:00
Nika Layzell
dbec7d4975
Bug 1526382 - Part 2: Make nsIClassInfo use Array<nsIIDRef> for 'interfaces', r=mccr8
...
This is a follow-up to the previous part, which actually changes one of
these callers to use Array<nsIIDRef> instead of [array] nsIIDPtr.
From doing this patch, it seems like we should consider changing
the type `nsIIDRef` to instead simply be `nsIID`, and treat it more like
the `AString` types from the POV of XPIDL. `nsIIDPtr` would then
continue to exist for backwards compatibility, but we can probably
remove almost all current consumers over time.
Depends on D19175
Differential Revision: https://phabricator.services.mozilla.com/D19176
--HG--
extra : moz-landing-system : lando
2019-02-13 21:42:08 +00:00
Christoph Kerschbaumer
d65faafb09
Bug 1509738: CSP snapshot nonce at load start time. r=baku
...
--HG--
extra : rebase_source : ea232b7a3aeae9c18895e885d1536ca58c8de1bd
extra : amend_source : b0c351f8c0c1a5eb7865a735f8dc5bafb42384f1
2019-02-13 20:45:29 +01:00
Noemi Erli
0a63dd9be6
Backed out 2 changesets (bug 1509738) for failures in propagate-nonce-external-classic.html
...
Backed out changeset fbf4b73c8786 (bug 1509738)
Backed out changeset 53f624bc7c22 (bug 1509738)
2019-02-13 16:22:44 +02:00
Christoph Kerschbaumer
7859700e5d
Bug 1509738 - CSP snapshot nonce at load start time. r=baku
...
--HG--
extra : rebase_source : b532f519b79a3bc14ece0c0ee829edd400149e48
extra : amend_source : d4b8fba240a9d28437ee436b94313fd1602426c4
extra : histedit_source : 6af35eb388f6c23d80d8412533fec02abe2d4cff
2019-02-13 13:46:50 +01:00
Razvan Maries
dcc3ecb682
Merge mozilla-central to autoland. a=merge on a CLOSED TREE
2019-02-13 07:23:59 +02:00
Andreea Pavel
e09dd2a72d
Backed out 2 changesets (bug 1509738) for failing propagate-nonce-external-classic.html on a CLOSED TREE
...
Backed out changeset 5cbc3f79a126 (bug 1509738)
Backed out changeset 44a945b21f87 (bug 1509738)
2019-02-13 02:18:28 +02:00
Christoph Kerschbaumer
6111ccf5fd
Bug 1509738: CSP snapshot nonce at load start time r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D19519
--HG--
extra : moz-landing-system : lando
2019-02-12 18:01:32 +00:00
Jonathan Kingston
3421b8fcff
Bug 1520868 - Replacing AsyncOpen2 with AsyncOpen always r=valentin
...
Replacing js and text occurences of asyncOpen2
Replacing open2 with open
Differential Revision: https://phabricator.services.mozilla.com/D16885
--HG--
rename : layout/style/test/test_asyncopen2.html => layout/style/test/test_asyncopen.html
extra : moz-landing-system : lando
2019-02-12 16:08:25 +00:00
Jorg K
15ee3d3e8f
Bug 1527236 - Allow % in URLs for Thunderbird. r=valentin
2019-02-12 18:43:30 +01:00
Valentin Gosu
08d4ca8e92
Bug 1517025 - Do not allow percent symbol in URL hostnames r=kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D16694
--HG--
extra : moz-landing-system : lando
2019-02-11 21:49:19 +00:00
Ehsan Akhgari
3f4f286ad1
Bug 1525960 - Fix a leak in NS_GetInnermostURIHost(); r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D19011
--HG--
extra : moz-landing-system : lando
2019-02-11 14:35:02 +00:00
shindli
6b820cdfea
Backed out 6 changesets (bug 1522637) for en-US failures in testing/firefox-ui/tests/functional/safebrowsing/test_notification.py TestSafeBrowsingNotificationBar.test_notification_bar CLOSED TREE
...
Backed out changeset 18a809d53298 (bug 1522637)
Backed out changeset 9e9fd362dd8f (bug 1522637)
Backed out changeset f1191be4243a (bug 1522637)
Backed out changeset 5a8067fd848c (bug 1522637)
Backed out changeset 5f49cd87b1bd (bug 1522637)
Backed out changeset f82ba91f5ea2 (bug 1522637)
2019-02-09 03:12:53 +02:00
Nika Layzell
37ec17b0f5
Bug 1522637 - Part 2: Include BrowsingContextID in LoadInfo for subdocument loads, r=valentin
...
Depends on D18602
Differential Revision: https://phabricator.services.mozilla.com/D18603
--HG--
extra : moz-landing-system : lando
2019-02-08 17:36:00 +00:00
Ehsan Akhgari
b5a2bda7ee
Bug 1527505 - Part 9: Make nsIPermissionManager accept ACString arguments for permission types instead of raw C strings; r=nika
...
This will mean that in places like the tight loop in GetTypeIndex()
we would no longer require calling strlen() on the input type argument
once per loop iteration.
Depends on D20236
Differential Revision: https://phabricator.services.mozilla.com/D20237
--HG--
extra : moz-landing-system : lando
2019-02-21 22:54:28 +00:00
Tom Schuster
a60d06b5ef
Bug 1525006 - Add a new internal ContentPolicyType for ES6 modules. r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D19269
--HG--
extra : moz-landing-system : lando
2019-02-12 13:16:32 +00:00
Dorel Luca
313155b999
Backed out 4 changesets (bug 1521808) for build bustage. CLOSED TREE
...
Backed out changeset 80aeea5f7abe (bug 1521808)
Backed out changeset c8c151d92c03 (bug 1521808)
Backed out changeset cc0a5c7dabb4 (bug 1521808)
Backed out changeset 8d5174a560fa (bug 1521808)
2019-02-12 14:54:45 +02:00
Valentin Gosu
f8fe725d87
Bug 1521808 - Use topWindowPrincipal for CrossOriginOpenerPolicy check r=mayhemer,nika
...
- Adds nsIHttpChannelInternal.setTopWindowPrincipal used to pass the principal from the child to the parent
Differential Revision: https://phabricator.services.mozilla.com/D18391
--HG--
extra : moz-landing-system : lando
2019-02-12 12:16:16 +00:00
Valentin Gosu
4ef1efc776
Bug 1521808 - Implement Cross-Origin-Opener-Policy header r=nika,mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D18119
--HG--
extra : moz-landing-system : lando
2019-02-12 12:15:54 +00:00
Ehsan Akhgari
23415bc742
Bug 1525208 - Part 8: Avoid the overhead of calling NS_GetInnermostURI() in nsEffectiveTLDService; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D18650
2019-02-05 18:49:36 -05:00
Cosmin Sabou
297a7340db
Backed out 8 changesets (bug 1525208) for assertion mass failures on dom/base/ThirdPartyUtil. CLOSED TREE
...
Backed out changeset 7a679beef53e (bug 1525208)
Backed out changeset 4a97d6a5440f (bug 1525208)
Backed out changeset 40cdbb0f3e33 (bug 1525208)
Backed out changeset 461bf050580c (bug 1525208)
Backed out changeset 529fc4945c00 (bug 1525208)
Backed out changeset 80d33523be6e (bug 1525208)
Backed out changeset 6afabd86b213 (bug 1525208)
Backed out changeset bc4389577ba8 (bug 1525208)
2019-02-05 21:04:45 +02:00
Ehsan Akhgari
5693611ad4
Bug 1525208 - Part 8: Avoid the overhead of calling NS_GetInnermostURI() in nsEffectiveTLDService; r=baku
...
Depends on D18649
Differential Revision: https://phabricator.services.mozilla.com/D18650
--HG--
extra : moz-landing-system : lando
2019-02-05 18:12:03 +00:00
Andrea Marchesini
be2551ab2c
Bug 1523702 - Max IPC message size for InputStream serialization, r=smaug
...
The total size of an IPC inputStream message must be less than 1mb. When we
compose the message for the multiplex stream, each sub stream collaborates with
its own size, deciding if it's better to be a pipe stream (IPCRemoteStream) or
a full serialized one.
Differential Revision: https://phabricator.services.mozilla.com/D18543
--HG--
extra : moz-landing-system : lando
2019-02-04 22:50:51 +00:00
Andrea Marchesini
7b5225038d
Bug 1524864 - nsMIMEInputStream should expose nsISeekableStream only if the underlying stream is seekable, r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D18528
--HG--
extra : moz-landing-system : lando
2019-02-04 21:50:47 +00:00
Mike de Boer
481ae95c00
Bug 1524593 - nsISearchService (aka nsIBrowserSearchService, previously) refactor to be mostly an asynchronous, in preparation of WebExtension engines. r=daleharvey
...
This is a rollup of all the patches that have landed on the cedar project branch:
891252fdd0
Bug 1492475 - Part 1: Migrate most, if not all nsSearchService consumers to use async APIs. r=florian
79b2eb2367
Bug 1492475 - Part 2: Move nsIBrowserSearchService.idl to toolkit/components/search/nsISearchService.idl and update references. r=florian
a947d3cdf0
Bug 1492475 - Part 3: The search service init() method should simply return a Promise. r=florian
c1e172dfac
Bug 1492475 - Part 4: Remove the synchronous initialization flow. r=florian
cd41189eac
Bug 1492475 - Part 5: Since async initialization of the search service now is implicit behavior, remove the distinctive verbiage used internally. r=florian
2ae7189dfa
Bug 1492475 - Part 6: Update the cache build task to work with an actual Promise and re-initialize only once at the same time - all to fix race conditions here. r=florian
c8ee92973f
Bug 1492475 - Part 7: Make the region fetch not block the init flow, to ensure it's as fast as possible. r=florian
c44e674e16
Bug 1492475 - Part 8: Introduce an init flag, which can only be used privately, that allows to explicitly skip waiting for the region check process to complete. r=florian
6c79eaf1d3
Bug 1492475 - Part 9: Update unit tests to stop using 'currentEngine', in favor of 'defaultEngine'. r=Standard8
21b3aa17ee
Bug 1492475 - Part 10: Update unit tests to be fully aware of the new, async signatures of the search service API and remove sync init flow tests. r=mkaply,florian
ce5ba69019
Bug 1492475 - Part 11: Repair incorrect usage of the `identifier` property of nsISearchEngine instances. r=florian
fd177a7994
Bug 1518543 - Fix up the Android (Fennec) nsISearchService shim to work with the new asynchronous API. r=florian
3653d8ee22
Bug 1523708 - Change the search service interaction in the show-heartbeat action to use the new async API. r=florian
Differential Revision: https://phabricator.services.mozilla.com/D18355
--HG--
rename : netwerk/base/nsIBrowserSearchService.idl => toolkit/components/search/nsISearchService.idl
extra : moz-landing-system : lando
2019-02-02 11:27:21 +00:00
Andrea Marchesini
e9ac7d9ef2
Bug 1522210 - Fingerprinting and cryptomining classifiers must have separate nsIWebProgressListener blocking state codes - part 5 - generalize content blocking notification, r=ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D17838
2019-01-28 16:44:38 +01:00
Andrea Marchesini
bf8c0e40e2
Bug 1522210 - Fingerprinting and cryptomining classifiers must have separate nsIWebProgressListener blocking state codes - part 4 - abstract blocking state codes, r=ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D17639
2019-01-28 16:43:15 +01:00
shindli
011ea038cb
Merge mozilla-central to inbound. a=merge CLOSED TREE
2019-01-29 23:54:31 +02:00
Shane Caraveo
3e429f056f
Bug 1521573 web_accessible incognito support, r=kmag,smaug
...
Prevent web_accessible_resources resources loading in private contexts when extension does not have permission.
Differential Revision: https://phabricator.services.mozilla.com/D17138
--HG--
extra : moz-landing-system : lando
2019-01-29 15:40:09 +00:00
Kris Maglione
e930b89c34
Bug 1514594: Part 3 - Change ChromeUtils.import API.
...
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8
This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:
ChromeUtils.import("resource://gre/modules/Services.jsm");
is approximately the same as the following, in the new model:
var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");
Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs
This was done using the followng script:
https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16750
--HG--
extra : rebase_source : 359574ee3064c90f33bf36c2ebe3159a24cc8895
extra : histedit_source : b93c8f42808b1599f9122d7842d2c0b3e656a594%2C64a3a4e3359dc889e2ab2b49461bab9e27fc10a7
2019-01-17 10:18:31 -08:00
Ehsan Akhgari
0b5c4e6d1a
Bug 1523106 - DeCOMtaminate nsISecurityEventSink; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D17742
2019-01-28 14:45:49 -05:00
Andrea Marchesini
0499bad916
Bug 1520150 - Single InputStreams can serialize themselves as IPCRemoteStreams (pipe) - part 1 - Passing IPC managers around, r=smaug
...
Before this set of patches, the decision of exposing the stream as a pipe was
centralized in IPCStreamUtils, based on the total expectation size of the IPC
message. This triggers issues when multiplex inputStreams contain something
that cannot be sent as a pipe (IPCBlobInputStream, for instance), or something
that it's better to do not set as a pipe (nsFileInputStream), together with
memory streams (nsStringInputStream), which could make the IPC message greater
then what accepted (1mb).
These patches move the "pipe vs non-pipe" choice into the single inputStream
implementation.
2019-01-28 10:48:35 +01:00
Coroiu Cristina
1ec6503fd8
Merge mozilla-central to inbound a=merge on a CLOSED TREE
2019-01-25 23:55:33 +02:00
Ehsan Akhgari
7426dccfc0
Bug 1522596 - Remove nsIIPCSerializableURI and move its only member to nsIURI; r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D17531
--HG--
extra : moz-landing-system : lando
2019-01-25 13:32:36 +00:00
Nika Layzell
9b4bbc17fd
Bug 1467223 - Part 2: Add BrowsingContextID to LoadInfo, r=valentin
...
This is handy when performing process swaps, as it provides useful & important
information to parent-process callers.
Depends on D15608
Differential Revision: https://phabricator.services.mozilla.com/D15609
--HG--
extra : moz-landing-system : lando
2019-01-23 21:06:59 +00:00
Ehsan Akhgari
9efcce8bbb
Bug 1509112 - Consider the content frame sitting directly beneath a moz-extension frame that has a host permission granting access to that frame as a top-level frame; r=kmag,baku
...
Differential Revision: https://phabricator.services.mozilla.com/D14832
--HG--
extra : moz-landing-system : lando
2019-01-23 14:55:49 +00:00
Ehsan Akhgari
4137a92662
Bug 1514340
- Part 2: Break out the content blocking related notifications into nsIWebProgressListener.onContentBlockingEvent(); r=baku,johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D16052
2019-01-21 09:58:50 -05:00
Ehsan Akhgari
5d7e383969
Bug 1514340
- Part 1: Add the nsISecurityEventSink::OnContentBlockingEvent() helper method; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D16051
2019-01-21 09:58:50 -05:00
Eric Rahm
230e9f6e8f
Bug 1515833 - Remove verbose nsIURIMutator warnings. r=ehsan, valentin
...
--HG--
extra : rebase_source : de2fecb9ddc4976085299d5abd75994c59ecc224
extra : histedit_source : 4a11cf470c2f59ada7ce7ecca4a7b9ebfbe004b4
2018-12-21 13:02:32 -08:00
Kris Maglione
3a9e3cc721
Bug 1478124: Part 8d - Update netwerk module to use a static component manifest. r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D15042
--HG--
rename : netwerk/protocol/res/SubstitutingProtocolHandler.h => netwerk/protocol/res/SubstitutingURL.h
extra : rebase_source : 695f12a3c96f05e6fbbf417f9595b05a379dee9e
extra : source : 496aaf774697f817a689ee0d59f2f866fdb16801
2018-12-16 18:36:32 -08:00
arthur.iakab
c1fae83952
Backed out 16 changesets (bug 1478124) for failing android geckoview-junit CLOSED TREE
...
Backed out changeset fce62c77a56b (bug 1478124)
Backed out changeset eb2fa3b5edf7 (bug 1478124)
Backed out changeset 8dacce59fcc0 (bug 1478124)
Backed out changeset 012fd0107204 (bug 1478124)
Backed out changeset 496aaf774697 (bug 1478124)
Backed out changeset 21f4fda03159 (bug 1478124)
Backed out changeset b0444e0bc801 (bug 1478124)
Backed out changeset d94039b19943 (bug 1478124)
Backed out changeset 5d85deac61c2 (bug 1478124)
Backed out changeset 929fd654c9df (bug 1478124)
Backed out changeset 1ddd80d9e91a (bug 1478124)
Backed out changeset b8d2dfdfc324 (bug 1478124)
Backed out changeset f500020a273a (bug 1478124)
Backed out changeset dd00365ebb55 (bug 1478124)
Backed out changeset 538e40c5ee13 (bug 1478124)
Backed out changeset bedaa9c437ad (bug 1478124)
2019-01-29 10:03:06 +02:00
Kris Maglione
7e2aa1f145
Bug 1478124: Part 8d - Update netwerk module to use a static component manifest. r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D15042
--HG--
rename : netwerk/protocol/res/SubstitutingProtocolHandler.h => netwerk/protocol/res/SubstitutingURL.h
extra : rebase_source : 48e3108ef67fa02e5aae2acad84dc4fd78179bf3
extra : absorb_source : 95d208ffaa1d2037b04f65b59378dd3315adb9b5
extra : histedit_source : 97e70bc165f37ef5138ba10d29fd8754899bb1c2
2018-12-16 18:36:32 -08:00
Margareta Eliza Balazs
9dda825205
Merge mozilla-central to inbound. a=merge CLOSED TREE
2019-01-18 12:31:59 +02:00
Ehsan Akhgari
e5e885ae31
Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
...
# ignore-this-changeset
--HG--
extra : amend_source : 7221c8d15a765df71171099468e7c7faa648f37c
extra : histedit_source : a0cce6015636202bff09e35a13f72e03257a7695
2019-01-18 10:16:18 +01:00
Dragana Damjanovic
f7925654d4
Bug 1513542 - We need to use gAllURLsMutex before destructor of a static variable. r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D16847
--HG--
extra : moz-landing-system : lando
2019-01-17 16:29:04 +00:00
Sylvestre Ledru
47a5dd1fb8
Bug 1519636 - Reformat everything to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D16388
--HG--
extra : moz-landing-system : lando
2019-01-16 08:50:07 +00:00
Junior Hsu
c54c918b66
Bug 1510979 - add a telemetry xpcshell-test for socket process r=janerik
...
We need a test-only IPC message to socket process to trigger the Telemetry::Scalar set since no js engine in the socket process.
And hook the IPC call to AddPendingEvent |CallOrWaitSocketProcess| introduced by bug 1496257.
Differential Revision: https://phabricator.services.mozilla.com/D14822
--HG--
extra : moz-landing-system : lando
2019-01-15 23:15:38 +00:00
Valentin Gosu
1403ae7440
Bug 1519711 - Make nsIURI::SchemeIs return false when passed null scheme r=qdot
...
Differential Revision: https://phabricator.services.mozilla.com/D16409
--HG--
extra : moz-landing-system : lando
2019-01-13 18:05:39 +00:00
Junior Hsu
478d72efdc
Bug 1513057 - P9: socket oepration should wait until socket process launch r=mayhemer,dragana,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D14510
--HG--
extra : moz-landing-system : lando
2019-01-12 01:00:26 +00:00
Kyle Machulis
e708fe454e
Bug 1518964 - Add SchemeIs convenience functions; r=valentin
...
Create convenience functions for common protocols used in SchemeIs
queries.
Differential Revision: https://phabricator.services.mozilla.com/D16231
--HG--
extra : moz-landing-system : lando
2019-01-11 08:08:19 +00:00
Kershaw Chang
30b52ec47d
Bug 1513057 - P4: Update online/offline status to socket process r=dragana,mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D14161
--HG--
extra : moz-landing-system : lando
2019-01-11 20:54:06 +00:00
Kershaw Chang
1b6d34eee2
Bug 1513057 - P3: Setup memory reporter on socket process r=dragana,mayhemer
...
To setup memory reporter on socket process, this patch modifies the PSocketProcess protocol to implement the same memory reporting functions as the PContent and PGPU protocols.
Differential Revision: https://phabricator.services.mozilla.com/D14155
--HG--
extra : moz-landing-system : lando
2019-01-11 20:52:39 +00:00
Kershaw Chang
0b336d5545
Bug 1513057 - P1: Start the new socket process basics (prefs, full xpcom init, logging, no sandboxing) r=mayhemer,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D14148
--HG--
extra : moz-landing-system : lando
2019-01-11 18:57:23 +00:00
Kyle Machulis
32abb9ff27
Bug 1518956 - Make C++ infallible/simplified versions of nsIURI::SchemeIs; r=valentin
...
SchemeIs only throws exceptions on null arguments now. Assert
arguments, as they should never be null anyways, and create an
infallible C++ version.
Differential Revision: https://phabricator.services.mozilla.com/D16143
--HG--
extra : moz-landing-system : lando
2019-01-11 08:09:33 +00:00
Andreea Pavel
21ad33d612
Backed out 10 changesets (bug 1513057) for build bustages on a CLOSED TREE
...
Backed out changeset 56329b5f1844 (bug 1513057)
Backed out changeset 46411c5de3da (bug 1513057)
Backed out changeset de65c456aad6 (bug 1513057)
Backed out changeset f648b5f1a7c2 (bug 1513057)
Backed out changeset 460bbf0849e1 (bug 1513057)
Backed out changeset 86032a14d26f (bug 1513057)
Backed out changeset a81f83df08d5 (bug 1513057)
Backed out changeset edbda5ee5fd5 (bug 1513057)
Backed out changeset c900ac2519f5 (bug 1513057)
Backed out changeset 4e94bbb90315 (bug 1513057)
2019-01-11 17:02:44 +02:00
Kershaw Chang
db8c311487
Bug 1513057 - P9: socket oepration should wait until socket process launch r=mayhemer,dragana,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D14510
--HG--
extra : moz-landing-system : lando
2019-01-11 14:23:19 +00:00
Kershaw Chang
078fff139b
Bug 1513057 - P4: Update online/offline status to socket process r=dragana,mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D14161
--HG--
extra : moz-landing-system : lando
2019-01-11 13:29:21 +00:00
Kershaw Chang
07a7cc19a1
Bug 1513057 - P3: Setup memory reporter on socket process r=dragana,mayhemer
...
To setup memory reporter on socket process, this patch modifies the PSocketProcess protocol to implement the same memory reporting functions as the PContent and PGPU protocols.
Differential Revision: https://phabricator.services.mozilla.com/D14155
--HG--
extra : moz-landing-system : lando
2019-01-11 13:28:00 +00:00
Kershaw Chang
0c2943008a
Bug 1513057 - P1: Start the new socket process basics (prefs, full xpcom init, logging, no sandboxing) r=mayhemer,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D14148
--HG--
extra : moz-landing-system : lando
2019-01-11 14:07:47 +00:00
Paolo Amadini
ffa6503244
Bug 983187 - Test that downloads fail when an RST packet is received. r=mayhemer
...
This adds a way to simulate failed network connections, allowing the addition of test coverage that would otherwise not be available. This is used in the Downloads tests to ensure that failures at the network level are handled correctly.
Differential Revision: https://phabricator.services.mozilla.com/D15522
--HG--
extra : rebase_source : 2597b27de5213b0322520cefafe10a197d0d3b83
2019-01-09 11:48:23 +00:00
Valentin Gosu
55d58519a7
Bug 1517542 - Fail URL deserialization if query or ref start at position 0 r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D15854
--HG--
extra : moz-landing-system : lando
2019-01-08 15:00:05 +00:00
Csoregi Natalia
4eda4d34c0
Merge mozilla-central to mozilla-inbound. CLOSED TREE
2019-01-07 23:51:06 +02:00
Ehsan Akhgari
b63debc2d4
Bug 1517014 - Part 1: Add nsIPermissionManager.testPermissionOriginNoSuffix(), an API for testing permissions using an origin string without the overhead of parsing it into a URI; r=nika
...
For consumers which have an origin string, currently they need to parse it into
a URI before they can call testPermission(). Internally, in the common case this
nsIURI* argument will be immediately converted back into the same origin string
in PermissionKey::CreateFromURI(). This means that the cost of parsing the
original origin string will effectively end up being wasted in the common case.
This patch adds an API that allows the consumer to test a permission using the
origin string directly, and only parse it into an nsIURI when necessary, thereby
avoiding this overhead.
Differential Revision: https://phabricator.services.mozilla.com/D15543
--HG--
extra : moz-landing-system : lando
2019-01-07 18:45:26 +00:00
Jeff Walden
a128f0c35c
Bug 1517624 - Move JSPropertySpec and JSFunctionSpec definitions into a new js/public/PropertySpec.h header. r=arai
...
--HG--
extra : rebase_source : b80911e01f984ee9f99fbbc6c4552ef3d2178587
2019-01-03 15:37:01 -06:00
shindli
a0841a254f
Merge inbound to mozilla-central. a=merge
2019-01-05 06:00:21 +02:00
Jeff Walden
d084a5e469
Back out f8a29b8bb211, d1267711aef0, df1b7a886a9d, 0f6a3dd2c2f7, e6628922b7be, 0a374ac233cd, cf00fd0f080c, 6fc24c4e7798, ab2e4a2e5dd2, 2d17e4ef5e71, 4a8940073f8c, ea3ab4b83152, c7577c232591, e58454c68f0f, and 0e39815d1bce for breaking a single Android J10 and nothing else. (That J10 task must not like deck chairs...) r=bustage
...
--HG--
extra : rebase_source : f02dabe3ece7955cb223313d3605b825560c62b1
2019-01-04 16:33:01 -06:00
bitnotri
542ea80ecd
Bug 1461737 - Move nsstring-rs to a better location, r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D15743
--HG--
rename : servo/support/gecko/nsstring/Cargo.toml => xpcom/rust/nsstring/Cargo.toml
rename : servo/support/gecko/nsstring/src/conversions.rs => xpcom/rust/nsstring/src/conversions.rs
rename : servo/support/gecko/nsstring/src/lib.rs => xpcom/rust/nsstring/src/lib.rs
extra : moz-landing-system : lando
2019-01-04 22:03:56 +00:00
Ciure Andrei
7a748ae68f
Merge mozilla-central to autoland. a=merge CLOSED TREE
2019-01-04 01:03:06 +02:00
Boris Zbarsky
058f83508f
Bug 1517434 part 2. Convert existing callers of GetIsSystemPrincipal() to IsSystemPrincipal(). r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D15673
--HG--
extra : moz-landing-system : lando
2019-01-03 20:55:38 +00:00
Jeff Walden
87aba62a4a
Bug 1517624 - Move JSPropertySpec and JSFunctionSpec definitions into a new js/public/PropertySpec.h header. r=arai
2019-01-03 15:37:01 -06:00
Andrea Marchesini
e34612e16e
Bug 1514202 - Port flash url-classifier to nsIUrlClassifierFeature - part 1 - Flash feature, r=dimi, r=edgar, r=valentin
2019-01-04 14:45:42 +01:00
Ehsan Akhgari
61338d3be7
Bug 1517057 - Part 1: Remove support for the unused URI_FORBIDS_COOKIE_ACCESS protocol flag; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D15547
--HG--
extra : moz-landing-system : lando
2019-01-02 15:42:08 +00:00
Emilio Cobos Álvarez
d2ed260822
Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug
...
Summary: Really sorry for the size of the patch. It's mostly automatic
s/nsIDocument/Document/ but I had to fix up in a bunch of places manually to
add the right namespacing and such.
Overall it's not a very interesting patch I think.
nsDocument.cpp turns into Document.cpp, nsIDocument.h into Document.h and
nsIDocumentInlines.h into DocumentInlines.h.
I also changed a bunch of nsCOMPtr usage to RefPtr, but not all of it.
While fixing up some of the bits I also removed some unneeded OwnerDoc() null
checks and such, but I didn't do anything riskier than that.
2019-01-03 17:48:33 +01:00
Sylvestre Ledru
cccdda3c2a
Bug 1516555 - Reformat everything to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D15426
--HG--
extra : moz-landing-system : lando
2018-12-28 15:48:06 +00:00
Andrea Marchesini
301d9591cd
Bug 1515693 - Check allow-storage-access-by-user-activation sandbox flag only if StorageAccess API is enabled, r=ehsan
2018-12-22 00:38:37 +01:00
Nathan Froyd
6a08dde1cc
Bug 1515194 - part 4 - un-aggregate nsLoadGroup; r=valentin
...
We no longer use the aggregation facility for nsLoadGroup, and removing
it saves approximately 10% of the space consumed by nsLoadGroup.
2018-12-19 10:08:28 -05:00
Nathan Froyd
e8ace34120
Bug 1515194 - part 3 - pack holes in nsLoadGroup better on 64-bit platforms; r=valentin
...
Due to member alignment rules on 64-bit platforms, nsLoadGroup has more
unused space than it should. Shuffling members around a little to fill
in holes should make nsLoadGroup somewhat smaller.
2018-12-19 10:08:28 -05:00
Nathan Froyd
6e924db228
Bug 1515194 - part 2 - remove nsPILoadGroupInternal; r=valentin
...
We apparently had this for internal extension hooks that couldn't be
depended on externally...but now that interfaces aren't exposed to
addons, we can remove this no-op interface entirely.
2018-12-19 10:08:28 -05:00
Nathan Froyd
d7b6a23e76
Bug 1515194 - part 1 - remove nsLoadGroup::mTimedNonCachedRequestsUntilOnEndPageLoad; r=valentin
...
We only write to this variable and never read it. The whole
nsPILoadGroupInternal interface looks like it could go away, actually;
we'll do that in a subsequent patch.
2018-12-19 10:08:28 -05:00
Dragana Damjanovic
2ebce46fd8
Bug 1415625 - Use Telemetry::CanRecordPreReleaseData instead of toolkit.telemetry.enabled. Remove network.allow-experiments because it is not used. r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D12745
--HG--
extra : moz-landing-system : lando
2018-12-18 17:19:29 +00:00
Andrea Marchesini
6b9fe3a6cf
Bug 1511436 - Cleanup URL-Classifier code - part 3 - AsyncUrlChannelClassifier, r=dimi
2018-12-14 12:40:17 +01:00
Andrea Marchesini
69926deea6
Bug 1511436 - Cleanup URL-Classifier code - part 1 - nsIUrlClassifierFeature, r=dimi
...
--HG--
rename : netwerk/base/nsChannelClassifier.cpp => netwerk/url-classifier/nsChannelClassifier.cpp
rename : netwerk/base/nsChannelClassifier.h => netwerk/url-classifier/nsChannelClassifier.h
rename : netwerk/base/nsIURIClassifier.idl => netwerk/url-classifier/nsIURIClassifier.idl
2018-12-14 12:40:16 +01:00
Andrea Marchesini
cdd5a7b12c
Bug 1511436 - Cleanup URL-Classifier code - part 0 - use of StaticPrefs, r=dimi
2018-12-14 12:40:16 +01:00
Bogdan Tara
38717f9e9e
Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE
2018-12-14 00:54:42 +02:00
Bogdan Tara
b6a18773a4
Merge inbound to mozilla-central. a=merge
2018-12-14 00:42:20 +02:00
Jeremy Lempereur
695604da1d
Bug 1481014 - WIP - Rewrite net_IsValidIPv4Addr in rust. r=valentin,froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D3713
--HG--
extra : moz-landing-system : lando
2018-12-13 12:07:26 +00:00
Daniel Stenberg
1b629d8b39
Bug 1503393 - never let "localhost" get sent to a proxy r=mayhemer
...
--HG--
extra : rebase_source : 9c662733daefd319e6d8effd599b1af5260ff266
extra : source : 49428012434e379316f2d831a088a27cf1b429ee
2018-12-03 16:27:11 +02:00
Valentin Gosu
c310e9c51e
Bug 1507357 - Implement nsSimpleURI::SetFilePath r=kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D14010
--HG--
extra : moz-landing-system : lando
2018-12-11 22:01:58 +00:00
Jeff Walden
bd603f3ff5
Bug 1492938 - Move PAC script compilation (currently as Latin-1 only) into a lambda for readability. r=bagder
...
--HG--
extra : rebase_source : 3c6322ff524e17ba1997a2ced0b50cd6411d6098
2018-12-04 14:38:46 -05:00
Jeff Walden
ad17bf59a4
Bug 1492938 - Attempt compiling PAC scripts as UTF-8 first if they're valid UTF-8, and only if that fails inflate to UTF-16 and compile that. r=bagder
...
--HG--
extra : rebase_source : a8933485f054292222bfbba4774e3fa41be1f8c3
2018-12-04 14:40:45 -05:00
Sylvestre Ledru
ad75e912fb
Bug 1512961 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D14060
--HG--
extra : moz-landing-system : lando
2018-12-10 19:23:16 +00:00
Ehsan Akhgari
a9178e878d
Bug 1510911 - Part 3: Backout changeset d0997972e4d4 (bug 1493563 - Part 4) for regressing performance
2018-12-03 14:27:53 -05:00
Ehsan Akhgari
0dcf936804
Bug 1510911 - Part 2: Backout changeset f8849239da42 (bug 1493563 - Part 5) for regressing performance
2018-12-03 14:27:53 -05:00
Valentin Gosu
7439d2a7fe
Bug 1502025 - Add IPv6 support to httpd.js r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D13335
--HG--
extra : moz-landing-system : lando
2018-12-02 23:29:45 +00:00
Valentin Gosu
8064b923c9
Bug 1502025 - Use captive portal endpoints for connectivity checks r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D13334
--HG--
extra : moz-landing-system : lando
2018-12-02 23:29:27 +00:00
Valentin Gosu
ad0bfacd94
Bug 1502025 - Remove failure counters from nsSocketTransport2 r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D13333
--HG--
extra : moz-landing-system : lando
2018-12-02 23:29:10 +00:00
Ciure Andrei
2edebf41a2
Merge inbound to mozilla-central. a=merge
2018-12-02 11:46:09 +02:00
Valentin Gosu
f006cf8ce4
Bug 1511591 - Update rust-url to version 1.7.2 r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D13613
--HG--
extra : moz-landing-system : lando
2018-12-01 14:58:03 +00:00
Andrea Marchesini
b9156a21d1
Bug 1505931 - Channel-Classifier should not skip annotation when TP is enabled, r=francois
2018-12-01 13:04:20 +01:00
Tooru Fujisawa
7983faeb5d
Bug 1511393 - Use c-basic-offset: 2 in Emacs mode line for C/C++ code. r=nbp
2018-12-01 04:52:05 +09:00
Benjamin Bouvier
a7f1d173a0
Bug 1511383: Update vim modelines after clang-format; r=sylvestre
...
- modify line wrap up to 80 chars; (tw=80)
- modify size of tab to 2 chars everywhere; (sts=2, sw=2)
--HG--
extra : rebase_source : 7eedce0311b340c9a5a1265dc42d3121cc0f32a0
extra : amend_source : 9cb4ffdd5005f5c4c14172390dd00b04b2066cd7
2018-11-30 16:39:55 +01:00
Sylvestre Ledru
265e672179
Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format
...
# ignore-this-changeset
--HG--
extra : amend_source : 4d301d3b0b8711c4692392aa76088ba7fd7d1022
2018-11-30 11:46:48 +01:00
Ehsan Akhgari
490e611801
Bug 1508472 - Part 5: Fifth batch of comment fix-ups in preparation for the tree reformat r=sylvestre
...
This is a best effort attempt at ensuring that the adverse impact of
reformatting the entire tree over the comments would be minimal. I've used a
combination of strategies including disabling of formatting, some manual
formatting and some changes to formatting to work around some clang-format
limitations.
Differential Revision: https://phabricator.services.mozilla.com/D13371
--HG--
extra : moz-landing-system : lando
2018-11-29 10:30:46 +00:00
Gabriele Svelto
19e52bebd4
Bug 1510582 - Remove useless inclusions of Services.h r=erahm
...
Differential Revision: https://phabricator.services.mozilla.com/D13240
--HG--
extra : moz-landing-system : lando
2018-11-28 17:25:23 +00:00
Siddhant085
87b814fa1e
Bug 1453264 - Dropping nsIBrowserSearchService::currentEngine in favour of defaultEngine. r=Standard8
...
All instances of nsIBrowserSearchService::currentEngine have been replaced by nsIBrowserSearchService::defaultEngine. Dropping this variable now.
Differential Revision: https://phabricator.services.mozilla.com/D12223
--HG--
extra : moz-landing-system : lando
2018-11-28 15:21:11 +00:00
Ehsan Akhgari
691c192f43
Bug 1509047 - Part 1: Add a permission manager API for enumerating all permissions with a type prefix r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D12862
--HG--
extra : source : f8fc57f3ab6450a5f32e282c4f0d02cc8a9eb73e
2018-11-27 16:50:39 +00:00
Andreea Pavel
eb6a42f46f
Backed out changeset f8fc57f3ab64 (bug 1509047) for build bustages on a CLOSED TREE
2018-11-27 19:10:44 +02:00
Ehsan Akhgari
491663338c
Bug 1509047 - Part 1: Add a permission manager API for enumerating all permissions with a type prefix r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D12862
--HG--
extra : moz-landing-system : lando
2018-11-27 16:50:39 +00:00
Ehsan Akhgari
e8df714b7c
Bug 1509555 - Part 3: Remove reporting of tracker statistics to docshell which was added for fastblock r=valentin,baku
...
Depends on D12829
Differential Revision: https://phabricator.services.mozilla.com/D12830
--HG--
extra : moz-landing-system : lando
2018-11-27 08:55:36 +00:00
Ehsan Akhgari
15bf246249
Bug 1509555 - Part 1: Remove the telemetry probe for measuring the rate at which popular analytics providers get blocked by fastblock r=baku,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D12828
--HG--
extra : moz-landing-system : lando
2018-11-27 08:50:36 +00:00
Ehsan Akhgari
2aea5bbb1a
Bug 1508044 - Part 4: Make nsChannelClassifier use nsContentUtils::IsThirdPartyWindowOrChannel() in order to avoid having duplicated logic r=francois
...
Depends on D12853
Differential Revision: https://phabricator.services.mozilla.com/D12854
--HG--
extra : moz-landing-system : lando
2018-11-27 00:46:50 +00:00
Ehsan Akhgari
c964f1264c
Bug 1508044 - Check the return values of mozIThirdPartyUtil::IsThirdPartyFoo() in IsThirdParty() inside nsChannelClassifier.cpp r=francois
...
Differential Revision: https://phabricator.services.mozilla.com/D12784
--HG--
extra : moz-landing-system : lando
2018-11-24 00:49:03 +00:00
Byron Campen [:bwc]
e6218aee8a
Bug 1494312 - Part 2: Make the internal PC stats API based on MozPromise. r=mjf,mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D11776
--HG--
extra : moz-landing-system : lando
2018-11-23 16:46:52 +00:00
Peter Van der Beken
025219f350
Bug 1507604 - Remove nsINetworkProperties. r=smaug
...
Differential Revision: https://phabricator.services.mozilla.com/D12135
--HG--
extra : moz-landing-system : lando
2018-11-23 15:53:01 +00:00
Valentin Gosu
e823bab3cc
Bug 1487964 - Do not report resource-timing subdocument loads triggered by that subdocument r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D9503
--HG--
extra : moz-landing-system : lando
2018-11-21 16:28:20 +00:00
Cosmin Sabou
79b7d9fe91
Backed out changeset 395b95afd795 (bug 1487964) for mochitest failures on test_resource_timing_nocors.
2018-11-21 17:14:29 +02:00
Valentin Gosu
a80d7bf63e
Bug 1487964 - Do not report resource-timing subdocument loads triggered by that subdocument r=bzbarsky
...
Differential Revision: https://phabricator.services.mozilla.com/D9503
--HG--
extra : moz-landing-system : lando
2018-11-17 19:30:36 +00:00
Ehsan Akhgari
9459a6554e
Bug 1506947 - Part 1: Add a pref for site-specific workarounds for blocking cookies from trackers; r=francois
...
Differential Revision: https://phabricator.services.mozilla.com/D11979
2018-11-20 23:00:30 -05:00
Ehsan Akhgari
5a990aab93
Bug 1504728 - Part 1: Add a content blocking notification for indicating when a top-level page is using cookies or site data r=baku,valentin,johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D11122
--HG--
extra : moz-landing-system : lando
2018-11-20 14:34:49 +00:00
Boris Zbarsky
9691e7ba88
Bug 1507540 part 3. Use more notxpcom attributes in netwerk/. r=valentin
2018-11-19 20:17:53 -05:00
Tarek Ziadé
139a810511
Bug 1508257 - Remove io.activity.intervalMilliseconds - r=valentin
...
This preference is not used. Let's get rid of it.
Differential Revision: https://phabricator.services.mozilla.com/D12295
--HG--
extra : moz-landing-system : lando
2018-11-19 14:52:26 +00:00
Dorel Luca
3a97449464
Backed out changeset dfc775a144ad (bug 1504728) for Brwoser-chrome failure in browser/base/content/test/trackingUI/browser_trackingUI_trackers_subview.js. CLOSED TREE
2018-11-19 18:34:50 +02:00
Ehsan Akhgari
abc8be6d57
Bug 1504728 - Part 1: Add a content blocking notification for indicating when a top-level page is using cookies or site data r=baku,valentin,johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D11122
--HG--
extra : moz-landing-system : lando
2018-11-19 15:25:33 +00:00
Kershaw Chang
1d281934cf
Bug 1452535 - Move some logs to level 1 r=mayhemer
...
WPT parses HTTP log and create a HAR file. To reduce the overhead of logging, this patch moves some logs that are used by WPT parser to level 1.
Differential Revision: https://phabricator.services.mozilla.com/D8986
--HG--
extra : moz-landing-system : lando
2018-11-16 16:35:52 +00:00
Narcis Beleuzu
c8215609ff
Backed out 2 changesets (bug 1504728, bug 1505198) for xpcshell failures on test_WebExtensionContentScript.js. CLOSED TREE
...
Backed out changeset 26318538f077 (bug 1505198)
Backed out changeset fc39602006be (bug 1504728)
2018-11-16 02:34:15 +02:00
Ehsan Akhgari
7f3a7b13de
Bug 1504728 - Part 1: Add a content blocking notification for indicating when a top-level page is using cookies or site data r=baku,valentin,johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D11122
--HG--
extra : moz-landing-system : lando
2018-11-14 17:19:25 +00:00
Valentin Gosu
1c5f254e6b
Bug 1495313 - Allow password with empty username in URLs r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D11254
--HG--
extra : moz-landing-system : lando
2018-11-14 19:10:42 +00:00
Andreea Pavel
7c4a91dd37
Backed out changeset 9ad299b5161b (bug 1495313) for failing mochitest dom/security/test/cors/test_CrossSiteXHR.html on a CLOSED TREE
2018-11-14 20:55:00 +02:00
Valentin Gosu
3777cffb41
Bug 1495313 - Allow empty username in URLs r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D11254
--HG--
extra : moz-landing-system : lando
2018-11-14 15:24:21 +00:00
Dorel Luca
2f261feba3
Backed out changeset 365e0d2414bf (bug 1504728) for browser-chrome failures. CLOSED TREE
2018-11-09 18:48:39 +02:00
Ehsan Akhgari
b11a25f3c6
Bug 1504728 - Add a content blocking notification for indicating when a top-level page is using cookies or site data r=baku,valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D11122
--HG--
extra : moz-landing-system : lando
2018-11-09 15:36:02 +00:00
Gurzau Raul
1da9ef02c4
Merge inbound to mozilla-central. a=merge
...
--HG--
rename : testing/web-platform/tests/content-security-policy/navigate-to/form-action/form-action-blocks-navigate-to-allows.html => testing/web-platform/tests/content-security-policy/navigate-to/form-action/form-action-blocks-navigate-to-allows.sub.html
rename : testing/web-platform/tests/content-security-policy/navigate-to/spv-only-sent-to-initiator.html => testing/web-platform/tests/content-security-policy/navigate-to/spv-only-sent-to-initiator.sub.html
2018-11-06 11:57:49 +02:00
Ehsan Akhgari
3da9ced0c9
Bug 1503697 - Record trackers being loaded on a site in the content blocking log; r=baku,francois
...
Differential Revision: https://phabricator.services.mozilla.com/D10439
2018-11-05 13:44:29 -05:00
Cosmin Sabou
f341826914
Merge mozilla-central to mozilla-inbound. a=merge
2018-11-05 18:20:54 +02:00
Ehsan Akhgari
7e258df307
Bug 1504557 - Remove the XPCOM registration for nsErrorService; r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D10848
2018-11-05 09:44:58 -05:00
Gerald Squelart
69cacfa74d
Bug 1504347 - Add IDLE markers and AUTO_PROFILER_THREAD_SLEEP around Necko waits - r=mayhemer
...
IDLE markers help with categorizing threads in the profiler UI.
_SLEEP makes the profiler spend less time sampling threads that haven't changed.
Differential Revision: https://phabricator.services.mozilla.com/D10815
--HG--
extra : moz-landing-system : lando
2018-11-05 12:58:51 +00:00
Ciure Andrei
46f758b8b5
Backed out changeset cb84a3ed7bdd (bug 1504557) for nsErrorService leakcheck failures CLOSED TREE
2018-11-05 05:17:40 +02:00
Ehsan Akhgari
e95c3cca7d
Bug 1504557 - Remove the XPCOM registration for nsErrorService r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D10848
--HG--
extra : moz-landing-system : lando
2018-11-05 00:43:41 +00:00
Ehsan Akhgari
164805ba94
Bug 1502774 - Part 2: Remove XPCOM component registrations for auth module classes r=valentin
...
Depends on D10025
Differential Revision: https://phabricator.services.mozilla.com/D10026
--HG--
extra : moz-landing-system : lando
2018-11-01 10:39:58 +00:00
Thomas Nguyen
6221a528ab
Bug 1501206 - Get referrer policy string in js
...
MozReview-Commit-ID: 2bbk0LkwcXG
Differential Revision: https://phabricator.services.mozilla.com/D10535
--HG--
extra : moz-landing-system : lando
2018-11-01 12:09:15 +00:00
Gabriele Svelto
266ef73c96
Bug 1503207 - Remove nsWeakPtr.h and cleanup all files including weak reference-related headers r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D10251
--HG--
extra : moz-landing-system : lando
2018-10-31 20:39:03 +00:00
Jonathan Kingston
3501594596
Bug 1447784 - Upgrade insecure requests should not be applied to potentially trustworthy loopback r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D10367
--HG--
extra : moz-landing-system : lando
2018-10-31 16:04:58 +00:00
Dragana Damjanovic
a65c0c1cb1
Bug 1497994 - Disable TFO for socks proxies. r=nwgh
...
Differential Revision: https://phabricator.services.mozilla.com/D10248
--HG--
extra : moz-landing-system : lando
2018-10-30 17:38:05 +00:00
Andreea Pavel
3770da1a92
Backed out 3 changesets (bug 1502774) for causing multiple crashes - bug 1503201 a=backout
...
Backed out changeset 6b821f5b12ae (bug 1502774)
Backed out changeset b3bf57d996a7 (bug 1502774)
Backed out changeset 32a581482291 (bug 1502774)
--HG--
rename : extensions/auth/nsIAuthModule.cpp => extensions/auth/nsAuthFactory.cpp
2018-10-30 21:18:29 +02:00
Ehsan Akhgari
51908697bd
Bug 1502774 - Part 2: Remove XPCOM component registrations for auth module classes r=valentin
...
Depends on D10025
Differential Revision: https://phabricator.services.mozilla.com/D10026
--HG--
extra : moz-landing-system : lando
2018-10-29 14:59:16 +00:00
Narcis Beleuzu
3467484554
Backed out 3 changesets (bug 1502774) for mingwclang bustages on include/sspi.h. CLOSED TREE
...
Backed out changeset a1f9c4666855 (bug 1502774)
Backed out changeset 07648e9d8400 (bug 1502774)
Backed out changeset b403c3c786ee (bug 1502774)
--HG--
rename : extensions/auth/nsIAuthModule.cpp => extensions/auth/nsAuthFactory.cpp
2018-10-29 17:01:21 +02:00
Ehsan Akhgari
25048d2d01
Bug 1497014 - Part 1: Pass in a URI hint for all content blocking state notifications r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D9984
--HG--
extra : moz-landing-system : lando
2018-10-29 14:47:55 +00:00
Ehsan Akhgari
acc9a12f81
Bug 1502774 - Part 2: Remove XPCOM component registrations for auth module classes r=valentin
...
Depends on D10025
Differential Revision: https://phabricator.services.mozilla.com/D10026
--HG--
extra : moz-landing-system : lando
2018-10-29 14:40:29 +00:00
Valentin Gosu
9a1d38c1a0
Bug 1460537 - Connectivity Service - Add check for IPv4/v6 connectivity r=dragana
...
This is likely not the best approach to detecting IP connectivity.
The check has a slight delay until the failure counter reaches the threshold.
A more reliable way will be added in a follow-up.
Depends on D7844
Differential Revision: https://phabricator.services.mozilla.com/D8704
--HG--
extra : moz-landing-system : lando
2018-10-29 11:22:58 +00:00
Valentin Gosu
3753105b42
Bug 1460537 - Connectivity Service - Add DNSv4 and DNSv6 checks r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D7844
--HG--
extra : moz-landing-system : lando
2018-10-29 11:22:40 +00:00
Andrea Marchesini
d6bfe6910f
Bug 1502238 - When clearing site data, clear storage permissions assigned to a tracker, r=ehsan
2018-10-27 08:55:07 +02:00
Junior Hsu
557d0841fb
Bug 1494364 - don't prune proxy if all non-direct proxies are disabled r=bagder
...
Differential Revision: https://phabricator.services.mozilla.com/D10625
--HG--
extra : moz-landing-system : lando
2018-11-05 07:12:54 +00:00
Christoph Kerschbaumer
cb0d9e21a7
Bug 1528971: Move newChannel2 being the only implementation within nsIProtocolHandler.idl. r=valentin
2019-02-19 19:20:37 +01:00
Daniel Stenberg
bfe78e05d2
bug 1502273 - improve the LOAD_FRESH_CONNECTION description r=dragana
...
MozReview-Commit-ID: 4y5SkKkK64r
Differential Revision: https://phabricator.services.mozilla.com/D9892
--HG--
extra : moz-landing-system : lando
2018-10-26 12:18:28 +00:00
Junior Hsu
7dd4276f45
Bug 1499138 - Do not nullify the gSocketThread in shutdown phase r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D9740
--HG--
extra : moz-landing-system : lando
2018-10-25 20:10:20 +00:00
Coroiu Cristina
feba378b98
Backed out 2 changesets (bug 1460537) for xpcshell failures at netwerk/test/unit/test_network_connectivity_service.js on a CLOSED TREE
...
Backed out changeset ae2b0a2cd8a7 (bug 1460537)
Backed out changeset bd3f7151c697 (bug 1460537)
2018-10-25 20:16:10 +03:00
Daniel Varga
c1fea8cbed
Merge mozilla-central to autoland. a=merge
2018-10-25 19:18:54 +03:00
Valentin Gosu
0774dd10ce
Bug 1460537 - Connectivity Service - Add check for IPv4/v6 connectivity r=dragana
...
This is likely not the best approach to detecting IP connectivity.
The check has a slight delay until the failure counter reaches the threshold.
A more reliable way will be added in a follow-up.
Depends on D7844
Differential Revision: https://phabricator.services.mozilla.com/D8704
--HG--
extra : moz-landing-system : lando
2018-10-25 15:49:08 +00:00
Valentin Gosu
23793b33e1
Bug 1460537 - Connectivity Service - Add DNSv4 and DNSv6 checks r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D7844
--HG--
extra : moz-landing-system : lando
2018-10-25 15:48:51 +00:00