Open Bug 1552946 Opened 5 years ago Updated 4 months ago

Cannot access https websites from junit test locally

Categories

(GeckoView :: General, defect, P3)

Unspecified
All

Tracking

(Not tracked)

People

(Reporter: agi, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached file logcat output

geckoview-junit fails for all tests that try to access https websites on my machine (e.g. https://example.com) but not in automation.

This behavior started with Bug 1535210, reverting that the tests pass again.

$ ./mach geckoview-junit org.mozilla.geckoview.test.NavigationDelegateTest
...
Unexpected Results
------------------
FAIL org.mozilla.geckoview.test.NavigationDelegateTest.bypassClassifier - status -2
FAIL org.mozilla.geckoview.test.NavigationDelegateTest.loadUriReferrer - status -2
FAIL org.mozilla.geckoview.test.NavigationDelegateTest.safebrowsingHarmful - status -2
FAIL org.mozilla.geckoview.test.NavigationDelegateTest.safebrowsingPhishing - status -2
FAIL org.mozilla.geckoview.test.NavigationDelegateTest.safebrowsingMalware - status -2
FAIL org.mozilla.geckoview.test.NavigationDelegateTest.loadUntrusted - status -2
FAIL org.mozilla.geckoview.test.NavigationDelegateTest.safebrowsingUnwanted - status -2

See also logcat.

Do we need to be able to run these tests from Android Studio, too?

Priority: -- → P2
Rank: 45
Rank: 45 → 10
Priority: P2 → P3
Severity: normal → S3
Rank: 10 → 333
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: