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

3428 Коммитов

Автор SHA1 Сообщение Дата
Michal Novotny 2a483b2bc4 Bug 1622409 - Put FTP code behind a pref r=marionette-reviewers,valentin,whimboo,mixedpuppy
Disables FTP protocol handler on nightly. FTP scheme is handled by external protocol handler if it isn't explicitly disabled with preference network.protocol-handler.external.ftp = false.

Differential Revision: https://phabricator.services.mozilla.com/D68974

--HG--
extra : moz-landing-system : lando
2020-04-07 19:49:26 +00:00
Andrew McCreight ce9f9fb83f Bug 1627994 - Fix 'expection' typos. r=bholley
Differential Revision: https://phabricator.services.mozilla.com/D70035

--HG--
extra : moz-landing-system : lando
2020-04-07 17:00:54 +00:00
MahakBansal ee093cd087 Bug 1582666 - Enable more ESLint rules for netwerk/. r=Standard8,valentin
Differential Revision: https://phabricator.services.mozilla.com/D69257

--HG--
extra : moz-landing-system : lando
2020-04-07 16:00:03 +00:00
Valentin Gosu 6a69a94e9a Bug 1625213 - Add simple e10s ESNI test r=dragana
It seems there was no unit test exercising this code in e10s.
This copies the simple test from test_esni_dns_fetch.js to make sure
we have a little code coverage for the IPC code too.

Differential Revision: https://phabricator.services.mozilla.com/D69327

--HG--
extra : moz-landing-system : lando
2020-04-07 11:56:29 +00:00
Valentin Gosu f29e4186dd Bug 1625213 - Make txt records be resolved with onLookupComplete r=dragana
This patch makes nsIDNSByTypeRecord extend nsIDNSRecord, but implementations
will safely forward the nsIDNSRecord methods to `nullptr`, meaning they will
throw an error when called.

Consumers should try to QI the nsIDNSRecord to nsIDNSByTypeRecord (or any
future types) and use that.

Differential Revision: https://phabricator.services.mozilla.com/D69326

--HG--
extra : moz-landing-system : lando
2020-04-07 12:39:45 +00:00
sonakshi c2aaee8a41 Bug 1584797 - Remove unused aProxyService parameter from applyFilter method r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D69679

--HG--
extra : moz-landing-system : lando
2020-04-06 20:21:03 +00:00
Andrea Marchesini 9bea58365a Bug 1624146 - Cookie code refactoring - part 10 - CookieService under mozilla::net, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D67759

--HG--
rename : netwerk/cookie/nsCookieService.cpp => netwerk/cookie/CookieService.cpp
rename : netwerk/cookie/nsCookieService.h => netwerk/cookie/CookieService.h
extra : moz-landing-system : lando
2020-04-06 12:26:14 +00:00
Andrea Marchesini edb320168f Bug 1624146 - Cookie code refactoring - part 1 - Cookie, r=smaug
Differential Revision: https://phabricator.services.mozilla.com/D67749

--HG--
rename : netwerk/cookie/nsCookie.cpp => netwerk/cookie/Cookie.cpp
rename : netwerk/cookie/nsCookie.h => netwerk/cookie/Cookie.h
extra : moz-landing-system : lando
2020-04-06 12:22:01 +00:00
Andrea Marchesini 24cba91c2a Bug 1625568 - Add compatibility heuristics to third-party cookie blocking - part 4 - tests, r=dimi,timhuang
Differential Revision: https://phabricator.services.mozilla.com/D69249

--HG--
extra : moz-landing-system : lando
2020-04-02 14:59:09 +00:00
Dragana Damjanovic 722d96a748 Bug 1626799 - Update Neqo to 0.2.3 r=agrover
Differential Revision: https://phabricator.services.mozilla.com/D69290

--HG--
rename : third_party/rust/neqo-common/src/once.rs => third_party/rust/neqo-crypto/src/once.rs
extra : moz-landing-system : lando
2020-04-01 23:48:22 +00:00
sonakshi 18f7d63c13 Bug 1544868 - Remove network predictor code and network.predictor.cleaned-up preference r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D68341

--HG--
extra : moz-landing-system : lando
2020-03-31 13:57:09 +00:00
sonakshi b204bf50aa Bug 1551306 - Remove context parameter from nsIProgressEventSink.onProgress() and nsIProgressEventSink.onStatus() r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D68235

--HG--
extra : moz-landing-system : lando
2020-03-29 19:18:56 +00:00
Michal Novotny e3d86ceafe Bug 1587353 - Add http3 tests r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D48670

--HG--
extra : moz-landing-system : lando
2020-03-25 13:36:00 +00:00
Michal Novotny e4de0c38d1 Bug 1587353 - Add an http3 test server r=agrover
Differential Revision: https://phabricator.services.mozilla.com/D48666

--HG--
extra : moz-landing-system : lando
2020-03-28 20:06:41 +00:00
Cosmin Sabou 79929c6462 Backed out changeset ad4847d17298 (bug 1551306) for causing build bustages. CLOSED TREE 2020-03-27 20:24:17 +02:00
sonakshi 145046fde2 Bug 1551306 - Remove context parameter from nsIProgressEventSink.onProgress() and nsIProgressEventSink.onStatus() r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D68235

--HG--
extra : moz-landing-system : lando
2020-03-27 17:57:10 +00:00
Valentin Gosu 2efad0e0c6 Bug 1623807 - FQDN DoH queries are encoded incorrectly r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D67944

--HG--
extra : moz-landing-system : lando
2020-03-27 14:22:53 +00:00
Mihai Alexandru Michis c1256a18a6 Backed out changeset d91e4acdd63c (bug 1551306) for causing bustages in request::InitBitsRequest
CLOSED TREE
2020-03-27 16:12:47 +02:00
sonakshi b5f7fb3be7 Bug 1551306 - Remove context parameter from nsIProgressEventSink.onProgress() and nsIProgressEventSink.onStatus() r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D68235

--HG--
extra : moz-landing-system : lando
2020-03-27 14:05:02 +00:00
Andrea Marchesini 11a52fafb6 Bug 1623313 - gtest for pref network.cookie.sameSite.laxByDefault.disabledHosts, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D67306

--HG--
extra : moz-landing-system : lando
2020-03-24 16:09:05 +00:00
Bogdan Tara a3db8af185 Backed out 3 changesets (bug 1602832) for assertion failing on IOInterposer.cpp CLOSED TREE
Backed out changeset 9123faab0d42 (bug 1602832)
Backed out changeset 4c3764b3d7bc (bug 1602832)
Backed out changeset 9c955a99c95d (bug 1602832)
2020-03-20 14:03:28 +02:00
Kershaw Chang 2086e3d17b Bug 1602832 - P3: Skip failed tests r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D67448

--HG--
extra : moz-landing-system : lando
2020-03-19 15:01:44 +00:00
Andrea Marchesini 904121ca5b Bug 1585306 - private browsing and beacon requests - tests, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D66746

--HG--
extra : moz-landing-system : lando
2020-03-19 16:24:21 +00:00
Mihai Alexandru Michis 93ec4f0381 Backed out changeset f01596089356 (bug 1220810) for causing crashes in test_performance_attributes_exist_in_object.html
CLOSED TREE
2020-03-19 17:12:32 +02:00
Andrea Marchesini e4db0e4496 Bug 1220810 - Hardcode localhost to loopback, r=ckerschb,dragana
Differential Revision: https://phabricator.services.mozilla.com/D64586

--HG--
extra : moz-landing-system : lando
2020-03-19 13:06:48 +00:00
Kershaw Chang 0745a1676c Bug 1619584 - P2: Implement redirection r=valentin,dragana
Depends on D67150

Differential Revision: https://phabricator.services.mozilla.com/D66773

--HG--
extra : moz-landing-system : lando
2020-03-18 15:13:09 +00:00
Ciure Andrei 078138600a Backed out 3 changesets (bug 1619584) for causing build bustages CLOSED TREE
Backed out changeset 264d787ca2e7 (bug 1619584)
Backed out changeset d9cc82da0150 (bug 1619584)
Backed out changeset f9566be72ee5 (bug 1619584)
2020-03-17 22:55:52 +02:00
Kershaw Chang 5175b3c1e2 Bug 1619584 - P2: Implement redirection r=valentin,dragana
Differential Revision: https://phabricator.services.mozilla.com/D66773

--HG--
extra : moz-landing-system : lando
2020-03-17 16:41:25 +00:00
Brindusan Cristian 2e859a7b70 Backed out 3 changesets (bug 1619584) for build bustages at UniquePtr.h. CLOSED TREE
Backed out changeset 0f77b2c11966 (bug 1619584)
Backed out changeset 330cffde7320 (bug 1619584)
Backed out changeset 563470b21a8f (bug 1619584)
2020-03-17 18:36:09 +02:00
Kershaw Chang 1a69c8800a Bug 1619584 - P2: Implement redirection r=valentin,dragana
Differential Revision: https://phabricator.services.mozilla.com/D66773

--HG--
extra : moz-landing-system : lando
2020-03-17 15:51:01 +00:00
Valentin Gosu 51343665fb Bug 1621877 - Add more unit tests for setting an empty host on URLTYPE_AUTHORITY URLs r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D66541

--HG--
extra : moz-landing-system : lando
2020-03-13 13:34:16 +00:00
Ed Lee acb960676c Bug 1620556 - Automatic code fixes for Prettier 1.19.1 upgrade. r=Standard8,remote-protocol-reviewers,marionette-reviewers,webcompat-reviewers,perftest-reviewers,sparky,whimboo,denschub
Differential Revision: https://phabricator.services.mozilla.com/D66128

--HG--
extra : moz-landing-system : lando
2020-03-13 23:38:52 +00:00
Valentin Gosu a28e392c76 Bug 1618042 - Skip confirmation in TRR mode3 r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D66014

--HG--
extra : moz-landing-system : lando
2020-03-12 11:24:27 +00:00
Valentin Gosu fd2cf8c108 Bug 1611651 - Add test for stale-while-revalidate loop bug
Differential Revision: https://phabricator.services.mozilla.com/D64397

--HG--
rename : netwerk/test/unit/test_stale-while-revalidate_positive.js => netwerk/test/unit/test_stale-while-revalidate_loop.js
extra : moz-landing-system : lando
2020-03-07 16:59:16 +00:00
Bogdan Tara 2cbd312d97 Backed out changeset ed75364b23c3 (bug 1618042) for xpc shell failures complaining about test_trr.js CLOSED TREE 2020-03-10 17:40:32 +02:00
Valentin Gosu 9542f19af8 Bug 1618042 - Skip confirmation in TRR mode3 r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D66014

