Closed Bug 1576292 Opened 6 years ago Closed 6 years ago

URLClassifier gtests use directory service off the main thread

Categories

(Toolkit :: Safe Browsing, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: Gijs, Assigned: dimi)

References

Details

Attachments

(1 file)

Stack:

[task 2019-08-23T19:56:05.794Z] 19:56:05     INFO -  #01: SetupLookupCache<mozilla::safebrowsing::LookupCacheV4>(nsTArray<nsTString<char> > const &) [toolkit/components/url-classifier/tests/gtest/Common.cpp:218]
[task 2019-08-23T19:56:05.794Z] 19:56:05     INFO -  #02: nsresult mozilla::detail::RunnableFunction<`lambda at z:/build/build/src/toolkit/components/url-classifier/tests/gtest/TestLookupCacheV4.cpp:15:22'>::Run() [xpcom/threads/nsThreadUtils.h:564]

Link: https://searchfox.org/mozilla-central/rev/a650fac7b069ded3d63eba530271ce80e6cafb1b/toolkit/components/url-classifier/tests/gtest/Common.cpp#218

There's a few other uses of NS_GetSpecialDirectory in that file that might want looking at as well.

Assignee: nobody → dlee
Status: NEW → ASSIGNED
Priority: -- → P2
Pushed by dlee@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/e698fd77a093 Avoid using directory service off-main-thread in URL Classifier gtest. r=gcp
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: