Commit graph

188 commits

Author SHA1 Message Date
Francois Marier
71cb8fa044 Bug 1336376 - Expand the range of values for URLCLASSIFIER_LOOKUP_TIME. r=bsmedberg
MozReview-Commit-ID: 9zh8mldBS7k

--HG--
extra : rebase_source : 35b77f5852847b82f46ac58ebfd66701d977940d
2017-02-03 20:30:08 +08:00
Henry Chang
a835d0face Bug 1323953 - Send 4-byte prefix for both v2/v4 tables. r=francois
MozReview-Commit-ID: 1jlBdSQARNg

--HG--
extra : rebase_source : 94ca2da38a7aeae061a37cb9013b45dfefbcc843
2017-02-07 10:56:12 +08:00
Wes Kocher
79e705d4bd Backed out changeset 3a6b42b3d233 (bug 1336376) for build failures a=backout CLOSED TREE
MozReview-Commit-ID: L3oVRVqNDKj
2017-02-06 18:36:24 -08:00
Thomas Nguyen
144d51b0c6 Bug 1336005 - Add null check when releasing and shutting down background thread r=francois
MozReview-Commit-ID: HKlQLqQH2c9

--HG--
extra : rebase_source : 083c6ce7b44b1a01ce19e55af5e6355a39b8a017
2017-02-07 10:06:21 +08:00
Francois Marier
e0494472bf Bug 1336376 - Expand the range of values for URLCLASSIFIER_LOOKUP_TIME. r=bsmedberg
MozReview-Commit-ID: 9zh8mldBS7k

--HG--
extra : rebase_source : af12b82a2fa18cf42d311ee9e11b72e799d3b131
2017-02-03 20:30:08 +08:00
Dimi Lee
9907b239c2 Bug 1332770 - Fix the google4 provider is showing up as other in some telemetry pings. r=francois
MozReview-Commit-ID: KbpYAnf6qxd

--HG--
extra : rebase_source : fe524ca5afbd1b8b08b80198eeb43db5f84f677e
2017-01-27 18:02:36 +08:00
Dimi Lee
c6aec3beb1 Bug 1333257 - Only cache V2 misses when doing Safe Browsing lookups. r=francois
MozReview-Commit-ID: 6kvM6z5OnPw

--HG--
extra : rebase_source : c180ac1b6c840a6112f72abe3b7984503fad7082
2017-01-26 11:36:52 +08:00
dimi
4f2ec370e6 Bug 1328821 - hash completion request for v4 should not depend on table freshness. r=francois,henry
MozReview-Commit-ID: EIjDrnj1I4S

--HG--
extra : rebase_source : 83be77637f14753a8baf008af65c44e83b93508c
2017-01-17 08:33:08 +08:00
Henry Chang
6bca0ecbd1 Bug 1331534 - Temporarily ignore v4 hash completion result. r=francois
MozReview-Commit-ID: 9P68EP5CWG4

--HG--
extra : rebase_source : fe90582db602a8e62505dcb81dd377480a644af5
2017-01-18 16:49:57 +08:00
Thomas Nguyen
555edcf6af Bug 1324820 - Make sure we resume the channel if there's no classifier callback r=gcp
MozReview-Commit-ID: 35jBJb1Q8Rz

--HG--
extra : rebase_source : 63ae672ec3c9851b0f11ce42ecc76a9dbf4e7826
2017-01-12 18:07:22 +08:00
DimiL
c34f7dfa1b Bug 1311910 - Add telemetry to measure update error and update timeout rate for V2 and V4. r=francois,henry
MozReview-Commit-ID: JL4aZrUOGH7

--HG--
extra : rebase_source : 6945d007bc3e317903837e6cf546935346925433
2016-12-19 09:43:02 +08:00
Henry Chang
5401fe7ad1 Bug 1312339 - LookupResult to support variable length partial hash. r=francois
MozReview-Commit-ID: DKwNCNKJAW

--HG--
extra : rebase_source : 082c8a1d88a00f0d568c56c7ed7214c0b0ed20ef
2016-12-16 14:34:32 +08:00
Henry Chang
758d80f10b Bug 1276826 - Part 2. Send gethash request and handle gethash response for v4. r=francois
MozReview-Commit-ID: 6fIbN6a6gHI

--HG--
extra : rebase_source : d64a2b4f85b24aac0a847a46748b3b3fdf0db749
extra : intermediate-source : c486204319c1afc158b871bad7edd2f7a565022a
extra : source : adf76dccec9d51df0d3a659ffa3dd201d8115bc4
2016-11-28 14:55:36 +08:00
Kershaw Chang
ccfc159353 Bug 1141814 - Part 1: Enable to update TP list if TP is disabled. r=francois 2016-11-30 23:12:00 -05:00
Kirk Steuber
1cf7b0a540 Bug 1321377 - When called from the content process, ClassifyLocalWithTables should return failure instead of causing an IPC error r=Ehsan,francois
MozReview-Commit-ID: B1RemxGRSKB

--HG--
extra : rebase_source : e99ba20a9613bde31d9e7adbf94b5596e6adcd7d
2016-11-30 10:57:48 -08:00
Kirk Steuber
0ddd366738 Bug 1319571 - Change the output format of nsUrlClassifierDBService::ClassifyLocalWithTables from comma separated string to an array of strings r=francois
MozReview-Commit-ID: TXln2EQnZS

--HG--
extra : rebase_source : 520527fabc9d92dc7dc1ec670e79861d03449ca2
2016-11-29 13:04:43 -08:00
Thomas Nguyen
493ff90f5c Bug 1315386 - Make Safe Browsing code more shutdown-aware. r=francois,gcp.
MozReview-Commit-ID: ATCVfh5YLZl

--HG--
extra : rebase_source : d87cfae3838f1a26dc67d2546264e47768011a63
2016-11-25 16:02:37 +08:00
Ehsan Akhgari
e8ea6c8ccf Bug 1318768 - Part 3: Make nsIURIClassifier::ClassifyLocalWithTables() usable in the content process; r=gcp,baku 2016-11-22 08:17:34 -05:00
Ehsan Akhgari
7009c0e03a Bug 1318768 - Part 2: Make nsIURIClassifier::Classify() available in the content process; r=gcp,baku 2016-11-22 08:17:26 -05:00
Ehsan Akhgari
6993003a69 Bug 1318768 - Part 1: Make the URL classifier service initialize in the content process; r=gcp 2016-11-22 08:17:20 -05:00
Henry Chang
1a53231595 Bug 1315097 - Build the provider dictionary on the main thread to be used everywhere. r=francois,gcp
MozReview-Commit-ID: Ft1deSNKuVB

--HG--
extra : rebase_source : 0cf746b1d2def35606f012c994ddbda0857ccf2d
2016-11-04 17:54:05 +08:00
Henry Chang
6cde2e6e52 Bug 1310142 - Preserve backup databases and raw table updates for diagnostic. r=francois
MozReview-Commit-ID: GeJoBrhuTgA

--HG--
extra : rebase_source : 02585bca9853a00bc041874a999b39e6fd7246ea
2016-10-14 17:58:18 +08:00
DimiL
6aad53fa96 Bug 1315140 - Add telemetry for the Safe Browsing shutdown code. r=francois
MozReview-Commit-ID: F9Hv37Mn73P

--HG--
extra : rebase_source : cf65e215a466352c36dfd02fd796f699b825b77d
2016-11-08 15:11:36 +08:00
DimiL
48ddedb04e Bug 1305780 - P1. Implement the update fail scheme for v4. r=gcp
MozReview-Commit-ID: LeVpVIUdmjc

--HG--
extra : rebase_source : bfc189b5a3f1cfc17bd269bcb7e7edad826769a3
2016-10-19 12:52:05 +08:00
Henry
36fa608182 Bug 1307541 - ProtocolParserProtobuf to init and return update time properly. r=francois.
MozReview-Commit-ID: CmVWVKUeunJ

--HG--
extra : rebase_source : e8cd28a805b892fd26ca9bede3523a04f1bb5686
2016-10-18 14:45:21 +08:00
Ehsan Akhgari
a34b273ba0 Bug 1309924 - Remove the needless arguments to nsUrlClassifierClassifyCallback's constructor; r=francois 2016-10-13 18:42:06 -04:00
Michael Layzell
e12728495c Bug 1018486 - Part 9: Changes to account for modifications to clang plugin, r=ehsan
MozReview-Commit-ID: EPQMbfHYxUK
2016-09-07 10:50:47 -04:00
Thomas Nguyen
73a98d5b79 Bug 999484 - Test FindInReadable calls in safebrowsing code. r=gcp
MozReview-Commit-ID: C27J4dh9s6T

--HG--
extra : rebase_source : d9a8ae7ea7073227b30ea2d74ea69a988b46b18e
2016-09-01 10:48:17 +08:00
Henry Chang
ed41f6b285 Bug 1296820 - Skip applying TableUpdateV4 to avoid premature update codes being run. r=dimi,francois
MozReview-Commit-ID: IqjpAVgISLJ

--HG--
extra : rebase_source : 77af1af8876d2eb783e98f5938181835ca01b33a
2016-08-26 14:35:53 +08:00
Henry
db1a9a2ec6 Bug 1287059 - Part 1: Return all possible list names while converting from threat type. r=francois.
MozReview-Commit-ID: KgT4CrBzvu0

--HG--
extra : rebase_source : 6067f296fd820c6948bb418bf67371b56326338a
2016-08-16 17:30:11 +08:00
dimi
2fa583dc0b Bug 1037560 - P1. Safebrowsing pleasereset resets all tables. r=gcp
MozReview-Commit-ID: C5GkBBDAhn3

--HG--
extra : rebase_source : d51e94749549db975651e4bc2e4bde2f38b1a9d0
2016-08-23 08:24:07 +08:00
Henry Chang
4c1f039d17 Bug 1284204 - Parse SafeBrowsing V4 updates to TableUpdateV4. r=francois.
MozReview-Commit-ID: 88AEIbosxKl

--HG--
extra : rebase_source : 0cf1c60713a938a72c87d140869a63b2afa12e3f
extra : source : 13292c9abdce368d506d5c4ff79b4b14781e64ad
2016-08-12 11:55:48 +08:00
Wes Kocher
fee75658b6 Merge m-c to fx-team a=merge CLOSED TREE 2016-08-15 15:04:43 -07:00
Thomas Nguyen
b061760f96 Bug 1120728 - remove nsIUrlClassifierDBServiceWorker. r=francois,gcp
MozReview-Commit-ID: G3HeQ5pecrE

--HG--
extra : rebase_source : 39dbf5f60644f08606ab3cf3cc604fdfbcfb81cb
2016-08-11 11:15:24 +08:00
dimi
365c242c26 Bug 1254766 - Stop caching Safe Browsing completions to disk. r=gcp
MozReview-Commit-ID: 8Qnc8yymgDL
2016-08-11 08:17:39 +08:00
Henry Chang
40cb773d8f Bug 1274112 - Part 2: Use protobuf API to parse v4 update response. r=francois
MozReview-Commit-ID: 3sjR3Feq4ua