--HG--
extra : moz-landing-system : lando
2020-03-10 11:39:06 +00:00
Kershaw Chang 73d4e22e87 Bug 1620824 - Test if TRRServiceChannel can handle gzip content encoding,r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D66199

--HG--
extra : moz-landing-system : lando
2020-03-10 14:28:27 +00:00
Mark Banner 2c4e35b0a6 Bug 1620218 - Automatic code fixes for Prettier 1.18.2 upgrade. r=mossop,webcompat-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D65509

--HG--
extra : moz-landing-system : lando
2020-03-08 21:45:16 +00:00
Michal Novotny d607330e6d Bug 1470571 - Sync with cache IO thread before checking alt-data flag in index, r=valentin
syncWithCacheIOThread() ensures that all pending events on IO thread are processed before we continue on the main thread, where we synchronously check the flag in the index

Differential Revision: https://phabricator.services.mozilla.com/D65757

--HG--
extra : moz-landing-system : lando
2020-03-06 18:36:43 +00:00
Mark Banner 15cfe23b88 Bug 1620542 - Automatically fix ESLint errors in .eslintrc.js files. r=mossop
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D65703

--HG--
extra : moz-landing-system : lando
2020-03-07 10:09:44 +00:00
Simon Giesecke 14dbfcaa29 Bug 1613985 - Use default for equivalent-to-default constructors/destructors in netwerk. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D65496

--HG--
extra : moz-landing-system : lando
2020-03-06 09:22:49 +00:00
Andrea Marchesini 9bc071f817 Bug 1619875 - Remove the remaining of the prompting code in the cookie-world, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D65289

--HG--
extra : moz-landing-system : lando
2020-03-04 21:25:33 +00:00
Tim Huang 5d0ba9975d Bug 1616570 - Part 3: Change the CookieJarSettings::CreateBlockingAll to be a singleton and rename it to GetBlockingAll(). r=Ehsan
We don't need to create the blocking-all cookieJarSettings every time we
request it since it is basically the same. Instead, we should make it as
a singleton.

The patch makes this change the rename the
CookieJarSettings::CreateBlockingAll() to GetBlockingAll() which
reflects the fact that it is a singleton.

Differential Revision: https://phabricator.services.mozilla.com/D64564

--HG--
extra : moz-landing-system : lando
2020-03-04 08:59:21 +00:00
Tim Huang 04d44bae12 Bug 1616570 - Part 1: Rename CookieSettings to CookieJarSettings. r=Ehsan
Given that we are going to add ContentBlockingAllowList in
CookieSettings, so CookieSettings will be responsible for more stuff than the
cookie behavior and cookie permission. We should use a proper name to
reflect the purpose of it. The name 'CookieSettings' is misleading that
this is only for cookie related stuff. So, we decide to rename
'CookieSettins' to 'CookieJarSettings' which serves better meaning here.

Differential Revision: https://phabricator.services.mozilla.com/D63935

--HG--
rename : netwerk/cookie/CookieSettings.cpp => netwerk/cookie/CookieJarSettings.cpp
rename : netwerk/cookie/nsICookieSettings.idl => netwerk/cookie/nsICookieJarSettings.idl
extra : moz-landing-system : lando
2020-03-04 08:59:08 +00:00
Andrea Marchesini f1666a5ee9 Bug 1618113 - Allow 'secure' cookies when set by localhost, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D64290

--HG--
extra : moz-landing-system : lando
2020-03-02 17:21:03 +00:00
Valentin Gosu af96f60f6d Bug 1618130 - Add DNS override service r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D64325

--HG--
extra : moz-landing-system : lando
2020-03-02 19:44:37 +00:00
Andrea Marchesini fa23513682 Bug 1604212 - Enable sameSite=lax by default, r=Ehsan,ahal
Differential Revision: https://phabricator.services.mozilla.com/D63081

--HG--
extra : moz-landing-system : lando
2020-02-27 04:38:03 +00:00
Cosmin Sabou 3cfeb5574f Backed out changeset 319675493927 (bug 1618130) for xpc failures on test_dns_override.js.
CLOSED TREE

--HG--
extra : amend_source : 6149eae2776781860a44e9173ec135ca693a9855
extra : histedit_source : f32f8874c91e7aad0b8c02d1b4ea6741c60e2d51
2020-02-27 01:43:29 +02:00
Valentin Gosu 7727d63396 Bug 1618130 - Add DNS override service r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D64325

--HG--
extra : moz-landing-system : lando
2020-02-26 20:18:44 +00:00
Coroiu Cristina a4bb946bff Backed out changeset 901b3eec4eb6 (bug 1618130) for xpcshell failures at netwerk/test/unit/test_dns_override.js on a CLOSED TREE 2020-02-26 18:25:03 +02:00
Valentin Gosu 0e83b1640f Bug 1618130 - Add DNS override service r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D64325

--HG--
extra : moz-landing-system : lando
2020-02-26 14:51:28 +00:00
Arthur Iakab 503467aedd Backed out changeset cbdc2840f86c (bug 1604212)for causing wpt failures on fetch.https.html 2020-02-26 00:03:55 +02:00
Andrea Marchesini b514a4a2fc Bug 1604212 - Enable sameSite=lax by default, r=Ehsan,ahal
Differential Revision: https://phabricator.services.mozilla.com/D63081

--HG--
extra : moz-landing-system : lando
2020-02-25 18:32:08 +00:00
Noemi Erli bc6b9e410b Backed out changeset d76f4c4a4fb6 (bug 1604212) for causing lint failure and bustages in WebExecutorTest.kt CLOSED TREE 2020-02-25 20:12:07 +02:00
Andrea Marchesini 782454dd06 Bug 1604212 - Enable sameSite=lax by default, r=Ehsan,ahal
Differential Revision: https://phabricator.services.mozilla.com/D63081

--HG--
extra : moz-landing-system : lando
2020-02-25 17:46:19 +00:00
Andreea Pavel 8e5752950e Backed out changeset ced61db946ff (bug 1604212) for failing geckoview at WebExecutorTest.testAnonymous on a CLOSED TREE 2020-02-25 18:50:39 +02:00
Andrea Marchesini 85403a9f37 Bug 1604212 - Enable sameSite=lax by default, r=Ehsan,ahal
Differential Revision: https://phabricator.services.mozilla.com/D63081

--HG--
extra : moz-landing-system : lando
2020-02-25 12:52:20 +00:00
David Major 0e91db76c5 Bug 1616938 - Fix some test issues in TestNetworkLinkIdHashingWindows r=mayhemer
TestNetworkLinkIdHashingWindows has two issues that, frighteningly, cancelled each other out under most conditions.

First is that the `sscanf` format string uses curly braces when the test data does not have braces.

Second is that the order of `nwGUIDS` does not match the sorting behavior of `nsNotifyAddrListener::HashSortedNetworkIds`.

What ended up happening was that the sscanf failed, and left the entire GUID uninitialized. Then we used that uninitialized data over and over in `nwGUIDS` so the order didn't matter. However, under AddressSanitizer, the failure became evident, because (I think, haven't verified) that ASan's instrumentation messes with the contents of the stack between the four GUID parses, so we no longer use the same uninitialized data four times. And for bonus fun, this wasn't noticed in CI because we don't (yet) run ASan on GTests for Windows.

Debugging this was... quite an adventure.

Differential Revision: https://phabricator.services.mozilla.com/D63532

--HG--
extra : moz-landing-system : lando
2020-02-25 13:41:02 +00:00
Neil Deakin 965e5ed66b Bug 1598305, replace frame script in test browser_child_resource.js with SpecialPowers.spawn, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D61907

--HG--
extra : moz-landing-system : lando
2020-02-19 22:28:35 +00:00
Neil Deakin 172b3c2acb Bug 1598305, replace frame script in test browser_post_file.js with browserLoaded, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D61906

--HG--
extra : moz-landing-system : lando
2020-02-20 18:36:13 +00:00
Andrea Marchesini 2d1c9c8f37 Bug 1577040 - Part 3: Replace nsIHttpChannel.isTrackingResource() with isThirdPartyTrackingResource() in the url-classifier tests, r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D63301

--HG--
extra : moz-landing-system : lando
2020-02-20 07:29:15 +00:00
Masatoshi Kimura e99395dbc2 Bug 1615900 - Stop using CreateFileA in netwerk/. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D63025

--HG--
extra : moz-landing-system : lando
2020-02-18 14:24:36 +00:00
Christian Holler 66d030b34d Bug 1612711 - Enable Mochitests and XPCShell tests for TSan. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D62628

--HG--
extra : moz-landing-system : lando
2020-02-12 19:03:36 +00:00
Honza Bambas b903fe63d9 Bug 1613362 - Enable some xpcshell tests on Android, wave 1, r=michal
Differential Revision: https://phabricator.services.mozilla.com/D61813

--HG--
extra : moz-landing-system : lando
2020-02-10 09:08:08 +00:00
Dragana Damjanovic 3db443c976 Bug 1613423 - Make sure AsyncResoleWithTrrServer does not depend on confirmationNS of the default server. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D61793

--HG--
extra : moz-landing-system : lando
2020-02-06 18:09:38 +00:00
Dragana Damjanovic 2f3c76f02c Bug 1612816 - Implement AsyncResoleWithTrrServer. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D61445

--HG--
extra : moz-landing-system : lando
2020-02-04 19:35:34 +00:00
Dragana Damjanovic 31caeebb2e Bug 1610253 - Expose network timing to trr DNS records. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D60544

--HG--
extra : moz-landing-system : lando
2020-02-04 11:09:11 +00:00
Honza Bambas 17b225e696 Bug 1611483 - Fix `BAD_IP` in netwerk/test/unit/test_trr.js on Android to be 127.9.9.9 to make the test work, r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D61067

--HG--
extra : moz-landing-system : lando
2020-02-03 08:27:12 +00:00
Valentin Gosu 3cf093181f Bug 1610836 - Don't fail TRR_FIRST requests if the TRR service is not ready r=mayhemer
When it's first starting up, when mConfirmationState != CONFIRM_OK
the TRR service is not ready to use.
For TRR_FIRST requests we need to fallback to DNS while the service starts up.

Differential Revision: https://phabricator.services.mozilla.com/D61218

--HG--
extra : moz-landing-system : lando
2020-02-01 04:43:14 +00:00
Arthur Iakab 57110a989d Backed out changeset e051d75e66f7 (bug 1610836) for causing connectivity mass test failures.
CLOSED TREE
2020-02-01 02:09:30 +02:00
Valentin Gosu 8ce544c4ce Bug 1610836 - Don't fail TRR_FIRST requests if the TRR service is not ready r=mayhemer
When it's first starting up, when mConfirmationState != CONFIRM_OK
the TRR service is not ready to use.
For TRR_FIRST requests we need to fallback to DNS while the service starts up.

Differential Revision: https://phabricator.services.mozilla.com/D61218

--HG--
extra : moz-landing-system : lando
2020-01-31 15:09:18 +00:00
Razvan Maries f783276fb9 Backed out changeset fe27999955a4 (bug 1610836) for multiple perma failures. CLOSED TREE
--HG--
extra : amend_source : 7f648c73ebfbd227abf477d975f033e507cb151b
2020-01-31 17:04:10 +02:00
Valentin Gosu 773c572e19 Bug 1610836 - Don't fail TRR_FIRST requests if the TRR service is not ready r=mayhemer
When it's first starting up, when mConfirmationState != CONFIRM_OK
the TRR service is not ready to use.
For TRR_FIRST requests we need to fallback to DNS while the service starts up.

Differential Revision: https://phabricator.services.mozilla.com/D61218

--HG--
extra : moz-landing-system : lando
2020-01-31 14:03:10 +00:00
Kershaw Chang 98739d4a39 Bug 1600254 - P7: Enable ContentSniffer for socket process r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D56206

--HG--
extra : moz-landing-system : lando
2020-01-30 13:56:57 +00:00
Ehsan Akhgari eccae96ef4 Bug 1609176 - Remove the obsolete baseDomain field of the moz_cookies table; r=baku
This change is backwards incompatible with the older cookies.sqlite
files, which means files saved from newer versions of Firefox will
no longer be possible to open in older versions of Firefox.

Differential Revision: https://phabricator.services.mozilla.com/D60464

--HG--
rename : netwerk/test/unit/test_schema_3_migration.js => netwerk/test/unit/test_schema_10_migration.js
extra : moz-landing-system : lando
2020-01-25 00:18:34 +00:00
Bogdan Tara c9467840cd Backed out changeset 4cf57a5a3143 (bug 1609176) for test_cookies_async_failure.js related failures CLOSED TREE 2020-01-22 22:19:20 +02:00
Ehsan Akhgari d0561affbf Bug 1609176 - Remove the obsolete baseDomain field of the moz_cookies table; r=baku
This change is backwards incompatible with the older cookies.sqlite
files, which means files saved from newer versions of Firefox will
no longer be possible to open in older versions of Firefox.

Differential Revision: https://phabricator.services.mozilla.com/D60464

--HG--
rename : netwerk/test/unit/test_schema_3_migration.js => netwerk/test/unit/test_schema_10_migration.js
extra : moz-landing-system : lando
2020-01-22 17:01:55 +00:00
Coroiu Cristina 9490b63809 Backed out changeset b634b7b787d5 (bug 1609491) for wpt failures at /cookies/http-state/general-tests.html on a CLOSED TREE 2020-01-20 20:57:54 +02:00
Geoff Brown 95d2b89c71 Bug 1608126 - Enable node for Android xpcshell tests and run node tests on Android; r=valentin
Fetch, configure, and run node for Android on the test host, just like Linux tests do.
Make the node/HTTP/2 environment variables available to the tests on the device, and
use adb port forwarding to connect sockets. Finally, enable tests skipped for node.

Differential Revision: https://phabricator.services.mozilla.com/D60204

--HG--
extra : moz-landing-system : lando
2020-01-20 18:06:37 +00:00
Ehsan Akhgari 5a2d4ea5a4 Bug 1609491 - Stop accepting cookie name-value pairs without an equal sign; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D60040

--HG--
extra : moz-landing-system : lando
2020-01-20 15:59:12 +00:00
Narcis Beleuzu 6802b12993 Backed out changeset 11a73f4bbb1a (bug 1608126) for bustages on runxpcshelltests.py. CLOSED TREE 2020-01-19 22:28:10 +02:00
Geoff Brown 46e2f41598 Bug 1608126 - Enable node for Android xpcshell tests and run node tests on Android; r=valentin
Fetch, configure, and run node for Android on the test host, just like Linux tests do.
Make the node/HTTP/2 environment variables available to the tests on the device, and
use adb port forwarding to connect sockets. Finally, enable tests skipped for node.

Differential Revision: https://phabricator.services.mozilla.com/D60204

--HG--
extra : moz-landing-system : lando
2020-01-17 08:36:17 +00:00
Ting-Yu Lin 4934b1be3e Bug 1308636 Part 1 - Convert -moz-column-span to column-span in a crashtest. r=dbaron
-moz-column-span missed the conversion in Bug 1308587 Part 2.
https://hg.mozilla.org/mozilla-central/rev/bb59a0c37162

Differential Revision: https://phabricator.services.mozilla.com/D59562

--HG--
extra : moz-landing-system : lando
2020-01-16 21:45:15 +00:00
Honza Bambas 13a16f0e2d Bug 1596799 - Have a preference to force remote TCP/UDP port remapping for easier local network testing, r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D59917

--HG--
extra : moz-landing-system : lando
2020-01-16 17:22:36 +00:00
Dorel Luca d29d22d6dc Backed out changeset 84f69fc66690 (bug 1596799) for Browser-chrome failures in /builds/worker/workspace/build/src/netwerk/base/nsSocketTransportService2.cpp. CLOSED TREE 2020-01-15 21:31:46 +02:00
Honza Bambas 0e35da72e0 Bug 1596799 - Have a preference to force remote TCP/UDP port remapping for easier local network testing, r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D59917

--HG--
extra : moz-landing-system : lando
2020-01-15 18:30:42 +00:00
Matt Woodrow dc86748b77 Bug 1599438 - Store sandbox flags on the LoadInfo when creating a channel for a docshell, so that we don't read a stale value from the BrowsingContext later. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D59263

--HG--
extra : moz-landing-system : lando
2020-01-15 08:02:57 +00:00
Narcis Beleuzu c59ca04e7b Backed out changeset b3538b7016aa (bug 1599438) for bustages on TestHttpFuzzing.cpp . CLOSED TREE 2020-01-15 06:03:55 +02:00
Matt Woodrow dd0d183cb4 Bug 1599438 - Store sandbox flags on the LoadInfo when creating a channel for a docshell, so that we don't read a stale value from the BrowsingContext later. r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D59263

--HG--
extra : moz-landing-system : lando
2020-01-15 02:05:57 +00:00
Magnus Melin d6e6c7dd94 Bug 1607866 - disable netwerk/test/unit/test_trr.js for Thunderbird until bug 1608066 is resolved. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D59479

--HG--
extra : moz-landing-system : lando
2020-01-10 12:40:34 +00:00
Sylvestre Ledru c521758c5e Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D58175

--HG--
extra : moz-landing-system : lando
2020-01-09 21:50:11 +00:00
Valentin Gosu 17e4e93de7 Bug 1607468 - Remove NETWORK_CROSS_ORIGIN_STYLESHEET_CONTENT_TYPE telemetry r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D59106

--HG--
extra : moz-landing-system : lando
2020-01-08 15:24:34 +00:00
Valentin Gosu cbc2554d2d Bug 1552176 - Captive portal domain should not be automatically excluded from TRR r=mayhemer
Previously we had no way from excluding just one channel from TRR mode3.
The solution was to add the captive portal domain to the exclusion list.
Now the captive portal channel is marked with nsIRequest.DISABLE_TRR_MODE so
the exclusion is not necessary anymore.

Differential Revision: https://phabricator.services.mozilla.com/D48820

--HG--
extra : moz-landing-system : lando
2020-01-07 19:32:32 +00:00
Valentin Gosu b52a50f21f Bug 1552176 - Unit test for TRRMode for individual channels r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D48362

--HG--
extra : moz-landing-system : lando
2020-01-07 19:28:16 +00:00
Henrik Skupin c521cc2ffa Bug 1597227 - Remove forced GC when closing a httpd.js connection. r=froydnj
The forced garbage collection has been added a decade ago for a test that
exhibited a memory increase over time in Firefox. Now that the test is no
longer present in the tree, and the garbage collector got a lot of improvements
over the last years, there is no compelling reason to keep the call to
"forceGC()" in the closing handler of httpd.js.

Differential Revision: https://phabricator.services.mozilla.com/D58550

--HG--
extra : moz-landing-system : lando
2020-01-07 20:16:16 +00:00
Tarek Ziadé ba342de04f Bug 1478488 - Check for the write-ahead sqlite file in the test r=valentin
On windows 10-64 asan, we get a failure on the network io test that
checks the sqlite DB is touched. According to the logs, this failure
happens because when the test occurs the write happens in the wal
file. Adapted the test to also check for that location.

Differential Revision: https://phabricator.services.mozilla.com/D58908

--HG--
extra : moz-landing-system : lando
2020-01-07 08:55:40 +00:00
Junior Hsu bc6a80e794 Bug 1601671 - make websocket support proxying on SOCKS/HTTPS, r=michal
This is something less hacky to the best of my knowledge. Both passing preferable proxy table and letting system setting handle `ws`/`wss` touch the code of all platforms, which is more fragile.

Differential Revision: https://phabricator.services.mozilla.com/D57176

--HG--
extra : moz-landing-system : lando
2019-12-24 19:51:09 +00:00
Christian Holler 878aa4ec9b Bug 1600130 - Sync HTTP fuzzing target with background thread. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D56694

--HG--
extra : moz-landing-system : lando
2019-12-19 18:48:37 +00:00
Kris Maglione 9853440599 Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D53741

--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:24 +00:00
Kris Maglione 94e3b0bd8d Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.

Differential Revision: https://phabricator.services.mozilla.com/D53740

--HG--
extra : moz-landing-system : lando
2019-12-13 20:36:16 +00:00
Geoff Lankow 84cd35c4f7 Bug 1567462 - Make the test_redirect_protocol_telemetry.js test collect telemetry data for all products during testing. r=valentin
This test fails on Thunderbird otherwise.

Differential Revision: https://phabricator.services.mozilla.com/D56813

--HG--
extra : moz-landing-system : lando
2019-12-12 09:04:16 +00:00
Valentin Gosu 005584251a Bug 1586411 - Reenable netwerk/test/mochitests/test_different_domain_in_hierarchy.html in fission r=mattwoodrow
Differential Revision: https://phabricator.services.mozilla.com/D56795

--HG--
extra : moz-landing-system : lando
2019-12-11 21:29:52 +00:00
Valentin Gosu 99cfec8178 Bug 1561860 - Add rust-url based nsIURI implementation r=JuniorHsu
This patch adds DefaultURI which wraps MozURL which in turn forwards calls
to rust-url.
For the moment the added network.url.useDefaultURI is set to false by default.
The plan is to make this the default implementation for unknown URI types.

Differential Revision: https://phabricator.services.mozilla.com/D54748

--HG--
extra : moz-landing-system : lando
2019-12-11 20:17:53 +00:00
Neil Deakin 75efe08ebc Bug 1595154, replace the frame script FormAutofillFrameScript.js with an actor and fix up setTimeout calls in places that were relying on Timer.jsm being loaded in that frame script, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D52721

--HG--
rename : browser/extensions/formautofill/content/FormAutofillFrameScript.js => browser/extensions/formautofill/FormAutofillChild.jsm
extra : moz-landing-system : lando
2019-12-11 13:37:51 +00:00
shindli 91924fedc7 Backed out 9 changesets (bug 1596918) for causing mochitest permafailures in toolkit/content/tests/chrome/test_findbar_events.xhtml CLOSED TREE
Backed out changeset 45a1c42118f2 (bug 1596918)
Backed out changeset db09910ffa56 (bug 1596918)
Backed out changeset 5c9d9f141c10 (bug 1596918)
Backed out changeset 6a135670d603 (bug 1596918)
Backed out changeset 3a0184e0df72 (bug 1596918)
Backed out changeset 2f0036486823 (bug 1596918)
Backed out changeset a770c6d08d52 (bug 1596918)
Backed out changeset ef062eb7a6ee (bug 1596918)
Backed out changeset a6ea596e98db (bug 1596918)
2019-12-11 03:09:26 +02:00
Junior Hsu 743f50e6f0 Bug 1567462 - Resurrect telemetry for http redirects, r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D53310

--HG--
extra : moz-landing-system : lando
2019-12-10 19:00:37 +00:00
Kris Maglione 3ca78ce8e3 Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D53741

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:21 +00:00
Kris Maglione 16a9b29848 Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.

Differential Revision: https://phabricator.services.mozilla.com/D53740

--HG--
extra : moz-landing-system : lando
2019-12-10 23:07:13 +00:00
Noemi Erli 82d41a33b2 Backed out 9 changesets (bug 1596918) for causing multiple browser-chrome failures
Backed out changeset 415007efd8c9 (bug 1596918)
Backed out changeset 011eb5ce927b (bug 1596918)
Backed out changeset e5fd3ee22ea1 (bug 1596918)
Backed out changeset 0bca4de31d40 (bug 1596918)
Backed out changeset 11ec4393f23d (bug 1596918)
Backed out changeset c5404a7c286d (bug 1596918)
Backed out changeset 7e9304405a46 (bug 1596918)
Backed out changeset fa0f0aeabf99 (bug 1596918)
Backed out changeset de196b077000 (bug 1596918)
2019-12-07 22:26:43 +02:00
Kris Maglione fa3556c3fc Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D53741

--HG--
extra : moz-landing-system : lando
2019-12-07 18:44:34 +00:00
Kris Maglione 910eab35d2 Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.

Differential Revision: https://phabricator.services.mozilla.com/D53740

--HG--
extra : moz-landing-system : lando
2019-12-07 19:11:58 +00:00
Daniel Varga 84a601a6d4 Backed out 17 changesets (bug 1596918) for multiple browser-chrome and dev-tools failures. On a CLOSED TREE
Backed out changeset ab87d2c1afae (bug 1596918)
Backed out changeset 775f3b06a687 (bug 1596918)
Backed out changeset 67cc63ef5d7f (bug 1596918)
Backed out changeset 7d290bcd2067 (bug 1596918)
Backed out changeset 048db9f4db7c (bug 1596918)
Backed out changeset 96a79d2ba614 (bug 1596918)
Backed out changeset be770d112dd8 (bug 1596918)
Backed out changeset 302c8ab8391c (bug 1596918)
Backed out changeset 44ef8f20732e (bug 1596918)
Backed out changeset 38c11ebfb8ff (bug 1596918)
Backed out changeset b586fc081374 (bug 1596918)
Backed out changeset 12283166716f (bug 1596918)
Backed out changeset 99b0421015d8 (bug 1596918)
Backed out changeset 97ec49dbbbf3 (bug 1596918)
Backed out changeset ec79478f58f1 (bug 1596918)
Backed out changeset c6d356833bb8 (bug 1596918)
Backed out changeset 5ef6026806c8 (bug 1596918)
2019-12-07 03:12:07 +02:00
Kris Maglione b5238224ba Bug 1596918: Part 3b - Run code formatters on files changed by previous patch. r=mccr8,remote-protocol-reviewers,ato
Differential Revision: https://phabricator.services.mozilla.com/D53741

--HG--
extra : moz-landing-system : lando
2019-12-06 22:14:22 +00:00
Kris Maglione 20da940e14 Bug 1596918: Part 3a - Scripted rewrite of most ContentTask.spawn calls to SpecialPowers.spawn calls. r=mccr8,remote-protocol-reviewers,ato
This is generally pretty straightforward, and rewrites nearly all calls. It
skips the ones that it can detect using frame script globals like
`sendAsyncMessage`, though.

Differential Revision: https://phabricator.services.mozilla.com/D53740

--HG--
extra : moz-landing-system : lando
2019-12-06 22:14:14 +00:00
Gabriele Svelto 5dc21d568c Bug 1600545 - Remove useless inclusions of header files generated from IDL files in modules/, netwerk/, parser/, security/, startupcache/, storage/, toolkit/, tools/, uriloader/, widget/, xpcom/ and xpfe/ r=Ehsan
The inclusions were removed with the following very crude script and the
resulting breakage was fixed up by hand. The manual fixups did either
revert the changes done by the script, replace a generic header with a more
specific one or replace a header with a forward declaration.

find . -name "*.idl" | grep -v web-platform | grep -v third_party | while read path; do
    interfaces=$(grep "^\(class\|interface\).*:.*" "$path" | cut -d' ' -f2)
    if [ -n "$interfaces" ]; then
        if [[ "$interfaces" == *$'\n'* ]]; then
          regexp="\("
          for i in $interfaces; do regexp="$regexp$i\|"; done
          regexp="${regexp%%\\\|}\)"
        else
          regexp="$interfaces"
        fi
        interface=$(basename "$path")
        rg -l "#include.*${interface%%.idl}.h" . | while read path2; do
            hits=$(grep -v "#include.*${interface%%.idl}.h" "$path2" | grep -c "$regexp" )
            if [ $hits -eq 0 ]; then
                echo "Removing ${interface} from ${path2}"
                grep -v "#include.*${interface%%.idl}.h" "$path2" > "$path2".tmp
                mv -f "$path2".tmp "$path2"
            fi
        done
    fi
done

Differential Revision: https://phabricator.services.mozilla.com/D55444

--HG--
extra : moz-landing-system : lando
2019-12-06 09:17:57 +00:00
Ciure Andrei 7229b5803b Backed out 5 changesets (bug 1595154) for causing talos performance tests failures CLOSED TREE
Backed out changeset 498f750ed88a (bug 1595154)
Backed out changeset 45481561c120 (bug 1595154)
Backed out changeset 8ca3c106fc8d (bug 1595154)
Backed out changeset 7ffa8f958d0a (bug 1595154)
Backed out changeset 444505b4936b (bug 1595154)

--HG--
rename : browser/extensions/formautofill/FormAutofillChild.jsm => browser/extensions/formautofill/content/FormAutofillFrameScript.js
2019-12-04 21:07:05 +02:00
Neil Deakin 0fe11bd612 Bug 1595154, replace the frame script FormAutofillFrameScript.js with an actor and fix up setTimeout calls in places that were relying on Timer.jsm being loaded in that frame script, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D52721

--HG--
rename : browser/extensions/formautofill/content/FormAutofillFrameScript.js => browser/extensions/formautofill/FormAutofillChild.jsm
extra : moz-landing-system : lando
2019-12-04 11:45:10 +00:00
Andreas Tolfsen 6805a19f9f bug 1600121: netwerk: error on empty path in nsIHttpServer.registerPathHandler; r=mayhemer
It should be illegal to add paths that cannot be handled/accessed
or later referenced.  Without a path, it is for example later
impossible to delete the handler.

To address this we return an NS_ERROR_INVALID_ARG when
nsIHttpServer.registerPathHandler is called with an empty string.

Differential Revision: https://phabricator.services.mozilla.com/D55160

--HG--
extra : moz-landing-system : lando
2019-11-29 18:41:44 +00:00
Ehsan Akhgari d94f27a8d6 Bug 1595934 - Make nsICookieManager cookie enumerators return Array<nsICookie> instead of nsISimpleEnumerator; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D52761

--HG--
extra : moz-landing-system : lando
2019-12-03 17:08:25 +00:00
Kershaw Chang 4c90c150c6 Bug 1598676 - P1: Send dns suffix list updated event (MacOS) r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D54782

--HG--
extra : moz-landing-system : lando
2019-11-27 11:14:44 +00:00
Narcis Beleuzu 7d30f98797 Backed out changeset 4c50773d59a2 (bug 1594004) for mochitest failures on test_postMessage_solidus.html . CLOSED TREE 2019-11-27 02:01:58 +02:00
Sebastian Streich a3be2f9036 Bug 1594004 - Enable CacheSplit in nightly r=ckerschb,annevk
***
Fix Cache-Split related Tests

Differential Revision: https://phabricator.services.mozilla.com/D51815

--HG--
extra : moz-landing-system : lando
2019-11-26 15:38:53 +00:00
Andrew McCreight e1cddbb815 Bug 1599180 - Fix some trivial "browing" typos. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D54570

--HG--
extra : moz-landing-system : lando
2019-11-25 18:32:35 +00:00
Valentin Gosu 0e928af6c3 Bug 1565008 - TRR: Check for Proxy on Windows to use platform DNS r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D54092

--HG--
extra : moz-landing-system : lando
2019-11-24 14:54:02 +00:00
Kershaw Chang b6831f6f80 Bug 1579049 - Part2: Expose proxy response error code in nsIProxiedChannel.idl r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D51143

--HG--
extra : moz-landing-system : lando
2019-11-21 16:02:47 +00:00
Kershaw Chang 60f6486027 Bug 1579049 - P1: Map Http error response codes to gecko error codes r=mayhemer,valentin
Differential Revision: https://phabricator.services.mozilla.com/D49903

--HG--
extra : moz-landing-system : lando
2019-11-21 14:24:36 +00:00
Daniel Varga f12c40c242 Backed out changeset afe80b4ff889 (bug 1595934) Requested by ehsan to see if it fixex bug 1597915. On a CLOSED TREE 2019-11-22 02:01:51 +02:00
Valentin Gosu 50ab46ba6c Bug 1565004 - Make sure we skip TRR when there's an active VPN r=mayhemer
- Adds the `network.trr.enable_when_vpn_detected` defaulting to false. This means detecting a PPP adapter will make IsExcludedFromTRR always return true - it does not affect the `network.trr.mode` pref.
- Adds a test that when nsINetworkLinkService.vpnDetected is true we skip all TRR requests
- Makes it so we update the excludedDomains list and VPN detected status for TRR on any network:link-status-changed observer notification that is received.

