Commit graph

85 commits

Author SHA1 Message Date
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
Dimi Lee
42ae8daefb Bug 1289028 - Retry when url-classifier test_gethash.html hits an exception. r=francois
MozReview-Commit-ID: 9BR7RfAthcU

--HG--
extra : transplant_source : %D8%E0%D5%F5D4%E6%CC%04%7D%01%EA%87%BE%A4%F8%17%D2%3B%A3
2016-07-29 08:21:01 +08:00
dimi
4f45ea248f Bug 1272239 - Part 3: Testcase, test gethash. r=francois
MozReview-Commit-ID: 3IkrdJgZNP1
2016-07-21 15:40:03 +08:00
dimi
4135954a00 Bug 1272239 - Part 2: Testcase, only tables with provider could register gethash url in listmanager. r=francois
MozReview-Commit-ID: FcnXswQyerb
2016-07-21 15:37:00 +08:00
dimi
9d5c24055b Bug 1281083 - P2. Testcase for changing the urlclassifier.*Table. r=francois
MozReview-Commit-ID: Ge0NSpyEb82
2016-07-18 22:31:34 +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
b9a51d9fa5 Backed out changeset ed0b3881c1c4 (bug 1272239)
--HG--
extra : rebase_source : ef6dd065ff8c1dd3eb1a88da8267a4d08ad92bbc
2016-06-15 22:16:54 +01:00
Carsten "Tomcat" Book
89258073ec Backed out changeset 5042da9fc11c (bug 1272239)
--HG--
extra : rebase_source : 0e07e6c6ce691e88e031db6b09d8aab50dce3930
2016-06-15 22:16:52 +01:00
dlee
987ad863dd Bug 1272239 - P3. Testcase, test gethash. r=francois
--HG--
extra : rebase_source : df9a20cc3ca80df5bf630a4ccb3a16adc4511ac5
2016-06-14 14:48:28 +01:00
DimiL
1ba65bb6c1 Bug 1272239 - P2. Testcase, only tables with provider could register gethash url in listmanager. r=francois
--HG--
extra : rebase_source : 9bb3c392f9443412ad60a01467ab9c77645f81ef
2016-05-30 17:09:11 +08:00
dimi
87a2b36792 Bug 1258033 - Part 4: Testcase for DNT. r=francois
MozReview-Commit-ID: IqPIMwDQluy

--HG--
extra : rebase_source : 1124e9f6e0e436caccfe3233fa68065caac62e70
2016-06-02 16:33:13 +08:00
Dimi Lee
d77739fce2 Bug 1274105 - Refactor classifierHelper.js. r=gcp
MozReview-Commit-ID: ljq4KPzUqu

--HG--
extra : rebase_source : 71de8b56d523568a940cb1d12a4f773c991c3294
2016-05-25 20:20:42 +08:00
dimi
ddfd9eff0b Bug 1262406 - P2. Classify track element testcase. r=francois
MozReview-Commit-ID: 1DnTKOYcfDy

--HG--
extra : transplant_source : %13%86%D2%B0%99%26%2BFP2%E6dMQ9%9D%9D%DE%D9%9B
2016-05-09 09:33:41 +08:00
dimi
91ef48fd06 Bug 1264169 - P2. Refine classifierHelper chunk format. r=francois
MozReview-Commit-ID: WBexu4sO8R

--HG--
extra : transplant_source : %0C%26%CE%40K%3E%03%D7%9C%A4%FCvE%1C%20%80%16%DB%06%89
2016-04-25 10:13:15 +08:00
dimi
a80e0e9641 Bug 1264169 - P1. test_classifier.html doesn't remove url added to malware database when finish. r=francois
MozReview-Commit-ID: 5iuMuVk5f8d

--HG--
extra : transplant_source : .X%96Ph%06%05%DD%17uP%3A%F1%B5%2A%D0Y%9B%83%18
2016-04-22 17:25:40 +08:00
Wes Kocher
694116566d Backed out 2 changesets (bug 1262339) for leaks
Backed out changeset 111b90ed7c50 (bug 1262339)
Backed out changeset fe000d2b968f (bug 1262339)

