Kershaw Chang
1b6d34eee2
Bug 1513057 - P3: Setup memory reporter on socket process r=dragana,mayhemer
...
To setup memory reporter on socket process, this patch modifies the PSocketProcess protocol to implement the same memory reporting functions as the PContent and PGPU protocols.
Differential Revision: https://phabricator.services.mozilla.com/D14155
--HG--
extra : moz-landing-system : lando
2019-01-11 20:52:39 +00:00
Kershaw Chang
8241bd3c41
Bug 1513057 - P2: Setup crash reporter on socket process r=dragana,mayhemer
...
This patch is quite straightforward. Just add socket process support.
Differential Revision: https://phabricator.services.mozilla.com/D14151
--HG--
extra : moz-landing-system : lando
2019-01-11 18:48:25 +00:00
Kershaw Chang
9973068a10
Bug 1513057 - P1.1: Create a reusable class to pass prefs to child processes r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D14970
--HG--
extra : moz-landing-system : lando
2019-01-11 18:39:22 +00:00
Kershaw Chang
0b336d5545
Bug 1513057 - P1: Start the new socket process basics (prefs, full xpcom init, logging, no sandboxing) r=mayhemer,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D14148
--HG--
extra : moz-landing-system : lando
2019-01-11 18:57:23 +00:00
Kyle Machulis
32abb9ff27
Bug 1518956 - Make C++ infallible/simplified versions of nsIURI::SchemeIs; r=valentin
...
SchemeIs only throws exceptions on null arguments now. Assert
arguments, as they should never be null anyways, and create an
infallible C++ version.
Differential Revision: https://phabricator.services.mozilla.com/D16143
--HG--
extra : moz-landing-system : lando
2019-01-11 08:09:33 +00:00
Andreea Pavel
21ad33d612
Backed out 10 changesets (bug 1513057) for build bustages on a CLOSED TREE
...
Backed out changeset 56329b5f1844 (bug 1513057)
Backed out changeset 46411c5de3da (bug 1513057)
Backed out changeset de65c456aad6 (bug 1513057)
Backed out changeset f648b5f1a7c2 (bug 1513057)
Backed out changeset 460bbf0849e1 (bug 1513057)
Backed out changeset 86032a14d26f (bug 1513057)
Backed out changeset a81f83df08d5 (bug 1513057)
Backed out changeset edbda5ee5fd5 (bug 1513057)
Backed out changeset c900ac2519f5 (bug 1513057)
Backed out changeset 4e94bbb90315 (bug 1513057)
2019-01-11 17:02:44 +02:00
Kershaw Chang
db8c311487
Bug 1513057 - P9: socket oepration should wait until socket process launch r=mayhemer,dragana,kershaw
...
Differential Revision: https://phabricator.services.mozilla.com/D14510
--HG--
extra : moz-landing-system : lando
2019-01-11 14:23:19 +00:00
Kershaw Chang
562055d29e
Bug 1513057 - P8: Report telemetry from socket process to parent process r=dragana,mayhemer,janerik
...
Differential Revision: https://phabricator.services.mozilla.com/D14362
--HG--
extra : moz-landing-system : lando
2019-01-11 14:23:19 +00:00
Kershaw Chang
f66295c49c
Bug 1513057 - P7: Setup Gecko profiler on the socket process r=dragana,mayhemer,mstange
...
Differential Revision: https://phabricator.services.mozilla.com/D14351
--HG--
extra : moz-landing-system : lando
2019-01-11 13:30:47 +00:00
Kershaw Chang
1c5e5caaaf
Bug 1513057 - P6: Create Background between content process and socket process r=dragana,mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D14348
--HG--
extra : moz-landing-system : lando
2019-01-11 13:30:09 +00:00
Kershaw Chang
5218bf3692
Bug 1513057 - P5: Create IPC between content process and socket process r=dragana,mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D14257
--HG--
extra : moz-landing-system : lando
2019-01-11 13:29:33 +00:00
Kershaw Chang
078fff139b
Bug 1513057 - P4: Update online/offline status to socket process r=dragana,mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D14161
--HG--
extra : moz-landing-system : lando
2019-01-11 13:29:21 +00:00
Kershaw Chang
07a7cc19a1
Bug 1513057 - P3: Setup memory reporter on socket process r=dragana,mayhemer
...
To setup memory reporter on socket process, this patch modifies the PSocketProcess protocol to implement the same memory reporting functions as the PContent and PGPU protocols.
Differential Revision: https://phabricator.services.mozilla.com/D14155
--HG--
extra : moz-landing-system : lando
2019-01-11 13:28:00 +00:00
Kershaw Chang
99fe2d101a
Bug 1513057 - P2: Setup crash reporter on socket process r=dragana,mayhemer
...
This patch is quite straightforward. Just add socket process support.
Differential Revision: https://phabricator.services.mozilla.com/D14151
--HG--
extra : moz-landing-system : lando
2019-01-11 13:26:56 +00:00
Kershaw Chang
d0f8c9de61
Bug 1513057 - P1.1: Create a reusable class to pass prefs to child processes r=dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D14970
--HG--
extra : moz-landing-system : lando
2019-01-11 14:12:53 +00:00
Kershaw Chang
0c2943008a
Bug 1513057 - P1: Start the new socket process basics (prefs, full xpcom init, logging, no sandboxing) r=mayhemer,dragana
...
Differential Revision: https://phabricator.services.mozilla.com/D14148
--HG--
extra : moz-landing-system : lando
2019-01-11 14:07:47 +00:00
Tom Ritter
ba7c4014b7
Bug 1509829 - Spoof OS in HTTP User-Agent header for desktop platforms r=timhuang,baku
...
In 1404608, the OS was revealed in both the HTTP User-Agent
header and to JavaScript code via navigator.userAgent. To avoid
leaking the OS inside each HTTP request (which many web servers
log), always use the Windows 7 OS value in the desktop User-Agent
header. We continue to allow access to the actual OS via JavaScript,
since doing so improves compatibility with web applications such
as GitHub and Google Docs.
This is an uplift of Tor's 26146
2019-01-09 12:53:30 -06:00
Dragana Damjanovic
2a013cc260
Bug 1515459 - Check if we reenter CreateShimError. r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D15297
--HG--
extra : moz-landing-system : lando
2019-01-08 20:40:35 +00:00
Paolo Amadini
ffa6503244
Bug 983187 - Test that downloads fail when an RST packet is received. r=mayhemer
...
This adds a way to simulate failed network connections, allowing the addition of test coverage that would otherwise not be available. This is used in the Downloads tests to ensure that failures at the network level are handled correctly.
Differential Revision: https://phabricator.services.mozilla.com/D15522
--HG--
extra : rebase_source : 2597b27de5213b0322520cefafe10a197d0d3b83
2019-01-09 11:48:23 +00:00
Michal Novotny
1ac8081516
Bug 1513676 - Twice-reported memory allocations in CacheStorageService code, r=honzab
...
Do not report malloc size of CacheIOThread::mThread, because it can be reported by ThreadsReporter.
--HG--
extra : rebase_source : b077f80a82c5df70f1b3f267f7718f1ad7f94ea1
2019-01-08 16:38:00 +02:00
Andrea Marchesini
10799b6b03
Bug 1513300 - Implement Cryptomining URL-Classifier, r=dimi
2019-01-09 12:16:04 +01:00
Andrea Marchesini
0c34bd1c34
Bug 1513298 - Fingerprinting url-classifier feature, r=dimi
2019-01-09 12:16:04 +01:00
Noemi Erli
ac42324894
Backed out changeset 76f3be6b25e1 (bug 1513298) for ES lint failure in test_fingerprinting.html CLOSED TREE
2019-01-09 12:15:44 +02:00
Andrea Marchesini
f10ced4f9d
Bug 1513298 - Fingerprinting url-classifier feature, r=dimi
2019-01-08 23:05:41 +01:00
Andrea Marchesini
d4de202543
Bug 1517308 - Add a search field in about:url-classifier - part 1 - nsIUrlClassifier.getFeatureNames(), r=dimi
2019-01-08 23:05:40 +01:00
Michal Novotny
f0e2bfb56c
Bug 1479357 - Specific values for browser.cache.disk.capacity do break the cache, r=mayhemer
...
This patch changes all size limits in CacheObserver to kilobytes. The same unit is used at most places when checking these limits. This avoids uint32_t overflow when converting to bytes and back.
2019-01-08 16:28:00 +02:00
Andrea Marchesini
7728c152a2
Bug 1417463 - Default accept header should follow the fetch spec - tests, r=mayhemer
2019-01-08 23:36:17 +01:00
Andrea Marchesini
5752cef527
Bug 1417463 - Default accept header should follow the fetch spec, r=mayhemer
...
For navigation: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
For images: image/png,image/svg+xml,image/*;q=0.8,*/*;q=0.5
for style: text/css,*/*;q=0.1
Anything else: */*
2019-01-08 23:36:16 +01:00
Valentin Gosu
55d58519a7
Bug 1517542 - Fail URL deserialization if query or ref start at position 0 r=mayhemer
...
Differential Revision: https://phabricator.services.mozilla.com/D15854
--HG--
extra : moz-landing-system : lando
2019-01-08 15:00:05 +00:00
Tom Schuster
82d1aa2207
Bug 1510223 - Test for MIME type warning. r=ckerschb,nchevobbe
...
Turns out we also produced an error instead of a warnings.
Good that we added those test \o/
Differential Revision: https://phabricator.services.mozilla.com/D15659
--HG--
extra : moz-landing-system : lando
2019-01-08 12:28:32 +00:00
Oana Pop Rus
3adbeba770
Merge mozilla-inbound to mozilla-central. a=merge
2019-01-08 12:13:02 +02:00
Dragana Damjanovic
7bdd6628ba
Bug 1514688 - In case we already have a h2 connection and it does not support websockets, we should not try again to use websockets over h2. r=michal
...
There are 2 parts of the patch:
1) we should not try to use websockets over h2 if we already know that they are not supported.
2) make sure that we clean up websockets waiting for the settings frame when we close a h2 connection. (the part 1) will fix the issue, this part is only to be 100% that we some how do not retrigger the issue)
Differential Revision: https://phabricator.services.mozilla.com/D15296
--HG--
extra : moz-landing-system : lando
2019-01-07 23:09:35 +00:00
Ehsan Akhgari
b63debc2d4
Bug 1517014 - Part 1: Add nsIPermissionManager.testPermissionOriginNoSuffix(), an API for testing permissions using an origin string without the overhead of parsing it into a URI; r=nika
...
For consumers which have an origin string, currently they need to parse it into
a URI before they can call testPermission(). Internally, in the common case this
nsIURI* argument will be immediately converted back into the same origin string
in PermissionKey::CreateFromURI(). This means that the cost of parsing the
original origin string will effectively end up being wasted in the common case.
This patch adds an API that allows the consumer to test a permission using the
origin string directly, and only parse it into an nsIURI when necessary, thereby
avoiding this overhead.
Differential Revision: https://phabricator.services.mozilla.com/D15543
--HG--
extra : moz-landing-system : lando
2019-01-07 18:45:26 +00:00
Csoregi Natalia
4eda4d34c0
Merge mozilla-central to mozilla-inbound. CLOSED TREE
2019-01-07 23:51:06 +02:00
Jeff Walden
a128f0c35c
Bug 1517624 - Move JSPropertySpec and JSFunctionSpec definitions into a new js/public/PropertySpec.h header. r=arai
...
--HG--
extra : rebase_source : b80911e01f984ee9f99fbbc6c4552ef3d2178587
2019-01-03 15:37:01 -06:00
Andrea Marchesini
4712d40e55
Bug 1514697 - Lazy loading for URL-Classifier features, r=dimi
2019-01-05 09:11:06 +01:00
Andrea Marchesini
1aada62615
Bug 1515286 - Get rid of nsIURIClassifier.asyncClassifyLocalWithTables, r=dimi
2019-01-05 09:10:56 +01:00
Andrea Marchesini
7872e64c7c
Bug 1515286 - Introduce nsIURIClassifier.getFeatureByName() and nsIURIClassifier.createFeatureWithTables(), r=dimi
2019-01-05 09:10:45 +01:00
shindli
ce5a0b424d
Merge mozilla-central to inbound. a=merge CLOSED TREE
2019-01-05 06:09:57 +02:00
Jeff Walden
d084a5e469
Back out f8a29b8bb211, d1267711aef0, df1b7a886a9d, 0f6a3dd2c2f7, e6628922b7be, 0a374ac233cd, cf00fd0f080c, 6fc24c4e7798, ab2e4a2e5dd2, 2d17e4ef5e71, 4a8940073f8c, ea3ab4b83152, c7577c232591, e58454c68f0f, and 0e39815d1bce for breaking a single Android J10 and nothing else. (That J10 task must not like deck chairs...) r=bustage
...
--HG--
extra : rebase_source : f02dabe3ece7955cb223313d3605b825560c62b1
2019-01-04 16:33:01 -06:00
bitnotri
542ea80ecd
Bug 1461737 - Move nsstring-rs to a better location, r=nika
...
Differential Revision: https://phabricator.services.mozilla.com/D15743
--HG--
rename : servo/support/gecko/nsstring/Cargo.toml => xpcom/rust/nsstring/Cargo.toml
rename : servo/support/gecko/nsstring/src/conversions.rs => xpcom/rust/nsstring/src/conversions.rs
rename : servo/support/gecko/nsstring/src/lib.rs => xpcom/rust/nsstring/src/lib.rs
extra : moz-landing-system : lando
2019-01-04 22:03:56 +00:00
Ciure Andrei
7a748ae68f
Merge mozilla-central to autoland. a=merge CLOSED TREE
2019-01-04 01:03:06 +02:00
Boris Zbarsky
058f83508f
Bug 1517434 part 2. Convert existing callers of GetIsSystemPrincipal() to IsSystemPrincipal(). r=mccr8
...
Differential Revision: https://phabricator.services.mozilla.com/D15673
--HG--
extra : moz-landing-system : lando
2019-01-03 20:55:38 +00:00
Jeff Walden
87aba62a4a
Bug 1517624 - Move JSPropertySpec and JSFunctionSpec definitions into a new js/public/PropertySpec.h header. r=arai
2019-01-03 15:37:01 -06:00
Andrea Marchesini
647b040b0f
Bug Bug 1515272 - Get rid of nsIURIClassifier.classifyLocal(), r=dimi, r=froydnj
2019-01-04 14:46:30 +01:00
Andrea Marchesini
e34612e16e
Bug 1514202 - Port flash url-classifier to nsIUrlClassifierFeature - part 1 - Flash feature, r=dimi, r=edgar, r=valentin
2019-01-04 14:45:42 +01:00
Tom Schuster
008b6d8204
Bug 1510223 - Warn about scripts with wrong MIME type. r=ckerschb,nchevobbe
...
Differential Revision: https://phabricator.services.mozilla.com/D14859
--HG--
extra : moz-landing-system : lando
2019-01-03 08:58:48 +00:00
Ehsan Akhgari
60238893a6
Bug 1517057 - Part 2: Avoid minting a new codebase principal in the channel-based version of AntiTrackingCommon::IsFirstPartyStorageAccessGrantedFor() in the common case to make things faster; r=baku
...
Depends on D15547
Differential Revision: https://phabricator.services.mozilla.com/D15548
--HG--
extra : moz-landing-system : lando
2019-01-02 15:41:59 +00:00
Ehsan Akhgari
61338d3be7
Bug 1517057 - Part 1: Remove support for the unused URI_FORBIDS_COOKIE_ACCESS protocol flag; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D15547
--HG--
extra : moz-landing-system : lando
2019-01-02 15:42:08 +00:00
ffxbld
7745a0ae89
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/D15511
--HG--
extra : moz-landing-system : lando
2018-12-31 13:34:39 +00:00