Differential Revision: https://phabricator.services.mozilla.com/D53356

--HG--
extra : moz-landing-system : lando
2019-11-21 10:02:48 +00:00
Valentin Gosu 8750aabfa9 Bug 1597137 - Don't load TRR entries from the cache if they are part of the excluded list. r=dragana
This patch fixes two issues where we may mistakenly load a TRR record even though the host is part of the excluded-domains list:
1. If a.com is part of the excluded domains, but b.com is not, then when we first resolve b.com using TRR, the server may also push the record for a.com; Previously we didn't check if the pushed record is also excluded, which could lead us to load it from the TRR cache.
2. If b.com is resolved using TRR, but later b.com is added to the excluded-domains list, we may mistakenly load b.com from the TRR cache, even though we should use platform DNS for it.

Differential Revision: https://phabricator.services.mozilla.com/D53354

--HG--
extra : moz-landing-system : lando
2019-11-21 10:02:33 +00:00
Cosmin Sabou 4e76fd5665 Backed out 2 changesets (bug 1565004) for xpc failures on netwerk/test/unit/test_trr.js.
Backed out changeset 3d6d67621349 (bug 1565004)
Backed out changeset ef016d00ec9b (bug 1565004)
2019-11-20 18:40:16 +02:00
Valentin Gosu 2bdc8b2de9 Bug 1565004 - Make sure we skip TRR when there's an active VPN r=mayhemer
- Adds the `network.trr.enable_when_vpn_detected` defaulting to false. This means detecting a PPP adapter will make IsExcludedFromTRR always return true - it does not affect the `network.trr.mode` pref.
- Adds a test that when nsINetworkLinkService.vpnDetected is true we skip all TRR requests
- Makes it so we update the excludedDomains list and VPN detected status for TRR on any network:link-status-changed observer notification that is received.

Differential Revision: https://phabricator.services.mozilla.com/D53356

--HG--
extra : moz-landing-system : lando
2019-11-20 14:33:33 +00:00
Andreea Pavel 5c654c5a3f Backed out changeset 7e8755b2ddce (bug 1594004) for failing xpcshell at test_http2.js on a CLOSED TREE 2019-11-20 06:13:50 +02:00
Andreea Pavel 03a2c54d6f Backed out 3 changesets (bug 1595154) for failing bc at browser_autocomplete_marked_detached_tab.js on a CLOSED TREE
Backed out changeset f512953534ac (bug 1595154)
Backed out changeset 803a2dfdda82 (bug 1595154)
Backed out changeset ddd336d5bf1a (bug 1595154)

--HG--
rename : browser/extensions/formautofill/FormAutofillChild.jsm => browser/extensions/formautofill/content/FormAutofillFrameScript.js
2019-11-20 05:03:37 +02:00
Sebastian Streich 2b934a4f1a Bug 1594004 - Enable CacheSplit on default r=ckerschb,annevk
***
Fix Cache-Split related Tests

Differential Revision: https://phabricator.services.mozilla.com/D51815

--HG--
extra : moz-landing-system : lando
2019-11-19 15:27:20 +00:00
Neil Deakin a6095ebaf4 Bug 1595154, replace the frame script FormAutofillFrameScript.js with an actor and fix up setTimeout calls in places that were relying on Timer.jsm being loaded in that frame script, r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D52721

--HG--
rename : browser/extensions/formautofill/content/FormAutofillFrameScript.js => browser/extensions/formautofill/FormAutofillChild.jsm
extra : moz-landing-system : lando
2019-11-20 01:25:20 +00:00
Sean Feng f8ddb7e6f1 Bug 1580316 - Update signatureInfo to Array of Array of nsIX509Cert(in raw bytes) r=keeler,dimi
The signatureInfo that has been used in ExternalHelperAppService and
ReputationService has been stored Array of nsIX509CertList, which
isn't necessary because only the raw bytes of the certs are required.
This patch intends to remove the usage of nsIX509CertList and store
the raw bytes directly.

Differential Revision: https://phabricator.services.mozilla.com/D44243

--HG--
extra : moz-landing-system : lando
2019-11-19 19:51:44 +00:00
Moritz Birghan 975648e245 Bug 1571656 - Use Assert.jsm numeric comparison functions in tests r=mixedpuppy,MattN
Differential Revision: https://phabricator.services.mozilla.com/D40614

--HG--
extra : moz-landing-system : lando
2019-11-18 13:03:58 +00:00
Ehsan Akhgari 30cf316b38 Bug 1595934 - Make nsICookieManager cookie enumerators return Array<nsICookie> instead of nsISimpleEnumerator; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D52761

--HG--
extra : moz-landing-system : lando
2019-11-17 07:21:14 +00:00
Valentin Gosu a0c0892ad2 Bug 1596234 - TRR: Check that pushed entry is not used after DNS suffix list changes r=JuniorHsu
- changes moz-http2.js so that the pushed entry is created using dnsPacked.encode in order to make the code clearer
- the pushed TRR entry is not push.example.org (instead of push.example.com) so the pushed entry is not same origin with the DoH endpoint.
- makes sure that when checking DnsSuffixInMode(3) we have the bootstrap address set

Differential Revision: https://phabricator.services.mozilla.com/D52912

--HG--
extra : moz-landing-system : lando
2019-11-15 16:00:28 +00:00
Mihai Alexandru Michis 3291dcd109 Backed out changeset 9f62b84d6bbb (bug 1596234) for causing xpcshell failures in netwerk/test/unit/test_trr.js CLOSED TREE
--HG--
extra : histedit_source : bf7e952b0a6eab4131ddcfd13b5a9b600eeb5ed1
2019-11-14 14:21:23 +02:00
Valentin Gosu 699b2924d3 Bug 1596234 - TRR: Check that pushed entry is not used after DNS suffix list changes r=JuniorHsu
Differential Revision: https://phabricator.services.mozilla.com/D52912

--HG--
extra : moz-landing-system : lando
2019-11-13 21:56:48 +00:00
Valentin Gosu 54fc67b26e Bug 1596045 - Modernize test_esni_dns_fetch.js and make sure we're not clearing the cache when setting the URI pref r=dragana
When using add_task to schedule the tests, testEsniPushPart2 would always fail.
That's because Bug 1587875 now clears the DNS cache when the network.trr.uri
pref is changed. This is likely intermittent because of task scheduling.
This patch modernizes the test to use add_task and promises, and sets the
network.trr.clear-cache-on-pref-change;true pref so the test performs its
checks properly.

Differential Revision: https://phabricator.services.mozilla.com/D52825

--HG--
extra : moz-landing-system : lando
2019-11-13 10:55:09 +00:00
Bogdan Tara 80377e90ee Backed out 6 changesets (bug 1552176) for causing Hazard bustages CLOSED TREE
Backed out changeset c79b90bae420 (bug 1552176)
Backed out changeset 4b970cc771ca (bug 1552176)
Backed out changeset de7aa0eaf4c8 (bug 1552176)
Backed out changeset c8e692a40cd3 (bug 1552176)
Backed out changeset 68882d1eccac (bug 1552176)
Backed out changeset 692e5e51e19e (bug 1552176)
2019-11-11 12:11:36 +02:00
Valentin Gosu ff36423116 Bug 1552176 - Captive portal domain should not be automatically excluded from TRR r=mayhemer
Previously we had no way from excluding just one channel from TRR mode3.
The solution was to add the captive portal domain to the exclusion list.
Now the captive portal channel is marked with nsIRequest.DISABLE_TRR_MODE so
the exclusion is not necessary anymore.

Differential Revision: https://phabricator.services.mozilla.com/D48820

--HG--
extra : moz-landing-system : lando
2019-11-10 17:11:54 +00:00
Valentin Gosu c12053953f Bug 1552176 - Unit test for TRRMode for individual channels r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D48362

--HG--
extra : moz-landing-system : lando
2019-11-10 17:11:23 +00:00
Valentin Gosu 2240e29928 Bug 1582030 - Enable netwerk/test/unit/test_esni_dns_fetch.js which was disabled for intermittent failures r=JuniorHsu
Differential Revision: https://phabricator.services.mozilla.com/D52182

--HG--
extra : moz-landing-system : lando
2019-11-08 19:25:27 +00:00
Bogdan Tara 8f38f4a3fb Backed out 6 changesets (bug 1552176) for bustages complaining about ServiceWorkerManager.cpp CLOSED TREE
Backed out changeset bff9110e434e (bug 1552176)
Backed out changeset ac8f8a6dbd98 (bug 1552176)
Backed out changeset 8dd630e7534a (bug 1552176)
Backed out changeset 7ce9e220cdb9 (bug 1552176)
Backed out changeset ee9911acfcd4 (bug 1552176)
Backed out changeset 652b3bd6848d (bug 1552176)
2019-11-08 22:18:05 +02:00
Valentin Gosu 005744f167 Bug 1552176 - Captive portal domain should not be automatically excluded from TRR r=mayhemer
Previously we had no way from excluding just one channel from TRR mode3.
The solution was to add the captive portal domain to the exclusion list.
Now the captive portal channel is marked with nsIRequest.DISABLE_TRR_MODE so
the exclusion is not necessary anymore.

Differential Revision: https://phabricator.services.mozilla.com/D48820

--HG--
extra : moz-landing-system : lando
2019-11-08 17:13:17 +00:00
Valentin Gosu aa093f9d4f Bug 1552176 - Unit test for TRRMode for individual channels r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D48362

--HG--
extra : moz-landing-system : lando
2019-11-08 17:12:46 +00:00
Coroiu Cristina 27a753cc4a Backed out changeset 96048cce4b80 (bug 1571656) for xpcshell failures at toolkit/components/places/tests/unifiedcomplete/test_autofill_origins.js on a CLOSED TREE 2019-11-06 22:59:45 +02:00
Moritz Birghan 70c7a633fb Bug 1571656 - Use Assert.jsm numeric comparison functions in tests r=mixedpuppy,MattN
Differential Revision: https://phabricator.services.mozilla.com/D40614

--HG--
extra : moz-landing-system : lando
2019-11-06 18:07:54 +00:00
Junior Hsu 167a3b63a4 Bug 1544231 - add image/webp to default navigation value of the Accept header, r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D51199

--HG--
extra : moz-landing-system : lando
2019-11-01 15:54:57 +00:00
Valentin Gosu ed4b10d09c Bug 1584743 - Use data URL for services.settings.server in test_http2-proxy.js r=mayhemer
Using a data URL makes the request not use the proxy and so it will not mess up the session count

