Commit Graph

200 Commits

Author SHA1 Message Date
Henry Chang
53064b6aa0 Bug 1375277 - Test case for new error code NS_ERROR_HARMFUL_URI. r=francois
The test is based on "test-harmful-simple" so we can add testing entries
in a human-readable way.

MozReview-Commit-ID: IJcYrp04uFs
2017-07-28 17:38:01 +08:00
Florian Quèze
c0468168f5 Bug 1368456 - remove Promise.jsm imports in tests, r=mconley. 2017-06-23 11:25:52 +02:00
Christoph Kerschbaumer
5452a95b49 Bug 1362993 - Rewrite gBrowser.addTab() to use BrowserTestUtils.addTab(). r=florian 2017-05-15 21:49:50 +02:00
Florian Quèze
ff53eb9a63 Bug 1353542 - massive script-generated patch converting Task.async and Task.spawn calls, and generators clearly identifiable as tasks, rs=Mossop. 2017-05-12 14:42:39 +02:00
Mark Banner
44d0568f41 Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws
MozReview-Commit-ID: 5fVG7akPnGM
2017-05-08 10:29:47 +01:00
Sebastian Hengst
c8bd0b3620 Backed out changeset e0f9c56c15f0 (bug 1362947) for linting failures, e.g. at accessible/tests/mochitest/jsat/doc_content_text.html:15. r=backout 2017-05-11 10:15:55 +02:00
Mark Banner
dae8146427 Bug 1362947 - Upgrade eslint-plugin-html to 2.0.3 to pick up --fix support. r=jaws
MozReview-Commit-ID: 5fVG7akPnGM
2017-05-08 10:29:47 +01:00
Florian Queze
d3c36892fa Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Sebastian Hengst
42670ceca0 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
9b4f73599f Bug 1356569 - Remove addObserver's last parameter when it is false, r=jaws. 2017-04-14 21:51:38 +02:00
Henry Chang
4543c61a48 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
2017-04-06 07:07:56 +08:00
Mark Banner
ec9074e132 Bug 1347712 - Change the testing configurations into ESLint configurations within eslint-plugin-mozilla - automatically update .eslintrc.js test config files for new config locations. r=jaws
MozReview-Commit-ID: LH0CQOPfoe6
2017-03-20 12:36:37 +01:00
Mark Banner
0172a32b29 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
2017-02-07 10:52:06 +00:00
Henry
06bace5988 Bug 1328824 - Test if about:blocked can be loaded in a secure context. r=Gijs
MozReview-Commit-ID: GQAfd4xuRJT
2017-01-13 00:08:45 +08:00
Jared Wein
242ab87626 Bug 1326511 - Enable brace-style and no-multi-spaces eslint rules for toolkit. r=MattN
MozReview-Commit-ID: FuVu8skcqOe
2016-12-30 21:47:25 -05:00
Dave Townsend
4e295aa48d Bug 1316882: Turn on space-before-function-paren eslint rule (browser). r=jaws
MozReview-Commit-ID: 2ZvTiZDHchz
2016-11-11 08:10:51 -08:00
Dave Townsend
12596ced47 Bug 1316882: Turn on space-infix-ops eslint rule. r=jaws
MozReview-Commit-ID: HBpjT2uHJaZ
2016-11-10 14:48:04 -08:00
Gijs Kruitbosch
f073d29eb1 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
8ee33b31ec Bug 1314812 - Remove code that manually times out loads in favor of relying on the test harness. r=Gijs
MozReview-Commit-ID: FZB9ys9lvIN
2016-11-02 16:03:11 -07:00
Mark Banner
233309fbe2 Bug 1251003 - Change .eslintrc files to .eslintrc.js to avoid obsolete config file format. r=mossop
MozReview-Commit-ID: JrbFxQ5rj6I
2016-10-18 08:38:10 +01:00
Pushpankar
77a14e357c Bug 1286854 - Replace ownerDocument.defaultView with ownerGlobal in browser/. r=dao 2016-07-16 10:20:04 +02:00
Yoshi Huang
b61ea2cdfa Bug 1274893 - remove -forbid- list from SafeBrowsing. r=francois 2016-07-11 16:11:32 +08:00
Blake Kaplan
34c3f917b8 Bug 1163418 - Remove use of CPOWs in safebrowsing tests. r=felipe 2016-06-21 13:46:02 -07:00
Ryan VanderMeulen
89924435a4 No bug - Enable some e10s that pass and add some more annotations to ones that don't. 2016-05-09 17:01:16 -04:00
Tobias Schneider
169c0f8dea 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
0c1e94785b Bug 1254310 - Add a hidden pref to temporarily disable Safe Browsing on given hostnames. r=gcp 2016-03-11 13:57:38 -08:00
Dão Gottwald
60e9c42871 Bug 1252110 - Fix and enable browser_bug400731.js for e10s. r=jaws 2016-02-29 22:24:55 +01:00
Phil Ringnalda
5c1981cea5 Bug 1246115 - Redisable browser_bug415846.js on e10s, where it races and mostly loses 2016-02-12 21:53:46 -08:00
Mike Conley
abe05dfca5 Bug 1246115 - Re-write and re-enable regression test. r=Gijs
MozReview-Commit-ID: 2c7mZ6B3fdG
2016-02-11 11:10:04 -08:00
Dave Townsend
a2ba043d69 Bug 1245649: Turn on no-trailing-spaces. r=Gijs 2016-02-03 14:22:33 -08:00
Dave Townsend
8dc7f59eb3 Bug 1229142: Link browser and toolkit test directory to the shared eslintrc files. r=Standard8 2015-11-30 13:05:00 -08:00
Francois Marier
22ad94bee5 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
b3248cb5cd Bug 1216723 - Add tests for the new -forbid- Safe Browsing list type. r=gcp 2015-11-20 20:25:11 -08:00
Francois Marier
37e736087c Bug 1147212 - Add support for goog-unwanted-shavar. r=gcp,r=matej,r=smaug 2015-04-22 21:01:37 +12:00
Monica Chew
c68e61b039 Bug 1119825 - Re-enable flaky test browser_bug400731.js on Windows. r=gcp 2015-02-06 14:29:00 +01:00
Monica Chew
c9fe8fe01b Bug 1109039: Disable browser_bug400731.js on windows (r=gcp) 2015-01-09 13:25:24 -08:00
Tim Taubert
e4a06dcc23 Bug 1077652 - Fix browser_bug400731.js to ignore loads from browsers without tabs rs=gijs 2014-11-20 22:03:44 +01:00
Bill McCloskey
3fc52acc1d Bug 1061013 - Disable various browser chrome tests when running with e10s. r=jimm 2014-09-02 13:47:12 -05:00
Monica Chew
f4033e0318 Bug 1024610: Register tracking protection list and hook it up in nsChannelClassifier (r=gcp) 2014-07-02 12:41:00 -07:00
Monica Chew
796c721622 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
Wes Kocher
f8eb9b9a15 Merge m-c to fx-team 2014-03-12 21:23:37 -07:00
Phil Ringnalda
be58e23f10 Bug 982988 - Fix browser_bug415846.js to load the new location of its-a-trap.html and re-enable it 2014-03-12 20:40:58 -07:00
Wes Kocher
bb7f20a728 Bug 982988 - Disable browser_bug415846.js for failing without changing Firefox code 2014-03-12 18:54:37 -07:00
Gian-Carlo Pascutto
ea339454db Bug 971240 - Move phishing/malware test pages to their own domain. r=mmc 2014-03-07 19:12:23 +01:00
Steven MacLeod
dc1157163e Bug 546169 - Use an event listener instead of a timeout to avoid intermittent failures. r=gavin 2013-12-15 14:05:53 -05:00
Gijs Kruitbosch
cb48ff177b Bug 924463 - clean up browser/components moz.build/test manifest, r=gps 2013-10-18 14:55:19 +02:00
Phil Ringnalda
ee7d2a2637 Back out e9f46c81c28e (bug 924463) on suspicion of being the One True cause of mass browser-chrome orange
CLOSED TREE
2013-10-18 18:54:22 -07:00
Gijs Kruitbosch
2a4dba4e13 Bug 924463 - clean up browser/components moz.build/test manifest, r=gps 2013-10-18 14:55:19 +02:00
Ms2ger
37114e13e1 Bug 922268 - Remove empty makefiles; r=gps 2013-10-03 09:10:00 +02:00
Gregory Szorc
d3405d579f Bug 920223 - Part 3: Mass convert MOCHITEST_BROWSER_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:06 +02:00