Commit Graph

1003 Commits

Author SHA1 Message Date
Wes Kocher
00c5aee754 Merge inbound to central, a=merge 2016-08-25 16:59:00 -07:00
Ryan VanderMeulen
dbf61a2219 Merge m-c to autoland. a=merge 2016-08-25 08:14:36 -04:00
Ryan VanderMeulen
79935a96ec Merge inbound to m-c. a=merge 2016-08-25 08:10:52 -04:00
dimi
909ab12b52 Bug 1291024 - Avoid caching safebrowsing testcase resources. r=francois
MozReview-Commit-ID: 9SB5diTrr5F
2016-08-23 15:51:29 +08:00
dimi
42f87b344b Bug 1296201 - Wait for SafeBrowsing,jsm to be initialized before running testcase. r=francois
MozReview-Commit-ID: 8o3cszqJK36
2016-08-24 17:00:08 +08:00
Ryan VanderMeulen
7049259c8a Merge m-c to inbound. a=merge 2016-08-25 08:27:17 -04:00
Nicholas Nethercote
1009bf0056 Bug 1297658 - Avoid unnecessary checking in memory reporters. r=erahm.
This patch removes checking of all the callback calls in memory reporter
CollectReport() functions, because it's not useful.

The patch also does some associated clean-up.

- Replaces some uses of nsIMemoryReporterCallback with the preferred
  nsIHandleReportCallback typedef.

- Replaces aCallback/aCb/aClosure with aHandleRepor/aData for CollectReports()
  parameter names, for consistency.

- Adds MOZ_MUST_USE/[must_use] in a few places in nsIMemoryReporter.idl.

- Uses the MOZ_COLLECT_REPORT macro in all suitable places.

Overall the patch reduces code size by ~300 lines and reduces the size of
libxul by about 37 KiB on my Linux64 builds.
2016-08-24 15:23:45 +10:00
dimi
6e5f13764a Bug 1037560 - P2. Modify testcase to test pleasereset should not reset all tables. r=francois,gcp
MozReview-Commit-ID: Hq9iRa9M4sf
2016-08-23 08:25:03 +08:00
dimi
32c27de82f Bug 1037560 - P1. Safebrowsing pleasereset resets all tables. r=gcp
MozReview-Commit-ID: C5GkBBDAhn3
2016-08-23 08:24:07 +08:00
Henry Chang
17738ad198 Bug 1287059 - Part 2: Save/get the list states to/from prefs temporarily. r=francois.
MozReview-Commit-ID: GaDExi2d0YX
2016-08-12 17:29:42 +08:00
Henry
dab0bfeabc Bug 1287059 - Part 1: Return all possible list names while converting from threat type. r=francois.
MozReview-Commit-ID: KgT4CrBzvu0
2016-08-16 17:30:11 +08:00
Kan-Ru Chen
a9b19d0584 Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
The patch is generated from following command:

  rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,

MozReview-Commit-ID: AtLcWApZfES
2016-08-24 14:47:04 +08:00
Henry Chang
a677ac7afb Bug 1284204 - Parse SafeBrowsing V4 updates to TableUpdateV4. r=francois.
MozReview-Commit-ID: 88AEIbosxKl
2016-08-12 11:55:48 +08:00
Wes Kocher
2372beb95e Merge m-c to fx-team a=merge CLOSED TREE 2016-08-15 15:04:43 -07:00
Wes Kocher
924bec4dbe Merge inbound to central, a=merge 2016-08-15 14:20:38 -07:00
Igor
9c81c3c1ee Bug 1293384 - Part 2: Rename Snprintf.h header to Sprintf.h. r=froydnj 2016-08-14 23:43:21 -07:00
Igor
972b8460e2 Bug 1293384 - Part 1: Rename snprintf_literal to SprintfLiteral. r=froydnj 2016-08-14 23:44:00 -07:00
Thomas Nguyen
392138b38d Bug 1120728 - remove nsIUrlClassifierDBServiceWorker. r=francois,gcp
MozReview-Commit-ID: G3HeQ5pecrE
2016-08-11 11:15:24 +08:00
dimi
ac0dea5510 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
f8d8d27fdb Bug 1274112 - Part 2: Use protobuf API to parse v4 update response. r=francois
MozReview-Commit-ID: 3sjR3Feq4ua
2016-08-04 18:10:12 +08:00
Henry Chang
9708a23b7f Bug 1274112 - Part 1: Make update request v4. r=francois
MozReview-Commit-ID: NgV4QYbDll
2016-08-04 18:10:06 +08:00
Igor
27c926c49e Bug 1197331 - remove PR_snprintf calls in miscellaneous directories. r=nfroyd 2016-08-04 16:41:00 +02:00
Carsten "Tomcat" Book
bc6615c2f9 Merge mozilla-central to autoland 2016-07-30 16:49:41 +02:00
Carsten "Tomcat" Book
23747ec523 merge mozilla-inbound to mozilla-central a=merge 2016-07-30 16:20:57 +02:00
Dimi Lee
7ed05ebc31 Bug 1289028 - Retry when url-classifier test_gethash.html hits an exception. r=francois
MozReview-Commit-ID: 9BR7RfAthcU
2016-07-29 08:21:01 +08:00
Carsten "Tomcat" Book
19af329f0e merge mozilla-inbound to mozilla-central a=merge 2016-07-25 15:50:41 +02:00
dimi
8f13e1c1d1 Bug 1272239 - Part 3: Testcase, test gethash. r=francois
MozReview-Commit-ID: 3IkrdJgZNP1
2016-07-21 15:40:03 +08:00
dimi
a710168dd3 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
645c54eeb9 Bug 1272239 - Part 1: Support completion for test database. r=francois
MozReview-Commit-ID: 85BALQHKSal
2016-07-21 15:35:36 +08:00
Carsten "Tomcat" Book
c0a2b46b9b merge mozilla-inbound to mozilla-central a=merge 2016-07-22 11:58:02 +02:00
Nicholas Nethercote
9f712249f8 Bug 1276724 - Make two url-classifier allocations fallible. r=gcp.
This addresses two crashes in the top #75 on 47.0.1.
2016-07-29 19:34:20 +10:00
Jan Beich
d0174f165b Bug 1288825 - Unbreak build on Unix after bug 1275507. r=francois
MozReview-Commit-ID: nYNiYjuq8A
2016-07-22 20:48:26 +00:00
Tom Tromey
1b5a2bdb96 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx
2016-07-14 10:16:42 -06:00
Carsten "Tomcat" Book
9265f02f72 merge mozilla-inbound to mozilla-central a=merge 2016-07-21 16:24:36 +02:00
Henry Chang
41a80ccf3f Bug 1275507 - XPCOM API to create SB v4 update request. r=francois
MozReview-Commit-ID: RfM3KFe6kG
2016-07-19 18:09:53 +08:00
dimi
bc9ea8c453 Bug 1281083 - P2. Testcase for changing the urlclassifier.*Table. r=francois
MozReview-Commit-ID: Ge0NSpyEb82
2016-07-18 22:31:34 +08:00
dimi
34fa12d629 Bug 1281083 - P1. Changing the urlclassifier.*Table prefs doesn't take effect before the next browser restart. r=francois
MozReview-Commit-ID: r2ufYMkvi5
2016-07-19 08:53:21 +08:00
Henry Chang
f4fd325373 Bug 1273398 - Part 3: Modify "hash completer" to use RequestBackoffV4. r=francois. 2016-06-06 20:17:00 +02:00
Henry Chang
9d94f1b868 Bug 1273398 - Part 2: Modify listmanager to use RequestBackoffV4. r=francois. 2016-06-06 20:16:00 +02:00
Henry Chang
cd4d5b1879 Bug 1273398 - Part 1: Wrap RequestBackoff to a v4-specific one. r=francois. 2016-06-06 20:16:00 +02:00
Nicholas Nethercote
a14f636d12 Bug 1278439 - Adding a missing prefs service null check in url-classifier/. r=gcp. 2016-07-14 13:47:54 +10:00
Carsten "Tomcat" Book
9e5430d2f1 merge mozilla-inbound to mozilla-central a=merge 2016-07-11 16:21:15 +02:00
Yoshi Huang
b61ea2cdfa Bug 1274893 - remove -forbid- list from SafeBrowsing. r=francois 2016-07-11 16:11:32 +08:00
Francois Marier
4286bfd2f8 Bug 1285428 - Fix urlclassifier.trackingWhitelistTable table registration. r=gcp
MozReview-Commit-ID: ISeuu8XjZ0d
2016-07-07 22:27:56 -07:00
Henry Chang
b0239e3cb7 Bug 1110891 - Replace comment to clarify the different purposes of the two timers. r=francois 2016-05-09 07:02:00 +02:00
Henry Chang
4b11d3a72a Bug 1264885 - Use the table name to decide how to build update request. r=francois 2016-07-19 23:31:00 -04:00
dimi
f5ae7d93c7 Bug 1287024 - Remove unused mHashStores variable in Classifier.cpp. r=francois
MozReview-Commit-ID: 2EIDaRHKW8Q
2016-07-15 12:16:26 +08:00
Henry Chang
85fe597557 Bug 1288840 - Use the private phishing site list in official build. r=francois
MozReview-Commit-ID: 3SYoP2z1jWb
2016-07-25 09:18:25 +08:00
Thomas Nguyen
b89b23bd95 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
a40d573765 Backed out changeset dc114bc5a88e (bug 1272239) for test failures in own test 2016-06-15 22:17:26 +01:00