Eugen Sawin
ec698cd716
Bug 1525388 - [1.0] Set URL classifier update prefs to enable list updates and remove previous workaround. r=dimi
...
Differential Revision: https://phabricator.services.mozilla.com/D18736
2019-02-06 07:23:39 +00:00
Andrea Marchesini
5a9e597f3d
Bug 1522210 - Fingerprinting and cryptomining classifiers must have separate nsIWebProgressListener blocking state codes - part 1 - UrlClassifierFeatureFactory::IsClassifierBlockingErrorCode, r=ehsan
...
Differential Revision: https://phabricator.services.mozilla.com/D17637
2019-01-30 13:43:34 +01:00
Myk Melez
5ecc2c1225
Bug 1518283 - prohibit blank lines at the beginning and end of blocks (eslint padded-blocks) r=mossop,Standard8
...
Differential Revision: https://phabricator.services.mozilla.com/D17526
2019-01-30 17:26:25 +00:00
shindli
776effa650
Merge mozilla-central to inbound. a=merge CLOSED TREE
2019-01-29 23:54:31 +02:00
shindli
ab4e6c3ffb
Merge inbound to mozilla-central. a=merge
2019-01-29 23:37:33 +02:00
Kris Maglione
1dad1ad235
Bug 1478124: Follow-up: Fix merge conflict. r=bustage CLOSED TREE
2019-01-29 13:13:00 -08:00
Andrea Marchesini
766206546d
Bug 1522265 - Moving malware, phishing and blocked URIs to features - part 5 - Fix a method name call, r=me CLOSED TREE
2019-01-29 15:21:43 +01:00
Andrea Marchesini
9acb35ab86
Bug 1522265 - Moving malware, phishing and blocked URIs to features - part 4 - Phishing Protection, r=dimi
2019-01-29 10:11:34 +01:00
Andrea Marchesini
416f469b5c
Bug 1522265 - Moving malware, phishing and blocked URIs to features - part 3 - DBService updated, r=dimi
2019-01-29 10:11:34 +01:00
arthur.iakab
e2d46fcd9f
Backed out 4 changesets (bug 1522265) for mochitest assertion failures on extensions/cookie/nsPermissionManager.cpp CLOSED TREE
...
Backed out changeset 38b4179568c7 (bug 1522265)
Backed out changeset 38b824df9d02 (bug 1522265)
Backed out changeset 6085d51681f8 (bug 1522265)
Backed out changeset e6a0832f3b11 (bug 1522265)
2019-01-29 14:25:00 +02:00
Andrea Marchesini
d093c9582c
Bug 1522265 - Moving malware, phishing and blocked URIs to features - part 4 - Phishing Protection, r=dimi
2019-01-29 10:11:34 +01:00
Andrea Marchesini
6ea43382ea
Bug 1522265 - Moving malware, phishing and blocked URIs to features - part 3 - DBService updated, r=dimi
2019-01-29 10:11:34 +01:00
arthur.iakab
127fb281ff
Backed out 16 changesets (bug 1478124) for failing android geckoview-junit CLOSED TREE
...
Backed out changeset fce62c77a56b (bug 1478124)
Backed out changeset eb2fa3b5edf7 (bug 1478124)
Backed out changeset 8dacce59fcc0 (bug 1478124)
Backed out changeset 012fd0107204 (bug 1478124)
Backed out changeset 496aaf774697 (bug 1478124)
Backed out changeset 21f4fda03159 (bug 1478124)
Backed out changeset b0444e0bc801 (bug 1478124)
Backed out changeset d94039b19943 (bug 1478124)
Backed out changeset 5d85deac61c2 (bug 1478124)
Backed out changeset 929fd654c9df (bug 1478124)
Backed out changeset 1ddd80d9e91a (bug 1478124)
Backed out changeset b8d2dfdfc324 (bug 1478124)
Backed out changeset f500020a273a (bug 1478124)
Backed out changeset dd00365ebb55 (bug 1478124)
Backed out changeset 538e40c5ee13 (bug 1478124)
Backed out changeset bedaa9c437ad (bug 1478124)
2019-01-29 10:03:06 +02:00
Dimi Lee
01a82811a6
Bug 1513535 - Support the ability to separate feature toggle and list update in URL classifier. r=gcp
...
Add preferences "browser.safebrowsing.features.[feature name].update".
Normally these preferences won't be set so the SafeBrowsing uses features's
enable/disable preferences to decide if it should update the list or
not.
If an update preference is present, then it has higher priority then the
enable/disable one.
This provides a way for the SafeBrowsing consumer to be able to separate
feature toggle and upodate.
Differential Revision: https://phabricator.services.mozilla.com/D17233
2019-01-22 16:13:41 +00:00
Kris Maglione
856fa07b17
Bug 1514594: Part 3 - Change ChromeUtils.import API.
...
***
Bug 1514594: Part 3a - Change ChromeUtils.import to return an exports object; not pollute global. r=mccr8
This changes the behavior of ChromeUtils.import() to return an exports object,
rather than a module global, in all cases except when `null` is passed as a
second argument, and changes the default behavior not to pollute the global
scope with the module's exports. Thus, the following code written for the old
model:
ChromeUtils.import("resource://gre/modules/Services.jsm");
is approximately the same as the following, in the new model:
var {Services} = ChromeUtils.import("resource://gre/modules/Services.jsm");
Since the two behaviors are mutually incompatible, this patch will land with a
scripted rewrite to update all existing callers to use the new model rather
than the old.
***
Bug 1514594: Part 3b - Mass rewrite all JS code to use the new ChromeUtils.import API. rs=Gijs
This was done using the followng script:
https://bitbucket.org/kmaglione/m-c-rewrites/src/tip/processors/cu-import-exports.jsm
***
Bug 1514594: Part 3c - Update ESLint plugin for ChromeUtils.import API changes. r=Standard8
Differential Revision: https://phabricator.services.mozilla.com/D16747
***
Bug 1514594: Part 3d - Remove/fix hundreds of duplicate imports from sync tests. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16748
***
Bug 1514594: Part 3e - Remove no-op ChromeUtils.import() calls. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16749
***
Bug 1514594: Part 3f.1 - Cleanup various test corner cases after mass rewrite. r=Gijs
***
Bug 1514594: Part 3f.2 - Cleanup various non-test corner cases after mass rewrite. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D16750
2019-01-17 10:18:31 -08:00
Ehsan Akhgari
867bd3195b
Bug 1522630 - Report content blocking status notifications from the idle event queue; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D17554
2019-01-28 10:05:58 -05:00
Coroiu Cristina
07979e1309
Backed out changeset 5c956ce0000a (bug 1522630) for build bustage at /builds/worker/workspace/build/src/dom/base/nsGlobalWindowOuter.cpp on a CLOSED TREE
2019-01-28 16:41:07 +02:00
Ehsan Akhgari
e6353624c2
Bug 1522630 - Report content blocking status notifications from the idle event queue; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D17554
2019-01-28 09:22:07 -05:00
Ciure Andrei
852ad3f11c
Backed out changeset 1438836abeab (bug 1522630) for causing testTrackingProtection perma failures a=backout
2019-01-26 15:00:44 +02:00
Ehsan Akhgari
803bbc49e4
Bug 1522630 - Report content blocking status notifications from the idle event queue; r=baku
...
Differential Revision: https://phabricator.services.mozilla.com/D17554
2019-01-25 19:10:54 -05:00
Kris Maglione
4b169665d2
Bug 1478124: Part 8a - Update toolkit module to use a static component manifest. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D15039
2018-12-16 16:03:00 -08:00
Kris Maglione
3c9b881f84
Bug 1478124: Part 8a - Update toolkit module to use a static component manifest. r=froydnj
...
Differential Revision: https://phabricator.services.mozilla.com/D15039
2018-12-16 16:03:00 -08:00
Ciure Andrei
e7c5264fd7
Merge mozilla-central to autoland. a=merge CLOSED TREE
2019-01-23 20:53:05 +02:00
Ehsan Akhgari
5119fb0fff
Bug 1509112 - Consider the content frame sitting directly beneath a moz-extension frame that has a host permission granting access to that frame as a top-level frame; r=kmag,baku
...
Differential Revision: https://phabricator.services.mozilla.com/D14832
2019-01-23 14:55:49 +00:00
Andrea Marchesini
99ecfbd803
Bug 1516133 - Avoid extra main-thread jumps during the URL-classification, r=dimi
2019-01-17 09:33:25 +01:00
Coroiu Cristina
0310205bb2
Backed out changeset e310a6576d51 (bug 1516133) for service-workers failures with crashes on MOZ_CrashOOL
2019-01-23 13:43:15 +02:00
Andrea Marchesini
86a1985ac9
Bug 1516133 - Avoid extra main-thread jumps during the URL-classification, r=dimi
2019-01-17 09:33:25 +01:00
Csoregi Natalia
d6589b4873
Backed out changeset fef99cfead16 (bug 1516133) for service-workers failures with crashes on MOZ_CrashOOL. CLOSED TREE
2019-01-23 02:08:39 +02:00
Razvan Maries
383b28cf37
Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE
2019-01-21 20:01:06 +02:00
Ehsan Akhgari
5530c0b72d
Bug 1514340 - Part 2: Break out the content blocking related notifications into nsIWebProgressListener.onContentBlockingEvent(); r=baku,johannh
...
Differential Revision: https://phabricator.services.mozilla.com/D16052
2019-01-21 09:58:50 -05:00
Sylvestre Ledru
717842459d
Bug 1519636 - Reformat recent changes to the Google coding style r=Ehsan
...
# ignore-this-changeset
Differential Revision: https://phabricator.services.mozilla.com/D17063
2019-01-21 14:49:22 +00:00
Margareta Eliza Balazs
7fe3543679
Merge mozilla-central to inbound. a=merge CLOSED TREE
2019-01-18 12:31:59 +02:00
Ehsan Akhgari
498e2df734
Bug 1521000 - Part 2: Adjust our clang-format rules to include spaces after the hash for nested preprocessor directives r=sylvestre
...
# ignore-this-changeset
2019-01-18 10:16:18 +01:00
Ehsan Akhgari
53c197e13a
Bug 1521000 - Part 1: Reformat the tree to ensure everything is formatted correctly with clang-format r=sylvestre
...
Summary: # ignore-this-changeset
Reviewers: sylvestre
Reviewed By: sylvestre
Subscribers: reviewbot, emilio, jandem, bbouvier, karlt, jya
Bug #: 1521000
Differential Revision: https://phabricator.services.mozilla.com/D16936
2019-01-18 10:12:56 +01:00
Dimi Lee
4046527798
Bug 1501458 - Remove unused tracking protection code from nsUrlClassifierDBService. r=baku
...
No one is using the aUseTrackingProtection parameter and also tracking
protection related preference in Classify API. And we shouldn't use it
that way in the future.
Differential Revision: https://phabricator.services.mozilla.com/D16798
2019-01-17 21:24:43 +00:00
Andrea Marchesini
e7e8e3b087
Bug 1516133 - Avoid extra main-thread jumps during the URL-classification, r=dimi
2019-01-17 12:30:27 +01:00
Brindusan Cristian
b7950beba6
Backed out changeset cf370ec3969a (bug 1516133) for mochitest assertion failures. CLOSED TREE
2019-01-17 12:51:13 +02:00
Andrea Marchesini
1ea9c8ea98
Bug 1516133 - Avoid extra main-thread jumps during the URL-classification, r=dimi
2019-01-17 09:33:25 +01:00
Andrea Marchesini
bcbe09b344
Bug 1520519 - Cleanup nsUrlClassifierDBService::Lookup method, r=dimi
2019-01-16 22:49:26 +01:00
dlee
ca7fb73fc7
Bug 1513490 - Support update cryptomining and fingerprinting list in SafeBrowsing. r=gcp
...
Add the fingerprinting and cryptomining tables to the SafeBrowsing
update list.
Leave the preference of blacklist/whitelist tables empty until the
shavar server is ready.
Differential Revision: https://phabricator.services.mozilla.com/D16533
2019-01-15 19:29:49 +00:00
Dimi Lee
a220bdd62c
Bug 1513490 - Refactor SafeBrowsing.jsm with feature list. r=gcp
...
When we add a table to SafeBrowsing.jsm we need to add related code in
various places. This patch simplify the work by providing a FEATURE
table which defines the data required.
Differential Revision: https://phabricator.services.mozilla.com/D16532
2019-01-15 20:04:40 +00:00
Dimi Lee
1d8fec5566
Bug 1519660 - Remove flash info bar from SafeBrowsing list. r=gcp
...
Differential Revision: https://phabricator.services.mozilla.com/D16397
2019-01-14 15:47:23 +00:00
Andrea Marchesini
b1825fc96e
Bug 1516133 - Avoid extra main-thread jumps during the URL-classification, r=dimi
2019-01-17 09:33:25 +01:00
Andrea Marchesini
75e722b271
Bug 1513300 - Implement Cryptomining URL-Classifier, r=dimi
2019-01-09 12:16:04 +01:00
Andrea Marchesini
15f4f03de9
Bug 1513298 - Fingerprinting url-classifier feature, r=dimi
2019-01-09 12:16:04 +01:00
Noemi Erli
710e43c415
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
47607ea561
Bug 1513298 - Fingerprinting url-classifier feature, r=dimi
2019-01-08 23:05:41 +01:00
Andrea Marchesini
a45e910940
Bug 1517308 - Add a search field in about:url-classifier - part 1 - nsIUrlClassifier.getFeatureNames(), r=dimi
2019-01-08 23:05:40 +01:00
Andrea Marchesini
518057c967
Bug 1515286 - Get rid of nsIURIClassifier.asyncClassifyLocalWithTables, r=dimi
2019-01-05 09:10:56 +01:00
Andrea Marchesini
d5625220f1
Bug 1515286 - Introduce nsIURIClassifier.getFeatureByName() and nsIURIClassifier.createFeatureWithTables(), r=dimi
2019-01-05 09:10:45 +01:00