MozReview-Commit-ID: fRrRdq3iW3
2016-04-12 12:12:02 -07:00
dimi
234215baa8 Bug 1262339 - P2. Classify appcache manifest testcase. r=francois
MozReview-Commit-ID: IFGq0l5nNuw

--HG--
extra : transplant_source : %F4_%E0%B1%9F%A1wDf4f%3B%CF%AB%95%60%9D%99%AB%C8
2016-04-08 17:30:21 +08:00
Dimi Lee
32b8258d5d Bug 1233914 - P2. Testcase. r=francois
MozReview-Commit-ID: 4Z3OKDY5aYI

--HG--
extra : transplant_source : %5B%00%94%FDW%3Dn%80V%90N8%0D%5E%BB%B1%BBA%00E
2016-04-01 09:41:11 +08:00
Martijn Wargers
5c4ab36d15 Bug 1252444 - Rewrite some dom mochitests to use pushPrefEnv instead of setCharPref. r=jmaher
--HG--
extra : rebase_source : 7b61270760aa225f8c087ea190aaeb49670ca900
2016-03-03 09:41:14 -05:00
Panos Astithas
aaafa9863d Bug 1252449 - Enable test_classifier.html and test_classifier_worker.html on e10s. r=gcp
MozReview-Commit-ID: AxKMYI7nDkD
2016-03-02 15:33:55 +02:00
Dave Townsend
86f03db916 Bug 1229142: Link browser and toolkit test directory to the shared eslintrc files. r=Standard8
--HG--
extra : commitid : CKT2WDkxE4k
extra : rebase_source : 0be50c483317355b1e9af5985d53e85604748432
extra : histedit_source : 65d203f57ebd38b8c130e5db9aaa8ae3f507e7ac
2015-11-30 13:05:00 -08:00
Francois Marier
d63cc41a00 Bug 1231557 - Use the URL Classifier in Media elements. r=cpearce,r=gcp
--HG--
rename : dom/media/test/vp9.webm => toolkit/components/url-classifier/tests/mochitest/vp9.webm
2015-12-16 13:24:40 -08:00
Francois Marier
88fc749776 Bug 1216793 - Add tests for TP in XHRs and fetch(). r=gcp 2015-11-30 16:28:39 -08:00
Kaustabh Datta Choudhury
d64ac7ea6b Bug 1162003 - Enable run-by-dir mode for mochitest_chrome on Fx desktop opt builds. r=jmaher 2015-09-23 13:39:45 -04:00
Kaustabh Datta Choudhury
2a080acfd0 Bug 1162003 - Enable run-by-dir mode on Fx desktop debug & ASAN builds. r=jmaher 2015-09-10 09:52:00 +02:00
Francois Marier
e5ccece7d7 Bug 1141352 - add a pairwise allowlist to tracking protection. r=gcp
--HG--
rename : toolkit/components/url-classifier/tests/mochitest/test_privatebrowsing_trackingprotection.html => toolkit/components/url-classifier/tests/mochitest/test_trackingprotection_whitelist.html
rename : toolkit/components/url-classifier/tests/mochitest/classifiedAnnotatedPBFrame.html => toolkit/components/url-classifier/tests/mochitest/whitelistFrame.html
2015-08-07 13:08:22 -07:00
Carsten "Tomcat" Book
4a67c881e4 merge mozilla-inbound to mozilla-central a=merge 2015-07-13 11:51:14 +02:00
Matthew Noorenberghe
2118e69217 Bug 1182269 - Create UrlClassifierTestUtils.jsm to share URL Classifier test code. r=francois
--HG--
extra : commitid : 7gzBYsuhMNF
extra : rebase_source : fb14ad8c691d5ebbec1080f701e9cf489cbafafb
2015-07-09 16:40:24 -04:00
Brian Grinstead
440d6b2252 Bug 1182333 - Add trackingprotection tag for relevant tests;r=MattN
--HG--
extra : commitid : I2SEfoYlkCc
2015-07-09 17:03:58 -07:00
Geoff Brown
52d4e225a0 Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin 2015-07-10 14:41:59 -06:00
Francois Marier
f3ff8f21dc Bug 1157081 - Make tracking protection work when malware and phishing protections are disabled. r=sworkman
--HG--
rename : toolkit/components/url-classifier/tests/mochitest/test_privatebrowsing_trackingprotection.html => toolkit/components/url-classifier/tests/mochitest/test_trackingprotection_bug1157081.html
2015-06-11 21:48:17 +12: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
Ms2ger
f1fc41b0e5 Bug 949614 - Use === for SimpleTest.is; r=Waldo
This is more likely to be correct, and a necessary step in case we ever want
to move to Object.is.

This keeps ise as an alias for is, and introduces is_loosely for the old
behaviour.
2015-04-14 15:28:13 +02:00
Francois Marier
25d768c5d8 Bug 1138979 - Pref to turn TP on when in Private Browsing mode. r=mmc, r=ehsan 2015-03-24 14:10:00 -04:00
Jonathan Griffin
d1c61bc9b6 Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Anish
45de248a8b Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher,mwargers 2015-02-19 11:53:01 -05:00
Carsten "Tomcat" Book
c0d53e2918 Backed out changeset 6885e993936a (bug 1056851) for crashtest failures 2015-02-19 15:02:05 +01:00
Anish
e7006d8a59 Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher 2015-02-19 07:26:41 -05:00
Bobby Holley
86df050cfc Bug 1062631 - Use SpecialPowers.wrapCallback for QI in more tests. r=bz
Otherwise the QI throws as soon as it tries to pass the IID into content code.
2014-09-08 13:36:20 -07:00
Steve Workman
320bdaa9db Bug 1054572 - Reload iframe in test_classifier.html to test cache API calls in nsChannelClassifier.cpp r=gcp 2014-08-22 15:17:33 -07:00
Wes Kocher
0b164a61dd Backed out 3 changesets (bug 1054572) for being the apparent cause of ASAN m-3 leaks
Backed out changeset cbd1a7c4d0b0 (bug 1054572)
Backed out changeset 466d677dacc0 (bug 1054572)
Backed out changeset 8b49480288aa (bug 1054572)
2014-08-22 12:45:29 -07:00
Steve Workman
a132c51b61 Bug 1054572 - Reload iframe in test_classifier.html to test cache API calls in nsChannelClassifier.cpp r=gcp 2014-08-22 10:49:29 -07:00
Georgios Kontaxis
17142ab846 Bug 1055180: cleanup functions in test_classified_annotations and test_allowlisted_annotations. Making sure the nsChannelClassifier::ShouldEnableTrackingProtection does not abort on chrome URIs. (r=mmc) 2014-08-18 14:58:33 -07:00
Georgios Kontaxis
eb744ade14 Bug 1044181: test elements are now actually loaded when tracking protection is disabled/broken. added style loader test. r=mmc 2014-08-08 15:17:28 -07:00
Monica Chew
5375d3ad83 Bug 1033871: Check nsIPermissionManager before enabling tracking protection in nsChannelClassifier (r=mcmanus)
--HG--
rename : toolkit/components/url-classifier/tests/mochitest/classifiedAnnotatedFrame.html => toolkit/components/url-classifier/tests/mochitest/allowlistAnnotatedFrame.html
rename : toolkit/components/url-classifier/tests/mochitest/test_classified_annotations.html => toolkit/components/url-classifier/tests/mochitest/test_allowlisted_annotations.html
2014-08-08 13:52:28 -07:00
Georgios Kontaxis
3ee3af8b30 Bug 1029887: Test DOM nodes blocked by NS_ERROR_TRACKING_URI (r=mmc) 2014-07-18 17:26:24 -07: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
Bill McCloskey
fd05f3eb04 Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted) 2014-03-13 21:38:19 -07:00
Wes Kocher
3b83e5bb22 Backed out changeset 88425ad0f06a (bug 982828) for introducing various mochitest-5 failures on a CLOSED TREE
* * *
Backed out changeset 94f9ebdc6662 (bug 982828)
2014-03-13 19:41:21 -07:00