Differential Revision: https://phabricator.services.mozilla.com/D51843

--HG--
extra : moz-landing-system : lando
2019-11-05 15:56:26 +00:00
Valentin Gosu 44081f03e7 Bug 1584397 - Make http2 proxy code execute in a separate process r=mayhemer
* Adds a new moz-http2-child.js file which gets spawned into a new process. When calling NodeServer.execute, the code gets passed to the existing moz-http2.js process which then sends it to be evaluated in the child process. Any crash in the child should not be able to kill the main node process.
* Moves the proxy creation code into test_http2-proxy.js
* Adds the new NodeServer.fork() and NodeServer.kill() static methods to spawn a new server
* Makes it easier to isolate a test's behaviour from another's. It also opens the way to moving some of the logic to individual unit tests, like we do for the proxy creation code, rather than keeping it all in moz-http2.js

Differential Revision: https://phabricator.services.mozilla.com/D49961

--HG--
extra : moz-landing-system : lando
2019-11-05 15:51:43 +00:00
Ciure Andrei c372471ea4 Backed out changeset 2a40bdf17bea (bug 1584397) for causing test_http2-proxy.js to permafail CLOSED TREE 2019-11-05 02:14:35 +02:00
Valentin Gosu ca20259fa5 Bug 1584397 - Make http2 proxy code execute in a separate process r=mayhemer
* Adds a new moz-http2-child.js file which gets spawned into a new process. When calling NodeServer.execute, the code gets passed to the existing moz-http2.js process which then sends it to be evaluated in the child process. Any crash in the child should not be able to kill the main node process.
* Moves the proxy creation code into test_http2-proxy.js
* Adds the new NodeServer.fork() and NodeServer.kill() static methods to spawn a new server
* Makes it easier to isolate a test's behaviour from another's. It also opens the way to moving some of the logic to individual unit tests, like we do for the proxy creation code, rather than keeping it all in moz-http2.js

Differential Revision: https://phabricator.services.mozilla.com/D49961

--HG--
extra : moz-landing-system : lando
2019-11-04 14:32:45 +00:00
Valentin Gosu d2b0661c9b Bug 1589609 - Add unit test for obs-fold header parsing r=JuniorHsu
Differential Revision: https://phabricator.services.mozilla.com/D51536

--HG--
extra : moz-landing-system : lando
2019-11-04 20:12:12 +00:00
Noemi Erli 853acdf360 Backed out 5 changesets (bug 1552176) for causing multiple build bustages CLOSED TREE
Backed out changeset 203060e4af95 (bug 1552176)
Backed out changeset b52f0ff800c8 (bug 1552176)
Backed out changeset 9f8d159fe252 (bug 1552176)
Backed out changeset 751b518e08fa (bug 1552176)
Backed out changeset a11ffd474c0c (bug 1552176)
2019-11-02 23:20:28 +02:00
Valentin Gosu 5738ec3d68 Bug 1552176 - Captive portal domain should not be automatically excluded from TRR r=mayhemer
Previously we had no way from excluding just one channel from TRR mode3.
The solution was to add the captive portal domain to the exclusion list.
Now the captive portal channel is marked with nsIRequest.DISABLE_TRR_MODE so
the exclusion is not necessary anymore.

Differential Revision: https://phabricator.services.mozilla.com/D48820

--HG--
extra : moz-landing-system : lando
2019-11-02 20:43:00 +00:00
Valentin Gosu 236b69b1c0 Bug 1552176 - Unit test for TRRMode for individual channels r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D48362

--HG--
extra : moz-landing-system : lando
2019-11-02 20:42:25 +00:00
Dragana Damjanovic 764af517bf Bug 1592927 - Test test_anonymous-coalescing is racy. r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D51245

--HG--
extra : moz-landing-system : lando
2019-10-31 19:53:54 +00:00
Oana Pop Rus c6e13ba821 Bug 1582030 - Disable test_esni_dns_fetch.js on Linux64, Windows and Mac r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D51080

--HG--
extra : moz-landing-system : lando
2019-10-31 02:45:45 +00:00
Ehsan Akhgari a8a01884db Bug 1591803 - Part 2: Rename nsIPermissionManager.enumerator to all and turn it into an Array; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D50753

--HG--
extra : moz-landing-system : lando
2019-10-29 01:56:25 +00:00
Arthur Iakab 9c93bb3a7a Backed out 2 changesets (bug 1591803) for causing build bustages on XULAlerts.cpp CLOSED TREE
Backed out changeset 7eff50262110 (bug 1591803)
Backed out changeset c0b6f37d24d2 (bug 1591803)
2019-10-29 03:37:07 +02:00
Ehsan Akhgari 8c1d9bf15d Bug 1591803 - Part 2: Rename nsIPermissionManager.enumerator to all and turn it into an Array; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D50753

--HG--
extra : moz-landing-system : lando
2019-10-28 20:26:21 +00:00
Arthur Iakab 470c5a07f1 Backed out 2 changesets (bug 1591803) for causing build busatges on PermissionManager.idl. CLOSED TREE
Backed out changeset 060f159fa43d (bug 1591803)
Backed out changeset b53a3d8c408d (bug 1591803)
2019-10-28 22:12:01 +02:00
Ehsan Akhgari f7eef9ebc5 Bug 1591803 - Part 2: Rename nsIPermissionManager.enumerator to all and turn it into an Array; r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D50753

--HG--
extra : moz-landing-system : lando
2019-10-28 13:55:56 +00:00
Ehsan Akhgari d0732b6e03 Bug 1591813 - Make nsICookieManager.getCookiesFromHost() return an Array<nsICookie>; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D50750

--HG--
extra : moz-landing-system : lando
2019-10-28 12:08:09 +00:00
Ehsan Akhgari c4481cd9ba Bug 1589407 - Part 2: Ensure that document.referrer sees the same URL as what we send in the Referer HTTP header per the ETP restrictions; r=tnguyen,baku
Differential Revision: https://phabricator.services.mozilla.com/D49773

--HG--
extra : moz-landing-system : lando
2019-10-26 21:24:57 +00:00
Cosmin Sabou a8c3b777f6 Bug 1586411 - Disable test_different_domain_in_hierarchy.html on fission for frequent crashes. r=kmag
Differential Revision: https://phabricator.services.mozilla.com/D50743

--HG--
extra : moz-landing-system : lando
2019-10-28 07:28:49 +00:00
Coroiu Cristina f9b25eadca Backed out changeset ad44c165c690 (bug 1589407) for browser chrome failures at toolkit/components/antitracking/test/browser/browser_referrerDefaultPolicy.js on a CLOSED TREE 2019-10-25 18:07:14 +03:00
Ehsan Akhgari 0cdd072e23 Bug 1589407 - Ensure that document.referrer sees the same URL as what we send in the Referer HTTP header per the ETP restrictions; r=tnguyen,baku
Differential Revision: https://phabricator.services.mozilla.com/D49773

--HG--
extra : moz-landing-system : lando
2019-10-25 07:32:05 +00:00
Sylvestre Ledru 7c309095ea Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
Please note that it is the first reformat with clang-format 9
I only saw a fix in the .mm file

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D49056

--HG--
extra : moz-landing-system : lando
2019-10-21 14:13:44 +00:00
Christian Holler 8ee02ecac8 Bug 1589374 - Add FTP fuzzing target for downloading a file. r=michal
Differential Revision: https://phabricator.services.mozilla.com/D49615

--HG--
extra : moz-landing-system : lando
2019-10-18 21:02:14 +00:00
Jean-Yves Avenard e6d0e7dfda Bug 1588899 - P1. Move classification flags related method to nsIClassifiedChannel. r=Ehsan,baku
This is where it should have been in the first place. Those attributes belong there.

Differential Revision: https://phabricator.services.mozilla.com/D49577

--HG--
extra : moz-landing-system : lando
2019-10-19 04:30:24 +00:00
Valentin Gosu e909f76c59 Bug 1587875 - Clear TRR cache entries when changing DoH servers r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D49093

--HG--
extra : moz-landing-system : lando
2019-10-14 14:57:38 +00:00
Valentin Gosu ca8206c9cd Bug 1580976 - Check that moz-http2.js is working before running test_trr.js r=JuniorHsu
Differential Revision: https://phabricator.services.mozilla.com/D49309

--HG--
extra : moz-landing-system : lando
2019-10-15 16:40:06 +00:00
Valentin Gosu 92caaefe3b Bug 1582472 - Exclude DHCP Search Suffixes from TRR r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D49094

--HG--
extra : moz-landing-system : lando
2019-10-15 13:24:49 +00:00
Coroiu Cristina 276d70755b Backed out changeset 9042c3ee2c0b (bug 1582472) for xpcshell failures at toolkit/components/downloads/test/unit/test_DownloadIntegration.js on a CLOSED TREE 2019-10-15 15:57:24 +03:00
Valentin Gosu 8e8390fdfa Bug 1582472 - Exclude DHCP Search Suffixes from TRR r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D49094

--HG--
extra : moz-landing-system : lando
2019-10-15 11:49:54 +00:00
Nika Layzell 7a66ccf8ea Bug 1578507 - Remove browser_cross_process_redirect test r=valentin
This test was originally written to test HTTPResponseProcessSelection before it
was hooked up into the process switch machinery. It hooks into some parts of the
process switch process which should probably be removed in the future (such as
overriding the child listener component registration), and is broken under
fission anyway.

Differential Revision: https://phabricator.services.mozilla.com/D47313

--HG--
extra : moz-landing-system : lando
2019-10-14 21:08:16 +00:00
Ben Campbell 901747f2fb Bug 1587199 - Fix test_parse_content_type.js under Thunderbird. r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D48627

--HG--
extra : moz-landing-system : lando
2019-10-09 08:10:05 +00:00
Valentin Gosu 47305d3076 Bug 1533957 - Test that request is cancelled before being removed from a loadGroup r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D47076

--HG--
extra : moz-landing-system : lando
2019-10-07 12:18:11 +00:00
Valentin Gosu bbd9200052 Bug 1531405 - Gather telemetry on cross-origin style sheet Content-Type headers r=JuniorHsu
Differential Revision: https://phabricator.services.mozilla.com/D47906

--HG--
extra : moz-landing-system : lando
2019-10-04 12:47:48 +00:00
Christian Holler f70069f09e Bug 1562283 - FTP fuzzing target for the Necko fuzzing layer. r=michal
Depends on D47448

Differential Revision: https://phabricator.services.mozilla.com/D47449

--HG--
extra : moz-landing-system : lando
2019-10-07 10:18:50 +00:00
Valentin Gosu 0e400d4cbe Bug 1586755 - Fix Json::Reader deprecated warning in TestMozURL r=JuniorHsu
Differential Revision: https://phabricator.services.mozilla.com/D48350

