Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SafeBrowsing issue with eBay #619

Closed
classilla opened this issue Aug 29, 2020 · 5 comments
Closed

SafeBrowsing issue with eBay #619

classilla opened this issue Aug 29, 2020 · 5 comments

Comments

@classilla
Copy link
Owner

In private windows with tracking protection on, most eBay assets do not load. In a debug build:

[19792] WARNING: Could not find prefix in PrefixSet during noise lookup: file /Volumes/BruceDeuce/src/tenfourfox/toolkit/components/url-classifier/Classifier.cpp, line 729
[19792] WARNING: NS_ENSURE_SUCCESS(rv, rv) failed with result 0x80004005: file /Volumes/BruceDeuce/src/tenfourfox/toolkit/components/url-classifier/nsUrlClassifierDBService.cpp, line 328
@classilla
Copy link
Owner Author

@OlgaTPark
Copy link
Contributor

Hello,

I have finally found how to solve this issue.
The solution resides in the following Firefox patch: https://hg.mozilla.org/mozreview/gecko/rev/37c01bf2ca007527910a1256444ebd6c9d114aae (which solves M1258041 — changing the settings referred in the patch into about:config is already enough). After applying this patch you maybe need to reset the browser.safebrowsing.provider.mozilla.nextupdatetime about:config setting to force the browser to reload the online data.

I also looked at some other BMO bugs that « could » be related to the previous one (or at least, that improves the way safe browsing is handled):

I tested the three previously mentionned patches in a local Intel build.

Just for completeness, you don't need M1292728 (testcase failure) which isn't in code nor M1281083 — Changing the urlclassifier.*Table prefs doesn't take effect before the next browser restart (unless you don't want to restart the browser).

I hope this could help!

@classilla
Copy link
Owner Author

Have you committed this to your branch? I'll take that diff if you have (you don't need to do it as a PR), or otherwise I'll port. Thank you very much for the detective work.

@OlgaTPark
Copy link
Contributor

Sorry, I haven't committed this anywhere.

Fortunately, the patches are easy to import. Those are:

…And you're welcome for keeping our old Macs relevant!

@classilla
Copy link
Owner Author

stickin'

OlgaTPark added a commit to OlgaTPark/tenfourfox that referenced this issue Nov 8, 2020
NOTE: This is the same as the original TenfourFox patch but this one adds the testcase for M1274685

References:
https://bugzilla.mozilla.org/show_bug.cgi?id=1258041 (Update the tracking protection list selection UI to account for the DNT-related changes)
https://hg.mozilla.org/mozilla-central/rev/fff9d624dca2 (Update the tracking protection list selection UI to account for the DNT-related changes)
https://bugzilla.mozilla.org/show_bug.cgi?id=1285428 (Some tables in urlclassifier.trackingWhitelistTable may be missed during table registration)
https://hg.mozilla.org/mozilla-central/rev/4287a45df22d (Fix urlclassifier.trackingWhitelistTable table registration.)
https://bugzilla.mozilla.org/show_bug.cgi?id=1274685 (Unowned Safe Browsing tables break list updates)
https://hg.mozilla.org/mozilla-central/rev/2df25135bcd3 (Part 1: Avoid registering lists which have no provider info.)
https://hg.mozilla.org/mozilla-central/rev/30700073705d (Part 2: Test case.)
OlgaTPark added a commit to OlgaTPark/tenfourfox that referenced this issue Nov 22, 2020
NOTE: This is the same as the original TenfourFox patch but this one adds the testcase for M1274685

References:
https://bugzilla.mozilla.org/show_bug.cgi?id=1258041 (Update the tracking protection list selection UI to account for the DNT-related changes)
https://hg.mozilla.org/mozilla-central/rev/fff9d624dca2 (Update the tracking protection list selection UI to account for the DNT-related changes)
https://bugzilla.mozilla.org/show_bug.cgi?id=1285428 (Some tables in urlclassifier.trackingWhitelistTable may be missed during table registration)
https://hg.mozilla.org/mozilla-central/rev/4287a45df22d (Fix urlclassifier.trackingWhitelistTable table registration.)
https://bugzilla.mozilla.org/show_bug.cgi?id=1274685 (Unowned Safe Browsing tables break list updates)
https://hg.mozilla.org/mozilla-central/rev/2df25135bcd3 (Part 1: Avoid registering lists which have no provider info.)
https://hg.mozilla.org/mozilla-central/rev/30700073705d (Part 2: Test case.)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants