From 1ed7758671ae0a8c38ccf4afe90ee31ccd1d2b5b Mon Sep 17 00:00:00 2001 From: Edgar Chen Date: Fri, 11 Sep 2015 11:57:53 +0800 Subject: [PATCH] Bug 1203828 - Let test_mobile_data_ipv6.js really test the v4 or v6 ip addresses. r=jjong --- .../tests/marionette/test_mobile_data_ipv6.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dom/mobileconnection/tests/marionette/test_mobile_data_ipv6.js b/dom/mobileconnection/tests/marionette/test_mobile_data_ipv6.js index 8ec88686e51..7d49979f244 100644 --- a/dom/mobileconnection/tests/marionette/test_mobile_data_ipv6.js +++ b/dom/mobileconnection/tests/marionette/test_mobile_data_ipv6.js @@ -43,12 +43,12 @@ function doTest(aApnSettings, aHaveV4Address, aHaveV6Address) { if (aHaveV4Address) { ok(ips.value.reduce(function(aFound, aAddress) { return aFound || aAddress.indexOf(":") < 0; - }), "IPv4 address"); + }, false), "IPv4 address"); } if (aHaveV6Address) { ok(ips.value.reduce(function(aFound, aAddress) { return aFound || aAddress.indexOf(":") > 0; - }), "IPv6 address"); + }, false), "IPv6 address"); } }) .then(() => setDataEnabledAndWait(false));