Confirmed users
908
edits
(→Code walkthrough: update some details around how matches on multiple lists are resolved) |
m (→Code walkthrough: fix formatting of the list) |
||
| Line 76: | Line 76: | ||
The classifier determines the type of URL that is is and resolves conflicts (i.e. a match on more than one list) based on: | The classifier determines the type of URL that is is and resolves conflicts (i.e. a match on more than one list) based on: | ||
* [https://searchfox.org/mozilla-central/rev/da499aac682d0bbda5829327b60a865cbc491611/toolkit/components/url-classifier/nsUrlClassifierDBService.cpp#1383-1389 priority of providers] | |||
* [https://searchfox.org/mozilla-central/rev/da499aac682d0bbda5829327b60a865cbc491611/toolkit/components/url-classifier/nsUrlClassifierDBService.cpp#66-93 priority of warning types] | |||
then [https://searchfox.org/mozilla-central/rev/8affe6e83188787eb61fe0528eeb6eef6081ba06/toolkit/components/url-classifier/nsUrlClassifierDBService.cpp#1449 returns information about the list match]. That causes the channel to be [hhttps://searchfox.org/mozilla-central/rev/8affe6e83188787eb61fe0528eeb6eef6081ba06/netwerk/base/nsChannelClassifier.cpp#1174 cancelled with that error code]. | then [https://searchfox.org/mozilla-central/rev/8affe6e83188787eb61fe0528eeb6eef6081ba06/toolkit/components/url-classifier/nsUrlClassifierDBService.cpp#1449 returns information about the list match]. That causes the channel to be [hhttps://searchfox.org/mozilla-central/rev/8affe6e83188787eb61fe0528eeb6eef6081ba06/netwerk/base/nsChannelClassifier.cpp#1174 cancelled with that error code]. | ||