mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 1017513 - Add captive portal tests to b2g emulator. r=schien
This commit is contained in:
parent
df38aa2241
commit
cf51da2e8c
@ -8,6 +8,7 @@
|
||||
[include:dom/system/gonk/tests/xpcshell.ini]
|
||||
[include:dom/wappush/tests/xpcshell.ini]
|
||||
[include:toolkit/components/osfile/tests/xpcshell/xpcshell.ini]
|
||||
[include:toolkit/components/captivedetect/test/unit/xpcshell.ini]
|
||||
[include:toolkit/devtools/apps/tests/unit/xpcshell.ini]
|
||||
[include:toolkit/devtools/debugger/tests/unit/xpcshell.ini]
|
||||
[include:toolkit/devtools/qrcode/tests/unit/xpcshell.ini]
|
||||
|
@ -57,12 +57,4 @@ function test_portal_found() {
|
||||
|
||||
function run_test() {
|
||||
run_captivedetect_test(xhr_handler, fakeUIResponse, test_portal_found);
|
||||
|
||||
server = new HttpServer();
|
||||
server.registerPathHandler(kCanonicalSitePath, xhr_handler);
|
||||
server.start(4444);
|
||||
|
||||
fakeUIResponse();
|
||||
|
||||
test_portal_found();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user