--HG--
extra : moz-landing-system : lando
2019-10-07 15:06:08 +00:00
Christian Holler 484600f3bd Bug 1584537 - Support multiple connections in the Necko fuzzing layer. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D47448

--HG--
extra : moz-landing-system : lando
2019-10-07 10:18:37 +00:00
Sylvestre Ledru f12b9fa5c3 Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D47737

--HG--
extra : moz-landing-system : lando
2019-10-06 18:29:55 +00:00
Csoregi Natalia 8768a4f5e3 Backed out 7 changesets (bug 1576714) for fission permafailures on test_bug590812.html. a=backout
Backed out changeset d0c49f00eb91 (bug 1576714)
Backed out changeset faecc9f35b49 (bug 1576714)
Backed out changeset 2e156655c31e (bug 1576714)
Backed out changeset eece722082c7 (bug 1576714)
Backed out changeset ebda40f96884 (bug 1576714)
Backed out changeset 7dce423417d8 (bug 1576714)
Backed out changeset 9a5072019168 (bug 1576714)
2019-10-05 00:08:33 +03:00
Nika Layzell 2a228afa83 Bug 1576714 - Part 6: Remove browser_cross_process_redirect test, r=valentin
This test was originally written to test HTTPResponseProcessSelection before it
was hooked up into the process switch machinery. It hooks into some parts of the
process switch process which should probably be removed in the future (such as
overriding the child listener component registration), and is broken under
fission anyway.

Differential Revision: https://phabricator.services.mozilla.com/D47313

--HG--
extra : moz-landing-system : lando
2019-10-03 21:40:35 +00:00
Cosmin Sabou 66724802d8 Backed out 3 changesets (bug 1533957) for linux fission failures. CLOSED TREE
Backed out changeset 93dc3aae76fe (bug 1533957)
Backed out changeset aa6ab3f678cc (bug 1533957)
Backed out changeset 19d46cc8b80f (bug 1533957)
2019-10-03 21:38:39 +03:00
Valentin Gosu 58bbe88106 Bug 1533957 - Test that request is cancelled before being removed from a loadGroup r=bzbarsky
Depends on D46591

Differential Revision: https://phabricator.services.mozilla.com/D47076

--HG--
extra : moz-landing-system : lando
2019-10-02 15:23:52 +00:00
Valentin Gosu 69224531f0 Bug 1585748 - Update test_trr.js to account for network.trr.request-timeout being renamed r=agrover
Differential Revision: https://phabricator.services.mozilla.com/D47965

--HG--
extra : moz-landing-system : lando
2019-10-02 20:47:05 +00:00
Brindusan Cristian 950e03660b Backed out 6 changesets (bug 1576714) for build bustages at nsFrameLoaderOwner.cpp. CLOSED TREE
Backed out changeset 083967e704d2 (bug 1576714)
Backed out changeset b3467f1bdde7 (bug 1576714)
Backed out changeset 88e3b4b7fbaf (bug 1576714)
Backed out changeset b91221da32c7 (bug 1576714)
Backed out changeset 6996b7705f06 (bug 1576714)
Backed out changeset a303fc193f60 (bug 1576714)
2019-10-02 04:14:53 +03:00
Nika Layzell c9f19dabc2 Bug 1576714 - Part 6: Remove browser_cross_process_redirect test, r=valentin
This test was originally written to test HTTPResponseProcessSelection before it
was hooked up into the process switch machinery. It hooks into some parts of the
process switch process which should probably be removed in the future (such as
overriding the child listener component registration), and is broken under
fission anyway.

Differential Revision: https://phabricator.services.mozilla.com/D47313

--HG--
extra : moz-landing-system : lando
2019-10-01 18:09:14 +00:00
Jonathan Kingston d6d3522a16 Bug 1237782 - Remove http override and add appcache pref r=baku
Differential Revision: https://phabricator.services.mozilla.com/D44472

--HG--
extra : moz-landing-system : lando
2019-09-30 00:55:02 +00:00
Paul Zuehlcke abeca18f1c Bug 1402957 - Refactored nsIPermissionManager tests to use principals. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D47251

--HG--
rename : extensions/permissions/test/unit/test_permmanager_getAllForURI.js => extensions/permissions/test/unit/test_permmanager_getAllForPrincipal.js
extra : moz-landing-system : lando
2019-09-27 09:48:39 +00:00
Kershaw Chang 8b6c54bcaf Bug 1567343 - Enable test_network_connectivity_service on android r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D47420

--HG--
extra : moz-landing-system : lando
2019-09-27 12:57:48 +00:00
Valentin Gosu 836f56e2ad Bug 1584481 - Throw from NodeServer.execute if it cant't find MOZNODE_EXEC_PORT r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D47404

--HG--
extra : moz-landing-system : lando
2019-09-27 11:01:50 +00:00
Coroiu Cristina 3b27110d58 Backed out changeset f3c1becf9396 (bug 1237782) for browser-chrome failures at dom/tests/mochitest/ajax/offline/browser_disableAppcache.js on a CLOSED TREE 2019-09-26 23:05:07 +03:00
Jonathan Kingston 495916342a Bug 1237782 - Remove http override and add appcache pref r=baku
Differential Revision: https://phabricator.services.mozilla.com/D44472

--HG--
extra : moz-landing-system : lando
2019-09-26 19:03:04 +00:00
Valentin Gosu 099ff7434c Bug 1582515 - Add ability for httpd.js to execute code moz-http2.js and spawn new servers r=mayhemer,JuniorHsu
Differential Revision: https://phabricator.services.mozilla.com/D46496

--HG--
extra : moz-landing-system : lando
2019-09-26 09:53:04 +00:00
Paul Zuehlcke a20be9ee64 Bug 1574469 - Removed block param from nsICookieManager::Remove. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D45848

--HG--
extra : moz-landing-system : lando
2019-09-24 17:13:43 +00:00
Ehsan Akhgari 7239f850ee Bug 1583211 - Use the URL file path when performing cookie path matching instead of the url path query ref; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D46809

--HG--
extra : moz-landing-system : lando
2019-09-24 14:33:59 +00:00
Oana Pop Rus 3144f81e55 Backed out changeset cb1b6afa9f33 (bug 1574469) for multiple failures in nsICookieManager.remove on a CLOSED TREE 2019-09-24 13:10:07 +03:00
Paul Zuehlcke b7de7aec93 Bug 1574469 - Removed block param from nsICookieManager::Remove. r=Ehsan
Differential Revision: https://phabricator.services.mozilla.com/D45848

--HG--
extra : moz-landing-system : lando
2019-09-19 17:10:58 +00:00
Geoff Brown b0e5901c93 Bug 1582884 - Enable some crashtests on Android; r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D46784

--HG--
extra : moz-landing-system : lando
2019-09-24 01:12:09 +00:00
Geoff Brown dcb380399e Bug 1582785 - Enable some xpcshell tests on Android; r=geckoview-reviewers,agi
Most of these tests have been disabled for a long time; they run well
in the current test environment.

Differential Revision: https://phabricator.services.mozilla.com/D46642

--HG--
extra : moz-landing-system : lando
2019-09-23 22:43:55 +00:00
Ehsan Akhgari 5f56dea240 Bug 833723 - Part 2: Fix typo
Differential Revision: https://phabricator.services.mozilla.com/D46863

--HG--
extra : moz-landing-system : lando
2019-09-23 21:33:30 +00:00
Ehsan Akhgari 4382a07f0c Bug 833723 - Make test_bug455311.js pass locally on Linux by resolving symlinks; r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D46816

--HG--
extra : moz-landing-system : lando
2019-09-23 20:48:20 +00:00
Noemi Erli 519878e346 Backed out changeset 89552e3aa8be (bug 833723) for xpcshell failures in test_bug455311.js CLOSED TREE 2019-09-23 23:39:50 +03:00
Ehsan Akhgari 78123454f5 Bug 833723 - Make test_bug455311.js pass locally on Linux by resolving symlinks; r=bzbarsky
Differential Revision: https://phabricator.services.mozilla.com/D46816

--HG--
extra : moz-landing-system : lando
2019-09-23 19:08:39 +00:00
Jean-Yves Avenard 4986f63ec2 Bug 1575744 - P2. Add nsIProcessSwitchRequestor interface. r=mayhemer,nika
Will allow for SessionStore.jsm process switching to be used by other objects than nsHttpChannel.

Differential Revision: https://phabricator.services.mozilla.com/D46015

--HG--
extra : moz-landing-system : lando
2019-09-20 04:09:46 +00:00
Bogdan Tara bee28f01d7 Backed out 8 changesets (bug 1575744) for HttpChannelParent related assertion failures
Backed out changeset af61675dd488 (bug 1575744)
Backed out changeset bf794b9373c8 (bug 1575744)
Backed out changeset 39ffb74d2e12 (bug 1575744)
Backed out changeset c1547b3df672 (bug 1575744)
Backed out changeset 382ee8672027 (bug 1575744)
Backed out changeset 5abb38484f11 (bug 1575744)
Backed out changeset d5244c1bbfe8 (bug 1575744)
Backed out changeset c74b81debf73 (bug 1575744)

--HG--
rename : netwerk/base/nsIProcessSwitchRequestor.idl => netwerk/base/nsICrossProcessSwitchChannel.idl
2019-09-20 06:58:44 +03:00
Jean-Yves Avenard db9dcef811 Bug 1575744 - P2. Add nsIProcessSwitchRequestor interface. r=mayhemer,nika
Will allow for SessionStore.jsm process switching to be used by other objects than nsHttpChannel.

Differential Revision: https://phabricator.services.mozilla.com/D46015

--HG--
extra : moz-landing-system : lando
2019-09-18 23:49:51 +00:00
Henri Sivonen c193518677 Bug 1490601 part 2 - Move C++ entry points to encoding_c_mem to mfbt/. r=jwalden
Differential Revision: https://phabricator.services.mozilla.com/D43957

--HG--
extra : moz-landing-system : lando
2019-09-18 08:26:34 +00:00
Jeremy Lempereur c3d1703996 Bug 1580157 - Add tests to network attributes sorting. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D45893

--HG--
extra : moz-landing-system : lando
2019-09-17 18:58:39 +00:00
Brindusan Cristian c2ee78aa6f Backed out changeset 3af4309ffce7 (bug 1237782) for wpt assertions/leaks. CLOSED TREE 2019-09-17 01:03:46 +03:00
Ehsan Akhgari 3bd685e0df Bug 1581160 - Part 2: Do not prevent the local database from being checked in UrlClassifierSkipListService.jsm; r=johannh,leplatrem
Differential Revision: https://phabricator.services.mozilla.com/D46029

