classilla / tenfourfox

Mozilla for Power Macintosh.
http://www.tenfourfox.com/
Other
270 stars 38 forks source link

SafeBrowsing issue with eBay #619

Closed classilla closed 3 years ago

classilla commented 3 years ago

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 commented 3 years ago

See @OlgaTPark 's report in https://tenfourfox.tenderapp.com/discussions/problems/9010-tenfourfox-and-ebay

OlgaTPark commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

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 commented 3 years ago

stickin'