--HG--
extra : rebase_source : 0c3ef1b0b0d564190c8e2e410a1201216cdbf53c
2016-08-04 18:10:12 +08:00
dimi
2ce5c03b9b Bug 1272239 - Part 1: Support completion for test database. r=francois
MozReview-Commit-ID: 85BALQHKSal
2016-07-21 15:35:36 +08:00
Yoshi Huang
e24cc195d9 Bug 1274893 - remove -forbid- list from SafeBrowsing. r=francois 2016-07-11 16:11:32 +08:00
Thomas Nguyen
ffba687a20 Bug 1025965 - Rename browser.safebrowsing.enabled to browser.safebrowsing.phishing.enabled. r=francios
MozReview-Commit-ID: 3TMs6MPtWsC
2016-05-09 14:44:08 +08:00
Carsten "Tomcat" Book
5f482a04ff Backed out changeset dc114bc5a88e (bug 1272239) for test failures in own test
--HG--
extra : rebase_source : 333768aab2f99c2a56a3717a09947e1e6b0e234d
2016-06-15 22:17:26 +01:00
dlee
8044ad8507 Bug 1272239 - P1. Support completion for test database. r=francois
--HG--
extra : rebase_source : 7f1b786db70e2de24d1d561bb329bad0d853e020
2016-06-14 14:32:03 +01:00
Ralph Giles
2d78dbf106 Bug 1275744 - Reference MOZ_LOG in toolkit comments. r=erahm
NSPR_LOG_MODULES is deprecated.

MozReview-Commit-ID: 2iZFe60Uxvi

--HG--
extra : rebase_source : 040671ce46a6d8b7d8503f4a05ff5ef04968a8aa
2016-05-26 11:14:47 -07:00
Cykesiopka
d0633097bc Bug 1247798 - Make nsUrlClassifierDBService::Init() register pref observers only in the success case. r=gcp
These observers should only be added when everything else has succeeded.
Failing to do so can cause long shutdown hangs in certain situations such as during periodic HSTS update runs.

MozReview-Commit-ID: IoJ4PscS1u3

--HG--
extra : transplant_source : %28%A8%D6l%FF%BB%F7%B90%F8%AC%D0P%2A%14K%0B%16%18W
2016-04-03 00:58:43 -07:00
Tobias Schneider
9dd3cff0b6 Bug 1237198 - Block SWFs on the content blocking list hosted on the Shavar service. r=francois 2016-03-29 00:37:44 -07:00
sajitk
2ed26c8df4 Bug 1219482: Replace PRLogModuleInfo with LazyLogModule in toolkit subdirectory.r=erahm 2016-01-28 10:37:00 -08:00
Francois Marier
5f9205dae9 Bug 1164518 - Avoid unnecessary DB updates when caching Safe Browsing results. r=gcp
MozReview-Commit-ID: HYNaTdCRohL

--HG--
extra : rebase_source : 681b33066b21719296c9d33f8d71a72335513188
2016-03-04 12:33:20 -08:00
Francois Marier
5e966c74d9 Bug 1164518 - Minor optimizations for Safe Browsing completions. r=gcp
- added an early exit to skip table string comparisons on a 204
- removed an unnecessary NS_WARNING on gethash errors (e.g. 503s)
- do the noise check first since it's the majority of completions

MozReview-Commit-ID: Lqae5DbUrs8

--HG--
extra : rebase_source : c3d86dbe502039ccb1a44fc29df479b29dcf2934
2016-03-02 14:55:44 -08:00
Francois Marier
5306fd5619 Bug 1164518 - Better logging of completions. r=gcp
MozReview-Commit-ID: JqhDC9GzB8l

--HG--
extra : rebase_source : c174046a80d128053adbcc9ca498a14c1f381ca0
2016-03-02 14:54:59 -08:00
Aidin Gharibnavaz
686438c658 Bug 1164581 - Adding an overload for NS_ProxyRelease that accepts already_AddRefed, and removing all the others. r=bobbyholley 2016-02-10 08:23:00 +01:00
Carsten "Tomcat" Book
5b358688b7 Backed out changeset c18e29c1b369 (bug 1164581) for cpp unit tests test failures
--HG--
extra : rebase_source : fb6fd434c8e3f4b5fa53ea645a54c07cab207894
2016-02-08 11:17:38 +01:00