Closed Bug 1471628 Opened 6 years ago Closed 6 years ago

Make Captive Portal Service testable via xpcshell test

Categories

(Core :: Networking, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla63
Tracking Status
firefox63 --- fixed

People

(Reporter: valentin, Assigned: valentin)

References

(Blocks 1 open bug)

Details

(Whiteboard: [necko-triaged])

Attachments

(2 files)

The captive portal service isn't even started when non-local connections are disabled, as it is with xpcshell-tests.
This makes it harder to test.
Comment on attachment 8988260 [details]
Bug 1471628 - Use singleton for captive portal constructor

https://reviewboard.mozilla.org/r/253502/#review260272
Attachment #8988260 - Flags: review?(daniel) → review+
Comment on attachment 8988227 [details]
Bug 1471628 - Add test for Captive Portal Service

https://reviewboard.mozilla.org/r/253454/#review260276
Attachment #8988227 - Flags: review?(daniel) → review+
Pushed by valentin.gosu@gmail.com:
https://hg.mozilla.org/integration/autoland/rev/eeec72dc70ac
Add test for Captive Portal Service r=bagder
https://hg.mozilla.org/integration/autoland/rev/f4de76c19666
Use singleton for captive portal constructor r=bagder
Flags: needinfo?(valentin.gosu)
https://hg.mozilla.org/mozilla-central/rev/327de25643e2
https://hg.mozilla.org/mozilla-central/rev/59a408f5d992
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla63
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: