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
Mark Banner
733f0b7c97
Bug 1338195 - Define a frame-script environment for eslint and use it to clear no-undef issues for known frame script globals. r=mossop
...
MozReview-Commit-ID: Fcin4InbLK2
--HG--
extra : rebase_source : f94dbb2e5af83bb4d32c51a55702e6f58cc25323
2017-02-07 10:52:06 +00:00
Dave Townsend
8de07a19a0
Bug 1316882: Turn on space-before-function-paren eslint rule (browser). r=jaws
...
MozReview-Commit-ID: 2ZvTiZDHchz
--HG--
extra : rebase_source : db6482481b7338df491afd6f6fd376eccec84d7e
2016-11-11 08:10:51 -08:00
Dão Gottwald
cef6e4acef
Bug 1252110 - Fix and enable browser_bug400731.js for e10s. r=jaws
2016-02-29 22:24:55 +01:00
Dave Townsend
0a6414b898
Bug 1245649: Turn on no-trailing-spaces. r=Gijs
...
--HG--
extra : commitid : F2OWKTvXUO4
extra : rebase_source : ec68631342e0edc59d77b6bab1cdc975ad175327
2016-02-03 14:22:33 -08:00
Francois Marier
82be864165
Bug 1226490 - Allow administrators to prevent users from ignoring Safe Browsing warnings. r=gcp,r=smaug
2015-11-23 13:34:31 -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
Tim Taubert
b30959a171
Bug 1077652 - Fix browser_bug400731.js to ignore loads from browsers without tabs rs=gijs
2014-11-20 22:03:44 +01:00
Gian-Carlo Pascutto
452e75f96c
Bug 971240 - Move phishing/malware test pages to their own domain. r=mmc
2014-03-07 19:12:23 +01:00
Ehsan Akhgari
97148b17b8
Bug 800854 - Make browser_bug400731.js more robust by registering the DOMContentLoaded handler at the right time; r=gcp
2012-10-12 12:07:25 -04:00
Boris Zbarsky
94b5beb86f
Bug 731447. Make buttons display:inline-block by default so that underlines don't reach into them. r=dbaron
2012-06-01 11:45:37 -04:00
Gian-Carlo Pascutto
7555484c58
Bug 693389 - Update urlclassifier DB for Mozilla com->org move. r=dcamp
2011-11-09 17:22:59 +01:00
Jonas Sicking
6d226b3b64
Bug 546857 Part 3: Make error pages not use xul buttons. r=dao a=blocker
2010-08-19 16:06:07 -07:00
Dão Gottwald
04df8dd1a4
tests cleanup
2009-09-16 12:21:19 +02:00
Johnathan Nightingale
4549d789af
Bug 425001 - Tests for bugs 400731 and 431826 rely on timers and are therefore fragile. TEST ONLY FIX.
...
Replace with DOMContentLoaded listeners, since onload doesn't work for error pages.
2009-04-21 16:17:14 -04:00
reed@reedloden.com
435eedc892
Bug 422410 - "anti malware warning UI should allow pass through / show ignore link" (display the clickthrough for both phishing and malware) [p=johnath@mozilla.com (Johnathan Nightingale [johnath]) r=gavin a=blocking-firefox3+]
2008-04-08 12:30:01 -07:00
johnath@mozilla.com
bb320a64cd
Restore "ignore this warning" link for phishing warning. b=400731, r=gavin, r=dcamp, ui-r=mconnor, a=blocking-firefox3 (beltzner)
2008-03-12 13:34:31 -07:00