Valentin Gosu
50b2b648b6
Bug 1525640 - Add nsIHttpChannelInternal.isResolvedByTRR r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D26884
--HG--
extra : moz-landing-system : lando
2019-05-02 12:53:45 +00:00
Valentin Gosu
f96dbbf019
Bug 1525640 - Rename nsIHttpChannelInternal.trr to .isHttpServiceChannel to avoid confusion r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D26883
--HG--
extra : moz-landing-system : lando
2019-05-02 12:53:38 +00:00
Valentin Gosu
e649e93aa1
Bug 1525640 - Pass TRR status from sockettransport to channel r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D26882
--HG--
extra : moz-landing-system : lando
2019-05-02 12:53:36 +00:00
Ehsan Akhgari
6fa7b44385
Bug 1543219 follow-up: Address review comment
2019-05-02 13:04:56 -04:00
Csoregi Natalia
f6c688146a
Merge mozilla-central to mozilla-inbound. CLOSED TREE
2019-05-17 01:00:41 +03:00
Fabio Alessandrelli
aec49ddacd
Bug 1529695: Implement RTCDataChannel.negotiated. r=bwc,smaug
...
--HG--
extra : amend_source : d16ca9ffde03d531b012c8f7263d49ef1137327b
2019-05-16 23:11:46 +02:00
Jorg K
0a06472d5d
Bug 1543219 - Allow Mailnews to check protocol flags for cookie permissions. r=jorgk
...
This reinstates nsIProtocolHandler::URI_FORBIDS_COOKIE_ACCESS removed in bug 1517057, Part 1, rev 23a0332b18a1
2019-05-02 18:07:51 +02:00
Cosmin Sabou
a884fb99d8
Backed out 4 changesets (bug 1320404) for xperf failures on permissions.sqlite-journal.
...
Backed out changeset fbacf18b6532 (bug 1320404)
Backed out changeset fed7c475d75c (bug 1320404)
Backed out changeset 557b586f774a (bug 1320404)
Backed out changeset 5a20b5f43280 (bug 1320404)
2019-05-02 04:51:18 +03:00
Andrea Marchesini
7a0fabb9f6
Bug 1320404 - Remove appId from origin attributes - part 4 - necko, r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D29356
--HG--
extra : moz-landing-system : lando
2019-05-01 23:21:19 +00:00
Andrea Marchesini
36718d66c8
Bug 1320404 - Remove appId from origin attributes - part 2 - NO_APP_ID UNKNOWN_APP_ID, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D29354
--HG--
extra : moz-landing-system : lando
2019-05-01 23:21:54 +00:00
Andrea Marchesini
7e61125d8f
Bug 1320404 - Remove appId from origin attributes - part 1 - OriginAttributes and nsIPrincipal, r=Ehsan,flod
...
Differential Revision: https://phabricator.services.mozilla.com/D29353
--HG--
extra : moz-landing-system : lando
2019-05-01 23:21:45 +00:00
Andrea Marchesini
4426f8f63b
Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - network.http.tailing.enabled, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D29520
--HG--
extra : moz-landing-system : lando
2019-05-01 21:10:31 +00:00
Andrea Marchesini
79d0eaf58e
Bug 1548253 - Port pref cache variables of nsContentUtils to StaticPrefs - privacy.donottrackheader.enabled, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D29514
--HG--
extra : moz-landing-system : lando
2019-05-01 21:09:44 +00:00
Sylvestre Ledru
e226046cb8
Bug 1547143 - Format the tree: Be prescriptive with the pointer style (left) r=Ehsan
...
# ignore-this-changeset
Depends on D28954
Differential Revision: https://phabricator.services.mozilla.com/D28956
--HG--
extra : moz-landing-system : lando
2019-05-01 08:47:10 +00:00
J.C. Jones
0100ed6dff
Bug 1547860 - Update test_tls_server to use TLS 1.3 client cert alert logic r=keeler
...
Differential Revision: https://phabricator.services.mozilla.com/D29384
--HG--
extra : moz-landing-system : lando
2019-04-30 21:32:51 +00:00
Geoff Lankow
db8a35c1de
Bug 1482809 - Move non-browser-specific parts of browser/components/enterprisepolicies to toolkit r=mkaply,Felipe
...
Differential Revision: https://phabricator.services.mozilla.com/D28309
--HG--
rename : browser/components/enterprisepolicies/EnterprisePolicies.js => toolkit/components/enterprisepolicies/EnterprisePolicies.js
rename : browser/components/enterprisepolicies/EnterprisePolicies.manifest => toolkit/components/enterprisepolicies/EnterprisePolicies.manifest
rename : browser/components/enterprisepolicies/EnterprisePoliciesContent.js => toolkit/components/enterprisepolicies/EnterprisePoliciesContent.js
rename : browser/components/enterprisepolicies/WindowsGPOParser.jsm => toolkit/components/enterprisepolicies/WindowsGPOParser.jsm
rename : browser/components/enterprisepolicies/macOSPoliciesParser.jsm => toolkit/components/enterprisepolicies/macOSPoliciesParser.jsm
rename : browser/components/enterprisepolicies/tests/EnterprisePolicyTesting.jsm => toolkit/components/enterprisepolicies/tests/EnterprisePolicyTesting.jsm
rename : browser/components/enterprisepolicies/tests/browser/browser_policies_basic_tests.js => toolkit/components/enterprisepolicies/tests/browser/browser_policies_basic_tests.js
rename : browser/components/enterprisepolicies/tests/browser/browser_policies_broken_json.js => toolkit/components/enterprisepolicies/tests/browser/browser_policies_broken_json.js
rename : browser/components/enterprisepolicies/tests/browser/browser_policies_enterprise_only.js => toolkit/components/enterprisepolicies/tests/browser/browser_policies_enterprise_only.js
rename : browser/components/enterprisepolicies/tests/browser/browser_policies_mistyped_json.js => toolkit/components/enterprisepolicies/tests/browser/browser_policies_mistyped_json.js
rename : browser/components/enterprisepolicies/tests/browser/config_broken_json.json => toolkit/components/enterprisepolicies/tests/browser/config_broken_json.json
extra : moz-landing-system : lando
2019-04-30 16:01:06 +00:00
Gurzau Raul
f1e0f0ddf1
Backed out changeset 28b3bd8e5018 (bug 1482809) for using the wrong author.
...
--HG--
rename : toolkit/components/enterprisepolicies/EnterprisePolicies.js => browser/components/enterprisepolicies/EnterprisePolicies.js
rename : toolkit/components/enterprisepolicies/EnterprisePolicies.manifest => browser/components/enterprisepolicies/EnterprisePolicies.manifest
rename : toolkit/components/enterprisepolicies/EnterprisePoliciesContent.js => browser/components/enterprisepolicies/EnterprisePoliciesContent.js
rename : toolkit/components/enterprisepolicies/WindowsGPOParser.jsm => browser/components/enterprisepolicies/WindowsGPOParser.jsm
rename : toolkit/components/enterprisepolicies/macOSPoliciesParser.jsm => browser/components/enterprisepolicies/macOSPoliciesParser.jsm
rename : toolkit/components/enterprisepolicies/tests/EnterprisePolicyTesting.jsm => browser/components/enterprisepolicies/tests/EnterprisePolicyTesting.jsm
rename : toolkit/components/enterprisepolicies/tests/browser/browser_policies_basic_tests.js => browser/components/enterprisepolicies/tests/browser/browser_policies_basic_tests.js
rename : toolkit/components/enterprisepolicies/tests/browser/browser_policies_broken_json.js => browser/components/enterprisepolicies/tests/browser/browser_policies_broken_json.js
rename : toolkit/components/enterprisepolicies/tests/browser/browser_policies_enterprise_only.js => browser/components/enterprisepolicies/tests/browser/browser_policies_enterprise_only.js
rename : toolkit/components/enterprisepolicies/tests/browser/browser_policies_mistyped_json.js => browser/components/enterprisepolicies/tests/browser/browser_policies_mistyped_json.js
rename : toolkit/components/enterprisepolicies/tests/browser/config_broken_json.json => browser/components/enterprisepolicies/tests/browser/config_broken_json.json
2019-04-30 18:54:43 +03:00
Magnus Melin
a032a45a18
Bug 1482809 - Move non-browser-specific parts of browser/components/enterprisepolicies to toolkit r=mkaply,Felipe
...
Differential Revision: https://phabricator.services.mozilla.com/D28309
--HG--
rename : browser/components/enterprisepolicies/EnterprisePolicies.js => toolkit/components/enterprisepolicies/EnterprisePolicies.js
rename : browser/components/enterprisepolicies/EnterprisePolicies.manifest => toolkit/components/enterprisepolicies/EnterprisePolicies.manifest
rename : browser/components/enterprisepolicies/EnterprisePoliciesContent.js => toolkit/components/enterprisepolicies/EnterprisePoliciesContent.js
rename : browser/components/enterprisepolicies/WindowsGPOParser.jsm => toolkit/components/enterprisepolicies/WindowsGPOParser.jsm
rename : browser/components/enterprisepolicies/macOSPoliciesParser.jsm => toolkit/components/enterprisepolicies/macOSPoliciesParser.jsm
rename : browser/components/enterprisepolicies/tests/EnterprisePolicyTesting.jsm => toolkit/components/enterprisepolicies/tests/EnterprisePolicyTesting.jsm
rename : browser/components/enterprisepolicies/tests/browser/browser_policies_basic_tests.js => toolkit/components/enterprisepolicies/tests/browser/browser_policies_basic_tests.js
rename : browser/components/enterprisepolicies/tests/browser/browser_policies_broken_json.js => toolkit/components/enterprisepolicies/tests/browser/browser_policies_broken_json.js
rename : browser/components/enterprisepolicies/tests/browser/browser_policies_enterprise_only.js => toolkit/components/enterprisepolicies/tests/browser/browser_policies_enterprise_only.js
rename : browser/components/enterprisepolicies/tests/browser/browser_policies_mistyped_json.js => toolkit/components/enterprisepolicies/tests/browser/browser_policies_mistyped_json.js
rename : browser/components/enterprisepolicies/tests/browser/config_broken_json.json => toolkit/components/enterprisepolicies/tests/browser/config_broken_json.json
extra : moz-landing-system : lando
2019-04-30 15:38:22 +00:00
Ehsan Akhgari
c541551107
Bug 1547397 - Part 3: Move the permission manager code to extensions/permissions; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D29116
--HG--
rename : extensions/cookie/nsPermission.cpp => extensions/permissions/nsPermission.cpp
rename : extensions/cookie/nsPermission.h => extensions/permissions/nsPermission.h
rename : extensions/cookie/nsPermissionManager.cpp => extensions/permissions/nsPermissionManager.cpp
rename : extensions/cookie/nsPermissionManager.h => extensions/permissions/nsPermissionManager.h
rename : extensions/cookie/test/.eslintrc.js => extensions/permissions/test/.eslintrc.js
rename : extensions/cookie/test/browser.ini => extensions/permissions/test/browser.ini
rename : extensions/cookie/test/browser_permmgr_sync.js => extensions/permissions/test/browser_permmgr_sync.js
rename : extensions/cookie/test/browser_permmgr_viewsrc.js => extensions/permissions/test/browser_permmgr_viewsrc.js
rename : extensions/cookie/test/gtest/PermissionManagerTest.cpp => extensions/permissions/test/gtest/PermissionManagerTest.cpp
rename : extensions/cookie/test/gtest/moz.build => extensions/permissions/test/gtest/moz.build
rename : extensions/cookie/test/moz.build => extensions/permissions/test/moz.build
rename : extensions/cookie/test/unit/test_permmanager_cleardata.js => extensions/permissions/test/unit/test_permmanager_cleardata.js
rename : extensions/cookie/test/unit/test_permmanager_default_pref.js => extensions/permissions/test/unit/test_permmanager_default_pref.js
rename : extensions/cookie/test/unit/test_permmanager_defaults.js => extensions/permissions/test/unit/test_permmanager_defaults.js
rename : extensions/cookie/test/unit/test_permmanager_expiration.js => extensions/permissions/test/unit/test_permmanager_expiration.js
rename : extensions/cookie/test/unit/test_permmanager_getAllForURI.js => extensions/permissions/test/unit/test_permmanager_getAllForURI.js
rename : extensions/cookie/test/unit/test_permmanager_getAllWithTypePrefix.js => extensions/permissions/test/unit/test_permmanager_getAllWithTypePrefix.js
rename : extensions/cookie/test/unit/test_permmanager_getPermissionObject.js => extensions/permissions/test/unit/test_permmanager_getPermissionObject.js
rename : extensions/cookie/test/unit/test_permmanager_idn.js => extensions/permissions/test/unit/test_permmanager_idn.js
rename : extensions/cookie/test/unit/test_permmanager_load_invalid_entries.js => extensions/permissions/test/unit/test_permmanager_load_invalid_entries.js
rename : extensions/cookie/test/unit/test_permmanager_local_files.js => extensions/permissions/test/unit/test_permmanager_local_files.js
rename : extensions/cookie/test/unit/test_permmanager_matches.js => extensions/permissions/test/unit/test_permmanager_matches.js
rename : extensions/cookie/test/unit/test_permmanager_matchesuri.js => extensions/permissions/test/unit/test_permmanager_matchesuri.js
rename : extensions/cookie/test/unit/test_permmanager_migrate_4-7.js => extensions/permissions/test/unit/test_permmanager_migrate_4-7.js
rename : extensions/cookie/test/unit/test_permmanager_migrate_4-7_no_history.js => extensions/permissions/test/unit/test_permmanager_migrate_4-7_no_history.js
rename : extensions/cookie/test/unit/test_permmanager_migrate_5-7a.js => extensions/permissions/test/unit/test_permmanager_migrate_5-7a.js
rename : extensions/cookie/test/unit/test_permmanager_migrate_5-7b.js => extensions/permissions/test/unit/test_permmanager_migrate_5-7b.js
rename : extensions/cookie/test/unit/test_permmanager_migrate_6-7a.js => extensions/permissions/test/unit/test_permmanager_migrate_6-7a.js
rename : extensions/cookie/test/unit/test_permmanager_migrate_6-7b.js => extensions/permissions/test/unit/test_permmanager_migrate_6-7b.js
rename : extensions/cookie/test/unit/test_permmanager_migrate_7-8.js => extensions/permissions/test/unit/test_permmanager_migrate_7-8.js
rename : extensions/cookie/test/unit/test_permmanager_notifications.js => extensions/permissions/test/unit/test_permmanager_notifications.js
rename : extensions/cookie/test/unit/test_permmanager_removeall.js => extensions/permissions/test/unit/test_permmanager_removeall.js
rename : extensions/cookie/test/unit/test_permmanager_removebytype.js => extensions/permissions/test/unit/test_permmanager_removebytype.js
rename : extensions/cookie/test/unit/test_permmanager_removebytypesince.js => extensions/permissions/test/unit/test_permmanager_removebytypesince.js
rename : extensions/cookie/test/unit/test_permmanager_removeforapp.js => extensions/permissions/test/unit/test_permmanager_removeforapp.js
rename : extensions/cookie/test/unit/test_permmanager_removepermission.js => extensions/permissions/test/unit/test_permmanager_removepermission.js
rename : extensions/cookie/test/unit/test_permmanager_removesince.js => extensions/permissions/test/unit/test_permmanager_removesince.js
rename : extensions/cookie/test/unit/test_permmanager_subdomains.js => extensions/permissions/test/unit/test_permmanager_subdomains.js
rename : extensions/cookie/test/unit/xpcshell.ini => extensions/permissions/test/unit/xpcshell.ini
extra : moz-landing-system : lando
2019-04-30 14:06:53 +00:00
Ehsan Akhgari
868c13b5e5
Bug 1547397 - Part 2: Move some xpcshell tests for cookies out of extensions/cookies; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D29115
--HG--
rename : extensions/cookie/test/unit/head_cookies.js => netwerk/test/unit/head_cookies.js
rename : extensions/cookie/test/unit/test_bug526789.js => netwerk/test/unit/test_bug526789.js
rename : extensions/cookie/test/unit/test_bug650522.js => netwerk/test/unit/test_bug650522.js
rename : extensions/cookie/test/unit/test_bug667087.js => netwerk/test/unit/test_bug667087.js
rename : extensions/cookie/test/unit/test_cookies_async_failure.js => netwerk/test/unit/test_cookies_async_failure.js
rename : extensions/cookie/test/unit/test_cookies_persistence.js => netwerk/test/unit/test_cookies_persistence.js
rename : extensions/cookie/test/unit/test_cookies_privatebrowsing.js => netwerk/test/unit/test_cookies_privatebrowsing.js
rename : extensions/cookie/test/unit/test_cookies_profile_close.js => netwerk/test/unit/test_cookies_profile_close.js
rename : extensions/cookie/test/unit/test_cookies_read.js => netwerk/test/unit/test_cookies_read.js
rename : extensions/cookie/test/unit/test_cookies_sync_failure.js => netwerk/test/unit/test_cookies_sync_failure.js
rename : extensions/cookie/test/unit/test_cookies_thirdparty.js => netwerk/test/unit/test_cookies_thirdparty.js
rename : extensions/cookie/test/unit/test_cookies_thirdparty_nonsecure_session.js => netwerk/test/unit/test_cookies_thirdparty_nonsecure_session.js
rename : extensions/cookie/test/unit/test_cookies_thirdparty_session.js => netwerk/test/unit/test_cookies_thirdparty_session.js
rename : extensions/cookie/test/unit/test_domain_eviction.js => netwerk/test/unit/test_domain_eviction.js
rename : extensions/cookie/test/unit/test_eviction.js => netwerk/test/unit/test_eviction.js
rename : extensions/cookie/test/unit/test_schema_2_migration.js => netwerk/test/unit/test_schema_2_migration.js
rename : extensions/cookie/test/unit/test_schema_3_migration.js => netwerk/test/unit/test_schema_3_migration.js
extra : moz-landing-system : lando
2019-04-30 14:06:27 +00:00
Ehsan Akhgari
3252b3943e
Bug 1547397 - Part 1: Move some mochitests and browser-chrome tests for cookies out of extensions/cookies; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D29117
--HG--
rename : extensions/cookie/test/browser_test_favicon.js => netwerk/test/browser/browser_test_favicon.js
rename : extensions/cookie/test/damonbowling.jpg => netwerk/test/browser/damonbowling.jpg
rename : extensions/cookie/test/damonbowling.jpg^headers^ => netwerk/test/browser/damonbowling.jpg^headers^
rename : extensions/cookie/test/beltzner.jpg => netwerk/test/mochitests/beltzner.jpg
rename : extensions/cookie/test/beltzner.jpg^headers^ => netwerk/test/mochitests/beltzner.jpg^headers^
rename : extensions/cookie/test/file_chromecommon.js => netwerk/test/mochitests/file_chromecommon.js
rename : extensions/cookie/test/file_domain_hierarchy_inner.html => netwerk/test/mochitests/file_domain_hierarchy_inner.html
rename : extensions/cookie/test/file_domain_hierarchy_inner_inner.html => netwerk/test/mochitests/file_domain_hierarchy_inner_inner.html
rename : extensions/cookie/test/file_domain_hierarchy_inner_inner_inner.html => netwerk/test/mochitests/file_domain_hierarchy_inner_inner_inner.html
rename : extensions/cookie/test/file_domain_inner.html => netwerk/test/mochitests/file_domain_inner.html
rename : extensions/cookie/test/file_domain_inner_inner.html => netwerk/test/mochitests/file_domain_inner_inner.html
rename : extensions/cookie/test/file_image_inner.html => netwerk/test/mochitests/file_image_inner.html
rename : extensions/cookie/test/file_image_inner_inner.html => netwerk/test/mochitests/file_image_inner_inner.html
rename : extensions/cookie/test/file_loadflags_inner.html => netwerk/test/mochitests/file_loadflags_inner.html
rename : extensions/cookie/test/file_localhost_inner.html => netwerk/test/mochitests/file_localhost_inner.html
rename : extensions/cookie/test/file_loopback_inner.html => netwerk/test/mochitests/file_loopback_inner.html
rename : extensions/cookie/test/file_subdomain_inner.html => netwerk/test/mochitests/file_subdomain_inner.html
rename : extensions/cookie/test/file_testcommon.js => netwerk/test/mochitests/file_testcommon.js
rename : extensions/cookie/test/file_testloadflags.js => netwerk/test/mochitests/file_testloadflags.js
rename : extensions/cookie/test/file_testloadflags_chromescript.js => netwerk/test/mochitests/file_testloadflags_chromescript.js
rename : extensions/cookie/test/image1.png => netwerk/test/mochitests/image1.png
rename : extensions/cookie/test/image1.png^headers^ => netwerk/test/mochitests/image1.png^headers^
rename : extensions/cookie/test/image1.png => netwerk/test/mochitests/image2.png
rename : extensions/cookie/test/image2.png^headers^ => netwerk/test/mochitests/image2.png^headers^
rename : extensions/cookie/test/test1.css => netwerk/test/mochitests/test1.css
rename : extensions/cookie/test/test1.css^headers^ => netwerk/test/mochitests/test1.css^headers^
rename : extensions/cookie/test/test1.css => netwerk/test/mochitests/test2.css
rename : extensions/cookie/test/test2.css^headers^ => netwerk/test/mochitests/test2.css^headers^
rename : extensions/cookie/test/test_different_domain_in_hierarchy.html => netwerk/test/mochitests/test_different_domain_in_hierarchy.html
rename : extensions/cookie/test/test_differentdomain.html => netwerk/test/mochitests/test_differentdomain.html
rename : extensions/cookie/test/test_image.html => netwerk/test/mochitests/test_image.html
rename : extensions/cookie/test/test_loadflags.html => netwerk/test/mochitests/test_loadflags.html
rename : extensions/cookie/test/test_same_base_domain.html => netwerk/test/mochitests/test_same_base_domain.html
rename : extensions/cookie/test/test_same_base_domain_2.html => netwerk/test/mochitests/test_same_base_domain_2.html
rename : extensions/cookie/test/test_same_base_domain_3.html => netwerk/test/mochitests/test_same_base_domain_3.html
rename : extensions/cookie/test/test_same_base_domain_4.html => netwerk/test/mochitests/test_same_base_domain_4.html
rename : extensions/cookie/test/test_same_base_domain_5.html => netwerk/test/mochitests/test_same_base_domain_5.html
rename : extensions/cookie/test/test_same_base_domain_6.html => netwerk/test/mochitests/test_same_base_domain_6.html
rename : extensions/cookie/test/test_samedomain.html => netwerk/test/mochitests/test_samedomain.html
extra : moz-landing-system : lando
2019-04-30 14:07:12 +00:00
Sebastian Hengst
3dd01e8232
Backed out 4 changesets (bug 1501108) for causing very frequent leaks in macOS debug wpt tests. a=backout
...
Backed out changeset 23a77e063257 (bug 1501108)
Backed out changeset 335cec0aacd8 (bug 1501108)
Backed out changeset 99ba286125d1 (bug 1501108)
Backed out changeset 8f2d511ad49f (bug 1501108)
--HG--
extra : rebase_source : 01925c24ac47b37135fcfebab8ae7e9876d5b90e
2019-04-29 17:39:42 +02:00
dlee
b57dd97761
Bug 1545033 - P3. SetTrackingInfo in UrlClassifierFeatureTrackingAnnotation. r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D28791
--HG--
extra : moz-landing-system : lando
2019-04-26 13:04:41 +00:00
dlee
2baaee894b
Bug 1545033 - P2. Add SetMatchedTrackingInfo in nsIClassifiedChannel. r=baku
...
This patch adds |setMatchedTrackingInfo| to channel to report matches that
are found in tracking annotation tables.
We have done something similar in nsIClassifiedChannel::setMatchedInfo to
report phishing protection matches.
Differential Revision: https://phabricator.services.mozilla.com/D28790
--HG--
extra : moz-landing-system : lando
2019-04-26 13:03:50 +00:00
dlee
daa17adb9e
Bug 1545033 - P1. Pass matched hash values to ProcessChannel. r=baku
...
In origin telemetry, we want to record the matching statistic of each entry
in our tracking tables. To identify which entry a given URL matches, it needs
the hash value that matches the safe browsing database.
This patch passes the hash value to ProcessChannel so Features can obtain the
information and pass it.
Note that it is possible that an URL may find multiple matches. If an URL matches
hash A of list 1 and hash B of list 2, the parameter in ProcessChannel looks like:
aList = [list 1, list2]
aHashes = [hash A, hash B]
Differential Revision: https://phabricator.services.mozilla.com/D28789
--HG--
extra : moz-landing-system : lando
2019-04-26 13:02:35 +00:00
Ehsan Akhgari
2422b99643
Bug 1535697 - Part 7: Pass the isolated flag to the nsHttpConnectionInfo constructor when cloning the object; r=michal
...
Building the hashkey for these objects will soon depend on the isolated flag,
therefore we need to ensure that it is available when cloning the objects
inside the constructor. This patch refactors the clone method to avoid using
SetIsolated().
Differential Revision: https://phabricator.services.mozilla.com/D28377
--HG--
extra : moz-landing-system : lando
2019-04-29 17:09:41 +00:00
Ehsan Akhgari
b1bd6e9654
Bug 1535697 - Part 6: Use separate network connections for isolated third-party trackers; r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D28376
--HG--
extra : moz-landing-system : lando
2019-04-29 17:09:41 +00:00
Ehsan Akhgari
45d4036c98
Bug 1535697 - Part 5: Pass the top window origin to nsHttpConnectionInfo objects when constructing them; r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D28375
--HG--
extra : moz-landing-system : lando
2019-04-29 17:09:40 +00:00
Ehsan Akhgari
969addfef3
Bug 1535697 - Part 4: Refactor the code for computing the origin of the top window for a channel and remember its result on the channel object; r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D28374
--HG--
extra : moz-landing-system : lando
2019-04-29 17:09:39 +00:00
Ehsan Akhgari
dc946ab989
Bug 1535697 - Part 3: Only consider third-party tracking resources as isolated channels; r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D28373
--HG--
extra : moz-landing-system : lando
2019-04-29 17:09:39 +00:00
Ehsan Akhgari
3fcf2c3bae
Bug 1535697 - Part 2: Represent whether the channel is isolated by anti-tracking as a separate axis on the connection info hash key; r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D28372
--HG--
extra : moz-landing-system : lando
2019-04-29 17:09:37 +00:00
Ehsan Akhgari
7fb3204d5c
Bug 1535697 - Part 1: Avoid calling AntiTrackingCommon::IsFirstPartyStorageAccessGrantedFor() more than once per channel; r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D28371
--HG--
extra : moz-landing-system : lando
2019-04-29 17:09:32 +00:00
Cosmin Sabou
9ce8571e7a
Merge mozilla-central to autoland.
2019-04-29 12:57:24 +03:00
Gurzau Raul
2c2d5c8e3d
Backed out 7 changesets (bug 1535697) for causing Bug 1547596. a=backout
...
Backed out changeset 037390836504 (bug 1535697)
Backed out changeset ebad998aae7a (bug 1535697)
Backed out changeset 969945148b3d (bug 1535697)
Backed out changeset 5cbdeb635a3e (bug 1535697)
Backed out changeset c316d49df8c4 (bug 1535697)
Backed out changeset 4a5475f6aa49 (bug 1535697)
Backed out changeset 9191d987a9e1 (bug 1535697)
2019-04-29 01:05:24 +03:00
Andrea Marchesini
071573bc71
Bug 1541339 - WebSocket channel should use the correct CookieSettings in workers, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D28949
--HG--
extra : moz-landing-system : lando
2019-04-26 22:51:42 +00:00
Kershaw Chang
351a470dad
Bug 1544526 - Copy the callback instead of moving r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D27894
--HG--
extra : moz-landing-system : lando
2019-04-26 18:33:28 +00:00
Ehsan Akhgari
f3548957c4
Bug 1535697 - Part 7: Pass the isolated flag to the nsHttpConnectionInfo constructor when cloning the object; r=michal
...
Building the hashkey for these objects will soon depend on the isolated flag,
therefore we need to ensure that it is available when cloning the objects
inside the constructor. This patch refactors the clone method to avoid using
SetIsolated().
Differential Revision: https://phabricator.services.mozilla.com/D28377
--HG--
extra : moz-landing-system : lando
2019-04-27 01:34:41 +00:00
Ehsan Akhgari
8d5e253237
Bug 1535697 - Part 6: Use separate network connections for isolated third-party trackers; r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D28376
--HG--
extra : moz-landing-system : lando
2019-04-27 01:34:39 +00:00
Ehsan Akhgari
1d483abfeb
Bug 1535697 - Part 5: Pass the top window origin to nsHttpConnectionInfo objects when constructing them; r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D28375
--HG--
extra : moz-landing-system : lando
2019-04-27 01:34:37 +00:00
Ehsan Akhgari
fef6fe14e0
Bug 1535697 - Part 4: Refactor the code for computing the origin of the top window for a channel and remember its result on the channel object; r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D28374
--HG--
extra : moz-landing-system : lando
2019-04-27 07:47:52 +00:00
Ehsan Akhgari
a709cc3a40
Bug 1535697 - Part 3: Only consider third-party tracking resources as isolated channels; r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D28373
--HG--
extra : moz-landing-system : lando
2019-04-27 01:34:32 +00:00
Ehsan Akhgari
f2113beb89
Bug 1535697 - Part 2: Represent whether the channel is isolated by anti-tracking as a separate axis on the connection info hash key; r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D28372
--HG--
extra : moz-landing-system : lando
2019-04-27 01:34:30 +00:00
Ehsan Akhgari
c64e2314b0
Bug 1535697 - Part 1: Avoid calling AntiTrackingCommon::IsFirstPartyStorageAccessGrantedFor() more than once per channel; r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D28371
--HG--
extra : moz-landing-system : lando
2019-04-27 01:34:23 +00:00
Edwin Gao
a0b7203b57
Bug 1547412 - re-enable tests in netwerk/test/unit/xpcshell.ini for windows10-aarch64 r=jmaher
...
Re-enable the tests due to the dependent bug being resolved with a fix.
Differential Revision: https://phabricator.services.mozilla.com/D29087
--HG--
extra : moz-landing-system : lando
2019-04-27 00:36:39 +00:00
Ehsan Akhgari
bba7e3c8b0
Bug 1547114 - Part 8: Move nsCookiePermission to netwerk/cookie; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D29078
--HG--
rename : extensions/cookie/nsCookiePermission.cpp => netwerk/cookie/nsCookiePermission.cpp
rename : extensions/cookie/nsCookiePermission.h => netwerk/cookie/nsCookiePermission.h
extra : moz-landing-system : lando
2019-04-26 22:31:57 +00:00
Dana Keeler
c90cfeaf74
bug 1441989 - remove ContentVerifier r=baku,mayhemer
...
ContentVerifier has been dead code since bug 1355166 (which, incidentally, means
it has no tests). Its presence is preventing improvements to
ContentSignatureVerifier (see e.g. bug 1534600), so this patch removes it.
As a result, the nsILoadInfo attributes verifySignedContent and enforceSRI are
also unused, so this patch removes those as well.
Differential Revision: https://phabricator.services.mozilla.com/D28885
--HG--
extra : moz-landing-system : lando
2019-04-26 22:21:36 +00:00
Cosmin Sabou
6041076346
Backed out changeset daeba572395d (bug 1541339) for xpcshell failures on test_dns_proxy_bypass.
2019-04-26 21:26:21 +03:00
Ehsan Akhgari
c8fea1ecad
Bug 1547114 - Part 5: Remove nsICookiePermission::CanAccess(); r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D28996
--HG--
extra : moz-landing-system : lando
2019-04-26 15:41:07 +00:00
Andrea Marchesini
1e2d43b310
Bug 1541339 - WebSocket channel should use the correct CookieSettings in workers, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D28949
--HG--
extra : moz-landing-system : lando
2019-04-26 17:44:59 +00:00
Ehsan Akhgari
565bc7aba8
Bug 1547114 - Part 1: Remove nsICookiePermission::CanAccessURI(); r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D28914
--HG--
extra : moz-landing-system : lando
2019-04-26 15:49:17 +00:00
Andreea Pavel
81b8902215
Backed out 4 changesets (bug 1547114) for multiple failures e.g. xpcshell at test_SitePermissions.js on a CLOSED TREE
...
Backed out changeset 4167117f548f (bug 1547114)
Backed out changeset 0a4180b074ea (bug 1547114)
Backed out changeset c92df939a4d6 (bug 1547114)
Backed out changeset fc4e5936eeae (bug 1547114)
2019-04-26 18:35:28 +03:00
Liang-Heng Chen
984a2d5906
Bug 1546796 - Fix swapped traffic category descriptions; r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D28792
--HG--
extra : moz-landing-system : lando
2019-04-26 15:01:58 +00:00
Liang-Heng Chen
a6b1274871
Bug 1546903 - change traffic telemetry unit from byte to KB; r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D28797
--HG--
extra : moz-landing-system : lando
2019-04-26 09:39:31 +00:00
Liang-Heng Chen
bed04f7f7b
Bug 1546884
- fix third-party channel checks; r=dragana
...
`mThirdPartyClassificationFlags` can only check for third-party tracking channel, it should be checked by calling `IsThirdPartyWindowOrChannel`.
Differential Revision: https://phabricator.services.mozilla.com/D28788
--HG--
extra : moz-landing-system : lando
2019-04-26 09:29:07 +00:00
Byron Campen [:bwc]
fd880e95f8
Bug 1545827: Use TabId instead of PBrowserOrId, use LoadInfoArgs to avoid using the system principal on the socket process, and use PSocketProcess for the WebrtcProxyChannel when on the socket process. r=kershaw,mjf
...
Differential Revision: https://phabricator.services.mozilla.com/D28239
--HG--
extra : moz-landing-system : lando
2019-04-26 14:46:26 +00:00
Ehsan Akhgari
b3c08a7ca4
Bug 1547114 - Part 4: Mark nsICookiePermission as non-scriptable; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D28917
--HG--
extra : moz-landing-system : lando
2019-04-26 12:02:21 +00:00
Ehsan Akhgari
9421931e25
Bug 1547114 - Part 1: Remove nsICookiePermission::CanAccessURI(); r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D28914
--HG--
extra : moz-landing-system : lando
2019-04-26 12:02:20 +00:00
Honza Bambas
5f945421d4
Bug 1493599 - Expose reason of security blocking on nsILoadInfo and add new http observer notification for failed asyncOpens, r=Honza,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D23150
--HG--
extra : moz-landing-system : lando
2019-04-26 10:59:41 +00:00
Sebastian Streich
8ac88db494
Bug 1444503 - Remove the IPC::Principal r=ckerschb,nika
...
***
Removed IPC References in PCContent
***
Removed IPC References on nsContentPermissionHelper
***
Remove IPC Principal from PBrowser
***
Remove IPCPrincipal from the PaymentRequest
***
Remove IPCPrincipal from the PPresentation
***
Remove IPC Principal from PNecko
Differential Revision: https://phabricator.services.mozilla.com/D28650
--HG--
extra : moz-landing-system : lando
2019-04-25 14:18:11 +00:00
Sebastian Streich
a2d3e618af
Bug 1546913 - Remove GetLoadInfo callsites r=ckerschb
...
Differential Revision: https://phabricator.services.mozilla.com/D27647
--HG--
extra : moz-landing-system : lando
2019-04-25 12:16:35 +00:00
Nico Grunbaum
8a57537454
Bug 1400563
- timer deadlock fix r=drno,dminor
...
timer deadlock fix
Differential Revision: https://phabricator.services.mozilla.com/D28087
--HG--
extra : moz-landing-system : lando
2019-04-23 05:32:57 +00:00
Michal Novotny
1efe8b8b26
Bug 1506534 - Collect telemetry to measure how much penalty we will experience with first-party cache isolation, r=mayhemer, data-r=chutten
...
Whenever a cache entry is accessed during a document load, eTLD+1 of the top level document is added to the entry's metadata. Number of accessing sites is also stored in cache index. So we know how many copies of each entry would we have if we did a first party isolation without data deduplication. The telemetry is sent every time we write 2GB to the cache and then the data is reset. Telemetry report ID is an identifier of the telemetry cycle and it's used to invalidate eTLD+1 hashes in all cache entries.
Differential Revision: https://phabricator.services.mozilla.com/D26425
--HG--
extra : moz-landing-system : lando
2019-04-25 12:21:17 +00:00
Brindusan Cristian
f92b05e5f0
Merge inbound to mozilla-central. a=merge
...
--HG--
rename : dom/ipc/TabParent.cpp => dom/ipc/BrowserParent.cpp
2019-04-25 00:54:01 +03:00
Honza Bambas
f26d4b5095
Bug 1536511 - Cache-control: stale-while-revalidate response header implementation, r=kershaw,asuth
...
Differential Revision: https://phabricator.services.mozilla.com/D28494
--HG--
extra : moz-landing-system : lando
2019-04-24 16:40:59 +00:00
Eden Chuang
9bffd42acf
Bug 1539208 - Propagate the result of mListener in InterceptedHttpChannel::OnStartRequest and ::OnStopRequest r=perry,ttung,kershaw
...
1. Propagate the mListener's result in InterceptedHttpChannel::OnStartRequest()
and ::OnStopRequest().
2. remove unnecessary assertion in FetchDriver::OnStartRequest().
Differential Revision: https://phabricator.services.mozilla.com/D28477
--HG--
extra : moz-landing-system : lando
2019-04-24 08:49:36 +00:00
Andrew McCreight
710a932577
Bug 1545843 - Mark some HTTP XPIDL classes as builtinclass. r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D28295
--HG--
extra : moz-landing-system : lando
2019-04-23 16:05:29 +00:00
Andrew McCreight
8140c28c5e
Bug 1545821 - nsI-ify NetDashboardCallback. r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D28284
--HG--
extra : moz-landing-system : lando
2019-04-23 15:33:57 +00:00
Kershaw Chang
45ba7eb235
Bug 1544799 - Make PSocketProcess manage PWebrtcProxyChannel r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D28038
--HG--
extra : moz-landing-system : lando
2019-04-23 13:10:56 +00:00
Kershaw Chang
5f5d6f4c69
Bug 1540289 - Don't init socket process bridge if the pref is disabled r=dragana,bwc
...
Differential Revision: https://phabricator.services.mozilla.com/D25571
--HG--
extra : moz-landing-system : lando
2019-04-23 13:06:05 +00:00
Oana Pop Rus
3c634d9c72
Merge autoland to mozilla-central. a=merge
2019-04-23 00:45:58 +03:00
Sylvestre Ledru
a1dce6440a
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D28329
--HG--
extra : moz-landing-system : lando
2019-04-22 16:35:03 +00:00
Narcis Beleuzu
b985ba7468
Backed out changeset 728aa342ad35 (bug 1536511) for causing crashes on Bug 1545023. a=backout
2019-04-22 14:57:20 +03:00
Razvan Maries
08948bd6e2
Bug 1545738 - Disabling test 675518.html r=jmaher
...
Differential Revision: https://phabricator.services.mozilla.com/D28290
--HG--
extra : moz-landing-system : lando
2019-04-21 12:55:04 +00:00
Andrew McCreight
f242e71c8a
Bug 1545822
- Clean up some whitespace in XPIDL files. r=froydnj
...
The attributes for an interface should be on the line right before the
interface.
Interface attributes should be separated by spaces.
Clean up some trailing whitespace in widget/.
Differential Revision: https://phabricator.services.mozilla.com/D28234
--HG--
extra : moz-landing-system : lando
2019-04-21 01:47:00 +00:00
Gurzau Raul
52b651e168
Merge inbound to mozilla-central. a=merge
2019-04-20 12:54:53 +03:00
Andrew McCreight
9c94962bf5
Bug 1545831 - Use ChromeUtils.generateQI in a few more places. r=kmag
...
Differential Revision: https://phabricator.services.mozilla.com/D28241
--HG--
extra : moz-landing-system : lando
2019-04-19 19:58:13 +00:00
Dragana Damjanovic
a27692b748
Bug 1543005 - Collect telemetry on traffic transferred through a captive portal. r=valentin
...
Adding telemetry for the amount of traffic transfer over the captive portal. Also moving some telemetry for trackers to the same place where our old telemetry is, so that they are all on the same place.
Differential Revision: https://phabricator.services.mozilla.com/D27375
--HG--
extra : moz-landing-system : lando
2019-04-19 09:26:48 +00:00
Razvan Maries
09aa6219f7
Bug 1543732 - disabled 785753-2 on all platforms r=jmaher
...
Differential Revision: https://phabricator.services.mozilla.com/D27705
--HG--
extra : moz-landing-system : lando
2019-04-18 03:42:33 +00:00
Ehsan Akhgari
5a1d95baaa
Bug 1545251 - Remove the code added in bug 1462432 since it's all dead code; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D27972
--HG--
extra : moz-landing-system : lando
2019-04-18 06:01:55 +00:00
Johann Hofmann
f296ce765f
Bug 1536454
- Part 2 - Add modificationTime attribute to nsIPermission.idl. r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D26943
--HG--
extra : moz-landing-system : lando
2019-04-18 13:43:10 +00:00
Rob Wu
1af4c55c01
Bug 1544834 - Replace non-test uses of deprecated Array generics r=evilpie,dao
...
- `Array.forEach` becomes for-of loop or `array.forEach`.
- `Array.slice(a)` or `Array.slice(a, 0)` becomes `Array.from(a)`.
- `Array.map` becomes `Array.from`
- `Array` copy + concatenation becomes Array literal + spread syntax.
- All other `Array.X(a, ...)` become `Array.prototype.X.call` or `Array.from(a).X(...)`
Differential Revision: https://phabricator.services.mozilla.com/D27802
--HG--
extra : moz-landing-system : lando
2019-04-17 19:03:17 +00:00
Ehsan Akhgari
ccfae51c32
Bug 1500533 - Ensure that TLS session resumption tickets are only consumed if the channel isn't isolated by anti-tracking checks; r=michal,baku
...
Differential Revision: https://phabricator.services.mozilla.com/D26996
--HG--
extra : moz-landing-system : lando
2019-04-18 01:00:22 +00:00
Edwin Gao
4b2a06ae0f
Bug 1544961 - disable tests that cause gtest harness to crash on windows10-aarch64 r=jmaher,gbrown
...
Changes:
- most tests are skipped using `moz.build` configuration file.
- `MultiWriterQueue` had to be skipped with `define` clauses in the test file due to build bustages when its `moz.build` file was used.
Differential Revision: https://phabricator.services.mozilla.com/D27944
--HG--
extra : moz-landing-system : lando
2019-04-17 23:12:19 +00:00
Csoregi Natalia
fc982ef00d
Backed out changeset d969c3ed6999 (bug 1543005) for assertion failures on netwerk/protocol/http/nsHttpHandler.cpp. CLOSED TREE
2019-04-17 22:07:07 +03:00
Dragana Damjanovic
591ecb1b1e
Bug 1543005 - Collect telemetry on traffic transferred through a captive portal. r=valentin
...
Adding telemetry for the amount of traffic transfer over the captive portal. Also moving some telemetry for trackers to the same place where our old telemetry is, so that they are all on the same place.
Differential Revision: https://phabricator.services.mozilla.com/D27375
--HG--
extra : moz-landing-system : lando
2019-04-13 19:30:35 +00:00
Eugen Sawin
2fd75d1a4e
Bug 1501108 - [1.3] Add GeckoView Session Context ID support. r=snorp,baku,mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D19182
--HG--
extra : moz-landing-system : lando
2019-04-16 20:24:29 +00:00
Ryan Hunt
d6509bb237
Bug 1534395 - Rename TabChild to BrowserChild. r=nika
...
This commit renames TabChild to BrowserChild.
Differential Revision: https://phabricator.services.mozilla.com/D28135
--HG--
rename : dom/base/InProcessTabChildMessageManager.cpp => dom/base/InProcessBrowserChildMessageManager.cpp
rename : dom/base/InProcessTabChildMessageManager.h => dom/base/InProcessBrowserChildMessageManager.h
rename : dom/ipc/TabChild.cpp => dom/ipc/BrowserChild.cpp
rename : dom/ipc/TabChild.h => dom/ipc/BrowserChild.h
extra : rebase_source : e7fcfb845a971a2760e73d517e24da18ce2551b5
extra : histedit_source : d1991334ccb107fe56e478865f22fd97b041a317
2019-04-09 17:39:01 -05:00
Ryan Hunt
e9e7d608be
Bug 1534395 - Rename nsITabChild to nsIBrowserChild. r=nika,mconley
...
Similarly to nsITabParent, TabChild is exposed to frontend code via nsITabChild. It's not clear what the future of this interface will be, but for now we can just rename it to nsIBrowserChild.
Differential Revision: https://phabricator.services.mozilla.com/D28134
--HG--
rename : dom/interfaces/base/nsITabChild.idl => dom/interfaces/base/nsIBrowserChild.idl
extra : rebase_source : a6c42a661e35b19e46c60f6f6a6f3dab64c0a1bc
extra : histedit_source : 1eb475bd840bf37a3f86294685c9b3c250684e79
2019-04-09 18:15:02 -05:00
Ryan Hunt
0eeced87be
Bug 1534395 - Rename TabParent to BrowserParent. r=nika
...
This commit renames TabParent to BrowserParent.
Differential Revision: https://phabricator.services.mozilla.com/D28133
--HG--
rename : dom/ipc/TabParent.cpp => dom/ipc/BrowserParent.cpp
rename : dom/ipc/TabParent.h => dom/ipc/BrowserParent.h
extra : rebase_source : d2706b9f42177d8de16068b7b1d088a44b8720a4
extra : histedit_source : a617ddac45c58050ef799116a67d2d983f2a8f6d%2C1d1dabd8761a32d548a6fbf1027be960698f6a5e
2019-04-09 16:38:15 -05:00
Ryan Hunt
3675f2449b
Bug 1534395 - Rename nsITabParent to nsIRemoteTab. r=nika,mconley
...
nsITabParent is exposed to frontend code and is generally used as a representation of a remote tab. We could just rename the interface to nsIBrowserParent and worry about it later, but I think it's better to rename the interface to nsIRemoteTab so that we can later work on splitting the interface away from the PBrowser protocol.
Note: Some frontend code refers to a TabParentId. This commit renames this to RemoteTabId. We need to figure out the purpose of TabId with fission.
Differential Revision: https://phabricator.services.mozilla.com/D28132
--HG--
rename : dom/interfaces/base/nsITabParent.idl => dom/interfaces/base/nsIRemoteTab.idl
extra : rebase_source : 9d8a1790a7bb10195ad063644d1a93d63b2afb72
2019-04-09 15:59:37 -05:00
Ciure Andrei
77a04f415d
Merge mozilla-central to mozilla-inbound. a=merge CLOSED TREE
2019-04-24 01:23:49 +03:00
Kris Maglione
c9ee4462eb
Bug 1546500: Avoid dispatching synchronous thread shutdown runnables. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D28555
--HG--
extra : rebase_source : 49c83199d51c208922bf55277a7d6052a36c199a
extra : amend_source : 6d2d246159d23723d24c0327e6adbf975545d7bd
2019-04-23 13:16:15 -07:00
ffxbld
0b4d03afbc
No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D28331
--HG--
extra : moz-landing-system : lando
2019-04-22 12:51:53 +00:00
Nika Layzell
007f2f7273
Bug 1542788 - Don't allow content to cancel process-changing channels, r=valentin
...
With the process switching approach taken by frame swaps, there is some
additional latency between nsDocShell teardown and when the channel is
connected into the new process. This leads to the nsDocShell canceling the
channel before the redirect is complete. This change should fix that.
Differential Revision: https://phabricator.services.mozilla.com/D26557
--HG--
extra : moz-landing-system : lando
2019-04-17 00:53:07 +00:00
Byron Campen [:bwc]
2c684f17ba
Bug 1531904 - Part 3: Fix some validation logic in createDataChannel. r=jib
...
Differential Revision: https://phabricator.services.mozilla.com/D26772
--HG--
extra : moz-landing-system : lando
2019-04-16 16:38:32 +00:00
Ehsan Akhgari
941a844392
Bug 1544131 - Part 1: Ensure that the referrer policy provided by JS/DOM will override the default referrer policy applied to third-party trackers; r=michal
...
Differential Revision: https://phabricator.services.mozilla.com/D27393
--HG--
extra : moz-landing-system : lando
2019-04-15 13:05:10 +00:00
Honza Bambas
f3e4a0c5fa
Bug 1536511 - Cache-control: stale-while-revalidate response header implementation,
...
Differential Revision: https://phabricator.services.mozilla.com/D27661
--HG--
extra : moz-landing-system : lando
2019-04-16 11:44:50 +00:00
Brian Grinstead
ede8c44ef2
Bug 1544322 - Part 2.1 - Remove the [type] attribute for one-liner <script> tags loading files in /tests/SimpleTest/ in everything except for dom/ r=bzbarsky
...
This excludes dom/, otherwise the file size is too large for phabricator to handle.
This is an autogenerated commit to handle scripts loading mochitest harness files, in
the simple case where the script src is on the same line as the tag.
This was generated with https://bug1544322.bmoattachments.org/attachment.cgi?id=9058170
using the `--part 2` argument.
Differential Revision: https://phabricator.services.mozilla.com/D27456
--HG--
extra : moz-landing-system : lando
2019-04-16 03:50:44 +00:00
Cosmin Sabou
18065e80c7
Backed out 4 changesets (bug 1501108) for browser chrome failures on browser_principalSerialization_version1.js. CLOSED TREE
...
Backed out changeset da28ce3af312 (bug 1501108)
Backed out changeset 1936dde5f34c (bug 1501108)
Backed out changeset de36c9fb8c65 (bug 1501108)
Backed out changeset cad2b29b79d2 (bug 1501108)
2019-04-16 01:10:26 +03:00
Eugen Sawin
2437dae249
Bug 1501108 - [1.2] Add GeckoView Session Context ID support. r=snorp,baku,mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D19182
--HG--
extra : moz-landing-system : lando
2019-04-15 20:58:30 +00:00
ffxbld
d640f895d3
No Bug, mozilla-central repo-update HSTS HPKP blocklist remote-settings tld-suffixes - a=repo-update r=RyanVM
...
Differential Revision: https://phabricator.services.mozilla.com/D27496
--HG--
extra : moz-landing-system : lando
2019-04-15 12:31:27 +00:00
Andrea Marchesini
6f470dae23
Bug 1515913 - Implement nsICookieService.removeCookiesFromRootDomain, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D27289
--HG--
extra : moz-landing-system : lando
2019-04-12 20:27:21 +00:00
Coroiu Cristina
d4f3370b50
Merge mozilla-central to autoland a=merge
2019-04-13 15:19:54 +03:00
Coroiu Cristina
8442bbf9c9
Backed out 3 changesets (bug 1525640) for causing leaks a=backout
...
Backed out changeset efdd32c00dc6 (bug 1525640)
Backed out changeset e71641f0465b (bug 1525640)
Backed out changeset e3539a40afdf (bug 1525640)
2019-04-13 14:57:11 +03:00
Michal Novotny
8b637bcb3f
Bug 1542835 - Expose SSLChannelInfo.resumed on nsISSLSocketControl, r=keeler,mayhemer
...
This patch adds resumed attribute to nsISSLSocketControl, which is needed in tests that check SSL resumption (e.g. bug 1500533).
Differential Revision: https://phabricator.services.mozilla.com/D26597
--HG--
extra : moz-landing-system : lando
2019-04-13 09:58:00 +00:00
Masayuki Nakano
fdbbccd877
Bug 1542664 - Make TabChild use mozilla::PresShell directly rather than via nsIPresShell r=nika
...
This patch makes `TabChild` use `mozilla::PresShell` directly.
Then, renames `TabChild::GetPresShell()` and `TabChild::GetDocument()` to
`TabChild::GetTopLevelPresShell()` and `TabChild::GetTopLevelDocument()` to
make what they do clearer (e.g., see the change in `PresShell.cpp`).
Differential Revision: https://phabricator.services.mozilla.com/D26455
--HG--
extra : moz-landing-system : lando
2019-04-13 01:53:10 +00:00
Junior Hsu
598c828aa6
Bug 1542384 - reduce timeout of shutdown resolver threads and make it prefable r=valentin
...
Differential Revision: https://phabricator.services.mozilla.com/D27013
--HG--
extra : moz-landing-system : lando
2019-04-12 17:04:05 +00:00
Ehsan Akhgari
abbca7fd7d
Bug 1544004 - Rename nsIHttpChannelInternal::cancelByChannelClassifier() to cancelByURLClassifier(); r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D27314
--HG--
extra : moz-landing-system : lando
2019-04-12 15:44:02 +00:00
Valentin Gosu
7a2c41a7a5
Bug 1525640 - Add nsIHttpChannelInternal.isResolvedByTRR r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D26884
--HG--
extra : moz-landing-system : lando
2019-04-12 13:57:45 +00:00
Valentin Gosu
e6696588e7
Bug 1525640 - Rename nsIHttpChannelInternal.trr to .isHttpServiceChannel to avoid confusion r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D26883
--HG--
extra : moz-landing-system : lando
2019-04-12 13:54:29 +00:00
Valentin Gosu
f172b45edc
Bug 1525640 - Pass TRR status from sockettransport to channel r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D26882
--HG--
extra : moz-landing-system : lando
2019-04-12 13:54:08 +00:00
Sylvestre Ledru
7f60810d86
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D27245
--HG--
extra : moz-landing-system : lando
2019-04-12 13:14:25 +00:00
Andrea Marchesini
a2db742a8c
Bug 1536411 - StoragePrincipal - part 6 - Cookies, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D24864
--HG--
extra : moz-landing-system : lando
2019-04-12 05:30:43 +00:00
Andrea Marchesini
a438b12ebd
Bug 1536411 - StoragePrincipal - part 1 - Implementation, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D24025
--HG--
extra : moz-landing-system : lando
2019-04-12 05:31:32 +00:00
Cosmin Sabou
90efd04259
Merge mozilla-inbound to mozilla-central. a=merge
2019-04-12 06:45:27 +03:00
Oana Pop Rus
76651301a1
Backed out changeset acb04833e713 (bug 1500533) for assertion failure in nsHttpChannel.cpp on a CLOSED TREE
2019-04-11 23:15:08 +03:00
Cosmin Sabou
af07021e88
Backed out 10 changesets (bug 1536411) for causing leaks in CondVar, MessagePortService, MessagePortServiceData.
...
Backed out changeset eda5854cd7e8 (bug 1536411)
Backed out changeset f94dfbf2476c (bug 1536411)
Backed out changeset c68dc3152faa (bug 1536411)
Backed out changeset f67d157e8baf (bug 1536411)
Backed out changeset 1107a9767f38 (bug 1536411)
Backed out changeset ccbe1af00fb9 (bug 1536411)
Backed out changeset 552c4b588524 (bug 1536411)
Backed out changeset 2eb20578159b (bug 1536411)
Backed out changeset 45708d22bb6d (bug 1536411)
Backed out changeset 87601ef1d4d4 (bug 1536411)
2019-04-11 22:48:49 +03:00
Ehsan Akhgari
bf2a5e6e54
Bug 1500533 - Ensure that TLS session resumption tickets are only consumed if the channel isn't isolated by anti-tracking checks; r=michal,baku
...
Differential Revision: https://phabricator.services.mozilla.com/D26996
--HG--
extra : moz-landing-system : lando
2019-04-11 18:36:16 +00:00
Jeff Walden
0b6c60dfa7
Bug 1543498 - Make PAC scripts be compiled directly as UTF-8 without inflating. r=arai
...
Differential Revision: https://phabricator.services.mozilla.com/D27174
--HG--
extra : rebase_source : 766ee54ec9514ef7de4e612a4913f25737bc0d64
2019-04-10 10:54:02 -07:00
Jeff Walden
08efb53319
Bug 1543455 - Make JS::CompileUtf8{,ForNonSyntacticScope} omit Utf8 from their names and take SourceText<Utf8Unit>&. r=arai
...
Differential Revision: https://phabricator.services.mozilla.com/D26951
--HG--
extra : rebase_source : dc8b4fd9f60eb56e4e438b143aff45f2ac691c82
2019-04-09 17:03:32 -07:00
Mike Hommey
fb51b98474
Bug 1543009 - Change Windows DHCP client test component registration. r=kmag
...
- Use RegisterFactory instead of RegisterModule,
- Use a different CID than the real module.
Differential Revision: https://phabricator.services.mozilla.com/D27025
2019-04-11 16:23:51 +09:00
Andrea Marchesini
ddda66db66
Bug 1543314 - Cookies should be sent to the content process also for first-party channels when cookieBehavior is set to 2, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D26859
--HG--
extra : moz-landing-system : lando
2019-04-10 15:25:13 +00:00
Ehsan Akhgari
cd484bfc65
Bug 1539628
- Add skipURLs prefs for all content blocking features; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D26604
--HG--
extra : moz-landing-system : lando
2019-04-10 15:11:19 +00:00
Andrea Marchesini
cb6c3424f0
Bug 1543079 - Use Window and Channel IDs instead of pointers in ContentBlockingAllowListKey, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D26706
--HG--
extra : moz-landing-system : lando
2019-04-09 22:11:10 +00:00
Valentin Gosu
dafa35cef5
Bug 1530303 - Remove xpcshell-test for crossOriginOpenerPolicy since it can't work with browsingContexts r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D24898
--HG--
extra : moz-landing-system : lando
2019-04-09 20:11:03 +00:00
Valentin Gosu
1a2cdd14be
Bug 1530303 - Remove nsIHttpChannelInternal.setTopWindowPrincipal r=nika
...
Since it wasn't reliable, we remove the topWindowPrincipal in favor of WindowGlobalParent->DocumentPrincipal()
Differential Revision: https://phabricator.services.mozilla.com/D24897
--HG--
extra : moz-landing-system : lando
2019-04-09 20:10:51 +00:00
Valentin Gosu
9f66c3ee26
Bug 1530303 - Use CanonicalBrowsingContext->CurrentWindowGlobal->DocumentPrincipal to get the topLevelWindowPrincipal r=nika
...
The principal we got from the child process was always a null principal, which was wrong.
This approach seems to give you the actual principal of the current document.
Differential Revision: https://phabricator.services.mozilla.com/D24895
--HG--
extra : moz-landing-system : lando
2019-04-09 20:10:33 +00:00
Valentin Gosu
06334e695a
Bug 1530303 - Put CrossOriginOpenerPolicy in BrowsingContext r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D23935
--HG--
extra : moz-landing-system : lando
2019-04-09 20:10:13 +00:00
Michael Froman
ac99c1dda6
Bug 1539029 - pt 3 - de-duplicate building cmdline for shared prefs class. r=kmag
...
Cmd-line params for the SharedPreferenceSerializer was
duplicated in ContentParent and
SocketProcessHost. Since we'll have a 3rd process (RDD)
using this same code, let's move the repsonsiblity for knowing how to add
these cmdline params into SharedPreferenceSerializer.
Depends on D26567
Differential Revision: https://phabricator.services.mozilla.com/D26568
--HG--
extra : moz-landing-system : lando
2019-04-09 21:07:47 +00:00
Jeff Walden
c904278324
Bug 1542910 - Make all script compilation APIs directly return a JSScript*, rather than returning a success code and returning the JSScript* via outparam that exactly duplicates the success code value's meaning. r=arai
...
Differential Revision: https://phabricator.services.mozilla.com/D26616
--HG--
extra : moz-landing-system : lando
2019-04-09 17:58:52 +00:00
Brindusan Cristian
149c6ee879
Backed out changeset 53e379a5738f (bug 1542910) as requested by waldo on irc. CLOSED TREE
...
--HG--
extra : histedit_source : 8714b8dac07c146822952ede6a8d85b3bf4caf50
2019-04-09 20:43:52 +03:00
Jeff Walden
9f030a47c2
Bug 1542910 - Make all script compilation APIs directly return a JSScript*, rather than returning a success code and returning the JSScript* via outparam that exactly duplicates the success code value's meaning. r=arai
...
Differential Revision: https://phabricator.services.mozilla.com/D26616
--HG--
extra : moz-landing-system : lando
2019-04-09 17:24:31 +00:00
Noemi Erli
4a518ba201
Backed out changeset d470f958ea61 (bug 1542910) for bustages in testEmptyWindowIsOmitted.cpp
2019-04-09 19:24:46 +03:00
Jeff Walden
1a5a3f4e6e
Bug 1542910 - Make all script compilation APIs directly return a JSScript*, rather than returning a success code and returning the JSScript* via outparam that exactly duplicates the success code value's meaning. r=arai
...
Differential Revision: https://phabricator.services.mozilla.com/D26616
--HG--
extra : moz-landing-system : lando
2019-04-09 03:50:03 +00:00
Mike Hommey
071a2fe984
Bug 1541792 - Replace linker magic with manual component registration. r=froydnj
...
Before bug 938437, we had a rather large and error-prone
nsStaticXULComponents.cpp used to register all modules. That was
replaced with clever use of the linker, which allowed to avoid the mess
that maintaining that file was.
Fast forward to now, where after bug 1524687 and other work that
preceded it, we have a much smaller number of remaining static xpcom
components, registered via this linker hack, and don't expect to add
any new ones. The list should eventually go down to zero.
Within that context, it seems to be the right time to get rid of the
magic, and with it the problems it causes on its own.
Some of those components could probably be trivially be converted to
static registration via .conf files, but I didn't want to deal with the
possible need to increase the number of dummy modules in XPCOMInit.cpp.
They can still be converted as a followup.
Differential Revision: https://phabricator.services.mozilla.com/D26076
--HG--
extra : moz-landing-system : lando
2019-04-05 02:30:56 +00:00
Geoff Brown
8d88b9a596
Bug 1318091 - Disable failing android gtests; r=bc
...
Disable gtests observed to fail on Android. Some of these are simple build
failures and failures due to file permissions or paths, while other failures
are more obscure.
Once Android gtests are running on mozilla-central, I will file follow-up
bugs inviting teams to investigate the failures and re-enable Android gtests
that are important to them.
Differential Revision: https://phabricator.services.mozilla.com/D26606
--HG--
extra : moz-landing-system : lando
2019-04-08 20:58:21 +00:00
Dorel Luca
7783e898b4
Backed out changeset 471b2063c817 (bug 1540656) for XPCShell failures in dom/push/test/xpcshell/test_register_success_http2.js
2019-04-08 15:49:10 +03:00
Valentin Gosu
de5f594f79
Bug 1540656 - Use dns-packet node module in test_trr.js r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D25671
--HG--
extra : moz-landing-system : lando
2019-04-08 10:42:34 +00:00
Jeremy Lempereur
39b20b1675
Bug 1517797 - Rewrite net_IsValidIPv6Addr in Rust r=valentin,froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D15737
--HG--
extra : moz-landing-system : lando
2019-04-08 06:33:04 +00:00
Liang-Heng Chen
3ad02f2b09
Bug 1541238 - add pref to delay 3rd-party tracker; r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D26266
--HG--
extra : moz-landing-system : lando
2019-04-05 16:30:08 +00:00
Mike Hommey
c8b0debcc0
Bug 1541755 - Remove NSMODULE_DEFN in TestPACMan.cpp. r=mayhemer
...
The module is manually registered through the component manager in
the gtest setup anyways.
Differential Revision: https://phabricator.services.mozilla.com/D26063
--HG--
extra : moz-landing-system : lando
2019-04-05 11:29:05 +00:00
Jeff Walden
5327fe7f3e
Bug 1542120 - Add js/public/Warnings.h for warning-related JSAPI. r=arai
...
Differential Revision: https://phabricator.services.mozilla.com/D26273
--HG--
rename : js/src/jsapi.h => js/public/Warnings.h
extra : moz-landing-system : lando
2019-04-05 22:52:04 +00:00
Sylvestre Ledru
03fc65347c
Bug 1542146 - Apply the change with the option StatementMacros from clang-format-8 r=andi
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D26280
--HG--
extra : moz-landing-system : lando
2019-04-05 21:42:17 +00:00
Sylvestre Ledru
03c8e8c2dd
Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
...
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D26098
--HG--
extra : moz-landing-system : lando
2019-04-05 21:41:42 +00:00
Sylvestre Ledru
b76e026986
Bug 1542237 - nsHTTP.cpp: Remove an unused allocation r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D26308
--HG--
extra : moz-landing-system : lando
2019-04-05 19:25:28 +00:00
Andrea Marchesini
0830861f7e
Bug 1536411 - StoragePrincipal - part 6 - Cookies, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D24864
--HG--
extra : moz-landing-system : lando
2019-04-11 16:28:51 +00:00
Andrea Marchesini
5cfeeda19e
Bug 1536411 - StoragePrincipal - part 1 - Implementation, r=Ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D24025
--HG--
extra : moz-landing-system : lando
2019-04-11 16:27:12 +00:00
Andreea Pavel
cc52ff4ec5
Bug 1536772 - disabled 785753-1.html on all platforms r=jmaher
...
Differential Revision: https://phabricator.services.mozilla.com/D27052
--HG--
extra : moz-landing-system : lando
2019-04-11 12:51:25 +00:00
Csoregi Natalia
ba58e936bd
Backed out changeset 4ad80127f89f (bug 1519636) for bustage on MarkupMap.h and nsAccessibilityService.cpp. CLOSED TREE
2019-04-05 09:48:19 +03:00
Sylvestre Ledru
d1c1878603
Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan
...
clang-format-8 upstream had some improvements wrt macros
See: https://reviews.llvm.org/D33440
This is why the diff is bigger than usual
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D26098
--HG--
extra : moz-landing-system : lando
2019-04-04 21:36:16 +00:00