Florian Queze
37ff4fc7cc
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Sebastian Hengst
a07223d699
Backed out changeset 322fde2d53bf (bug 1356569) so bug 1355161 can be backed out. r=backout
2017-04-14 23:39:22 +02:00
Florian Queze
95d4d20c17
Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws.
2017-04-14 21:51:38 +02:00
Henry Chang
f3be63826d
Bug 1339050 - Asynchronously apply safebrowsing DB update. r=francois,gcp
...
A new function Classifier::AsyncApplyUpdates() is implemented for async update.
Besides, all public Classifier interfaces become "worker thread only" and
we remove DBServiceWorker::ApplyUpdatesBackground/Foreground.
In DBServiceWorker::FinishUpdate, instead of calling Classifier::ApplyUpdates,
we call Classifier::AsyncApplyUpdates and install a callback for notifying
the update observer when update is finished. The callback will occur on the
caller thread (i.e. worker thread.)
As for the shutdown issue, when the main thread is notified to shut down,
we at first *synchronously* dispatch an event to the worker thread to
shut down the update thread. After getting synchronized with all other
threads, we send last two events "CancelUpdate" and "CloseDb" to notify
dangling update (i.e. BeginUpdate is called but FinishUpdate isn't)
and do cleanup work.
MozReview-Commit-ID: DXZvA2eFKlc
--HG--
extra : rebase_source : cd2e27a6b679d2c96e769854d1582ed2dcda12bb
2017-04-06 07:07:56 +08:00
Jared Wein
9141469edf
Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
...
MozReview-Commit-ID: FuVu8skcqOe
--HG--
extra : rebase_source : 8ab34c4e46a7c3075b459bf44786ec184d10d203
2016-12-30 21:47:25 -05:00
Dave Townsend
0a2c8f9b78
Bug 1316882: Turn on space-infix-ops eslint rule. r=jaws
...
MozReview-Commit-ID: HBpjT2uHJaZ
--HG--
extra : rebase_source : 78fe71a1d673a1c698520a9c82c6f35959614f8f
2016-11-10 14:48:04 -08:00
Gijs Kruitbosch
4ba7ead0fe
Bug 1314812 - followup nit: remove obsolete comments, rs=trivial,me,firebot, DONTBUILD
...
MozReview-Commit-ID: 8ElUTOUxEX8
2016-11-08 16:02:15 +00:00
Blake Kaplan
8e1dba7d2e
Bug 1314812 - Remove code that manually times out loads in favor of relying on the test harness. r=Gijs
...
MozReview-Commit-ID: FZB9ys9lvIN
--HG--
extra : rebase_source : 11a63b4b08fd8c64bbdbd4de2c4d968503aa807d
2016-11-02 16:03:11 -07:00
Yoshi Huang
e24cc195d9
Bug 1274893 - remove -forbid- list from SafeBrowsing. r=francois
2016-07-11 16:11:32 +08:00
Blake Kaplan
5688cefb7f
Bug 1163418 - Remove use of CPOWs in safebrowsing tests. r=felipe
2016-06-21 13:46:02 -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
Francois Marier
f6fd256206
Bug 1216723 - Add tests for the new -forbid- Safe Browsing list type. r=gcp
2015-11-20 20:25:11 -08:00
Francois Marier
17b87281f2
Bug 1147212 - Add support for goog-unwanted-shavar. r=gcp,r=matej,r=smaug
...
--HG--
rename : toolkit/components/url-classifier/tests/mochitest/evilWorker.js => toolkit/components/url-classifier/tests/mochitest/unwantedWorker.js
extra : rebase_source : efe09564160fb2fcb1adb5f6599183f053268c40
2015-04-22 21:01:37 +12:00
Monica Chew
1ce06a3399
Bug 1024610: Register tracking protection list and hook it up in nsChannelClassifier (r=gcp)
2014-07-02 12:41:00 -07:00
Monica Chew
9b092b1051
Bug 985623: Force url classifier clients to specify which tables to lookup, add a pref to skip hash completion checks (r=gcp)
2014-03-20 14:25:35 -07:00
Ehsan Akhgari
9d5dfbce0f
Bug 800394 - Force SafeBrowsing to be initialized in safebrowsing tests; r=gcp
...
--HG--
rename : browser/components/privatebrowsing/test/browser/global/Makefile.in => browser/components/privatebrowsing/test/browser/Makefile.in
extra : rebase_source : 68bfa555c414e28e75e9a91e76a1c7c93f39e85b
2012-10-11 12:00:08 -04:00