--HG--
extra : moz-landing-system : lando
2019-09-16 21:48:26 +00:00
Jonathan Kingston bd229a5c73 Bug 1237782 - Remove http override and add appcache pref r=baku
Differential Revision: https://phabricator.services.mozilla.com/D44472

--HG--
extra : moz-landing-system : lando
2019-09-16 17:24:39 +00:00
Valentin Gosu b27c4726d0 Bug 1513574 - Remove UserAgentOverrides.jsm and UserAgentUpdates.jsm r=michal
Also removes the UA cache attached to nsILoadGroup and nsIRequestContext and the "http-on-useragent-request" observer notification.
If overriding the user agent is needed "http-on-modify-request" is equally usable (but should be used rarely, for performance reasons). A better way is using nsIDocShell.customUserAgent.

Depends on D14750

Differential Revision: https://phabricator.services.mozilla.com/D14751

--HG--
extra : moz-landing-system : lando
2019-09-16 15:21:36 +00:00
Cosmin Sabou b1cfe7b829 Backed out 4 changesets (bug 1513574) for causing several browser chrome failures. CLOSED TREE
Backed out changeset 7d950fc452fb (bug 1513574)
Backed out changeset 11f015a3e739 (bug 1513574)
Backed out changeset be6959a563f6 (bug 1513574)
Backed out changeset ce51efd054b8 (bug 1513574)

--HG--
extra : histedit_source : a7bc0055925ac352826572f96730f3d90815bda0
2019-09-16 12:40:40 +03:00
Valentin Gosu f9ed039670 Bug 1513574 - Remove UserAgentOverrides.jsm and UserAgentUpdates.jsm r=michal
Also removes the UA cache attached to nsILoadGroup and nsIRequestContext and the "http-on-useragent-request" observer notification.
If overriding the user agent is needed "http-on-modify-request" is equally usable (but should be used rarely, for performance reasons). A better way is using nsIDocShell.customUserAgent.

Depends on D14750

Differential Revision: https://phabricator.services.mozilla.com/D14751

--HG--
extra : moz-landing-system : lando
2019-09-16 08:38:24 +00:00
Valentin Gosu 37f85c0b87 Bug 1580750 - Enable some necko mochitests in fission r=JuniorHsu
Differential Revision: https://phabricator.services.mozilla.com/D45640

--HG--
extra : moz-landing-system : lando
2019-09-12 14:34:32 +00:00
Cosmin Sabou 1aeb602d5e Backed out 4 changesets (bug 1513574) for Android build bustage and browser chrome failures. CLOSED TREE
Backed out changeset f155c449e516 (bug 1513574)
Backed out changeset 1f2bbbe0f781 (bug 1513574)
Backed out changeset 5f8b5f72a4ea (bug 1513574)
Backed out changeset 0e4cababccc7 (bug 1513574)
2019-09-13 21:38:18 +03:00
Valentin Gosu ef68d827d8 Bug 1513574 - Remove UserAgentOverrides.jsm and UserAgentUpdates.jsm r=michal
Also removes the UA cache attached to nsILoadGroup and nsIRequestContext and the "http-on-useragent-request" observer notification.
If overriding the user agent is needed "http-on-modify-request" is equally usable (but should be used rarely, for performance reasons). A better way is using nsIDocShell.customUserAgent.

Depends on D14750

Differential Revision: https://phabricator.services.mozilla.com/D14751

--HG--
extra : moz-landing-system : lando
2019-09-13 17:19:40 +00:00
Kershaw Chang de860c0a83 Bug 1580046 - Introduce new trr pref: builtin-excluded-domains r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D45518

--HG--
extra : moz-landing-system : lando
2019-09-12 12:44:16 +00:00
Christian Holler 94e642e603 Bug 1579475 - HTTP fuzzing target should call RemoveRequestContext. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D45035

--HG--
extra : moz-landing-system : lando
2019-09-09 17:17:22 +00:00
Ehsan Akhgari 7e6d000cd3 Bug 1579552 - Update the cookie path matching algorithm per RFC6265; r=baku
Differential Revision: https://phabricator.services.mozilla.com/D45427

--HG--
extra : moz-landing-system : lando
2019-09-11 11:07:12 +00:00
Junior Hsu 047f47caa2 Bug 1556037 - Re-enable test_http2-proxy.js test r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D41053

--HG--
extra : moz-landing-system : lando
2019-09-10 21:21:53 +00:00
Gurzau Raul 812644ff5f Backed out changeset 8c25acd6a557 (bug 1237782) for wpt failures at controller-on-disconnect.https.html 2019-09-07 14:32:37 +03:00
Jonathan Kingston 64f59b042f Bug 1237782 - Remove http override and add appcache pref r=baku
Differential Revision: https://phabricator.services.mozilla.com/D44472

--HG--
extra : moz-landing-system : lando
2019-09-07 07:45:30 +00:00
Cosmin Sabou 732b97195a Backed out changeset 7dc9a45ef7d6 (bug 1237782) for causing browser chrome failures on browser_disableAppcache.js CLOSED TREE 2019-09-06 19:10:20 +03:00
Jonathan Kingston a8f4386427 Bug 1237782 - Remove http override and add appcache pref r=baku
Differential Revision: https://phabricator.services.mozilla.com/D44472

--HG--
extra : moz-landing-system : lando
2019-09-06 15:02:34 +00:00
Ting-Yu Lin b8fee8f71c Bug 1308587 Part 2 - Remove -moz prefix for all multi-column properties in testing and css files. r=dholbert
This patch is generated by the following script:

```
function remove_column_prefix() {
    echo "Renaming $1 to $2"
    find .\
         -type f\
         ! -path "./obj*"\
         ! -path "./.git"\
         ! -path "./.hg"\
         \( -name "*.html" -or\
            -name "*.xhtml" -or\
            -name "*.xht" -or\
            -name "*.xul" -or\
            -name "*.xml" -or\
            -name "*.css"  \)\
            -exec sed -i -e "s/$1/$2/g" "{}" \;
}

remove_column_prefix "-moz-columns" "columns"
remove_column_prefix "-moz-column-width" "column-width"
remove_column_prefix "-moz-column-count" "column-count"
remove_column_prefix "-moz-column-fill" "column-fill"
remove_column_prefix "-moz-column-gap" "column-gap"
remove_column_prefix "-moz-column-rule" "column-rule"
remove_column_prefix "-moz-column-rule-width" "column-rule-width"
remove_column_prefix "-moz-column-rule-color" "column-rule-color"
remove_column_prefix "-moz-column-rule-style" "column-rule-style"

```

Note: after running the above script, I reverted one minor change to the
file multicol-nested-column-rule-001.xht in the theoretically read-only
directory layout/reftests/w3c-css/received/css-multicol/.

Differential Revision: https://phabricator.services.mozilla.com/D44870

--HG--
extra : moz-landing-system : lando
2019-09-05 21:37:32 +00:00
Christian Holler 77a280300f Bug 1578186 - Add fuzzing support for HTTP2 proxy. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D44374

--HG--
extra : moz-landing-system : lando
2019-09-05 19:26:12 +00:00
Christian Holler 95fc013b8b Bug 1528951 - Implement Websocket fuzzing target for Necko. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D42816

--HG--
extra : moz-landing-system : lando
2019-09-05 16:28:42 +00:00
arthur.iakab 4ea120b5cb Backed out changeset e3f06f11de62 (bug 1237782) for causing browser-chrome failure on automation.py CLOSED TREE 2019-09-03 21:04:49 +03:00
Jonathan Kingston dbfd29b586 Bug 1237782 - Remove http override and add appcache pref r=baku
Differential Revision: https://phabricator.services.mozilla.com/D44472

--HG--
extra : moz-landing-system : lando
2019-09-03 16:44:13 +00:00
Honza Bambas 482bfa7a25 Bug 1559088 - Fix test_redirect-caching_failure.js to again do what it has to, r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D43796

--HG--
extra : moz-landing-system : lando
2019-09-03 12:24:11 +00:00
Matt Woodrow 1b5f7c772a Bug 1556489 - P18. Add DocumentChannel and hook it up. r=nika,mayhemer
DocumentChannel acts as a replacement for HttpChannel where redirects are now entirely handled in the DocumentChannelParent. The ContentChild will receive the final nsIChannel once all redirects have been handled.

Differential Revision: https://phabricator.services.mozilla.com/D37490
2019-09-03 10:19:38 +10:00
Bogdan Tara 3310211997 Backed out changeset a4768bd82d57 (bug 1559088) for test_redirect-caching_failure_wrap.js failures CLOSED TREE 2019-08-29 21:01:38 +03:00
Honza Bambas bcbbd6b737 Bug 1559088 - Fix test_redirect-caching_failure.js to again do what it has to, r=kershaw
Differential Revision: https://phabricator.services.mozilla.com/D43796

--HG--
extra : moz-landing-system : lando
2019-08-29 12:07:54 +00:00
Henrik Skupin 1803585259 Bug 1570104 - Add shared IPv4 range from RFC 6598 (100.64/10) to allowed list of IP addresses for testing. r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D40167

--HG--
extra : moz-landing-system : lando
2019-08-28 10:58:48 +00:00
Paul Bone 08bc01ab37 Bug 1576814 - Skip tests that timeout r=kmag
Depends on D43572

Differential Revision: https://phabricator.services.mozilla.com/D43573

--HG--
extra : moz-landing-system : lando
2019-08-27 19:07:43 +00:00
Kershaw Chang 89ca1976ab Bug 1570732 - Skip trr when parental control is enabled r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D42489

--HG--
extra : moz-landing-system : lando
2019-08-23 21:17:15 +00:00
Kershaw Chang 157eb3caa4 Bug 1574410 - Add tests to check captive portal URL is resolved by native dns r=dragana
Differential Revision: https://phabricator.services.mozilla.com/D42491

--HG--
extra : moz-landing-system : lando
2019-08-23 20:23:12 +00:00
Christian Holler 1577bd20a8 Bug 1575493 - Create a RequestContext in the HTTP fuzzing target. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D42815

--HG--
extra : moz-landing-system : lando
2019-08-22 13:38:16 +00:00
Thomas Nguyen bbd6f51a56 Bug 1528697 - Add cenum referrerpolicy in ReferrerInfo.idl r=ckerschb,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D41955

--HG--
extra : moz-landing-system : lando
2019-08-21 13:28:23 +00:00
Dorel Luca 4bc74d1cc5 Backed out changeset 4e11ff3ee0e7 (bug 1575493) for build bustage on build/src/netwerk/test/fuzz/TestHttpFuzzing.cpp. CLOSED TREE 2019-08-21 14:39:19 +03:00