Bug 1499962 - update wpt metadata for netinfo tests on fennec r=marcosc
authorWes Kocher <wkocher@mozilla.com>
Wed, 24 Oct 2018 05:46:16 +0000
changeset 491068 5173779c1c5e750809d31d018e2f47657ca7fa10
parent 491056 f266aa4cd4b04f7cec1fffeec4fccd1baafdf244
child 491069 28ab0061c2ac1c13e4550117acf466509a6d2dcf
push id247
push userfmarier@mozilla.com
push dateSat, 27 Oct 2018 01:06:44 +0000
reviewersmarcosc
bugs1499962
milestone65.0a1
Bug 1499962 - update wpt metadata for netinfo tests on fennec r=marcosc Fennec actually supports this API, so the tests pass on fennec while they fail on desktop. Differential Revision: https://phabricator.services.mozilla.com/D9262
testing/web-platform/meta/netinfo/idlharness.any.js.ini
testing/web-platform/meta/netinfo/netinfo-basics.html.ini
--- a/testing/web-platform/meta/netinfo/idlharness.any.js.ini
+++ b/testing/web-platform/meta/netinfo/idlharness.any.js.ini
@@ -1,32 +1,46 @@
 [idlharness.any.html]
   [Untitled]
     expected: FAIL
 
   [NetworkInformation interface: existence and properties of interface object]
-    expected: FAIL
+    expected:
+      if os == "android": PASS
+      FAIL
 
   [NetworkInformation interface object length]
-    expected: FAIL
+    expected:
+      if os == "android": PASS
+      FAIL
 
   [NetworkInformation interface object name]
-    expected: FAIL
+    expected:
+      if os == "android": PASS
+      FAIL
 
   [NetworkInformation interface: existence and properties of interface prototype object]
-    expected: FAIL
+    expected:
+      if os == "android": PASS
+      FAIL
 
   [NetworkInformation interface: existence and properties of interface prototype object's "constructor" property]
-    expected: FAIL
+    expected:
+      if os == "android": PASS
+      FAIL
 
   [NetworkInformation interface: existence and properties of interface prototype object's @@unscopables property]
-    expected: FAIL
+    expected:
+      if os == "android": PASS
+      FAIL
 
   [NetworkInformation interface: attribute type]
-    expected: FAIL
+    expected:
+      if os == "android": PASS
+      FAIL
 
   [NetworkInformation interface: attribute effectiveType]
     expected: FAIL
 
   [NetworkInformation interface: attribute downlinkMax]
     expected: FAIL
 
   [NetworkInformation interface: attribute downlink]
@@ -37,23 +51,29 @@
 
   [NetworkInformation interface: attribute saveData]
     expected: FAIL
 
   [NetworkInformation interface: attribute onchange]
     expected: FAIL
 
   [NetworkInformation must be primary interface of navigator.connection]
-    expected: FAIL
+    expected:
+      if os == "android": PASS
+      FAIL
 
   [Stringification of navigator.connection]
-    expected: FAIL
+    expected:
+      if os == "android": PASS
+      FAIL
 
   [NetworkInformation interface: navigator.connection must inherit property "type" with the proper type]
-    expected: FAIL
+    expected:
+      if os == "android": PASS
+      FAIL
 
   [NetworkInformation interface: navigator.connection must inherit property "effectiveType" with the proper type]
     expected: FAIL
 
   [NetworkInformation interface: navigator.connection must inherit property "downlinkMax" with the proper type]
     expected: FAIL
 
   [NetworkInformation interface: navigator.connection must inherit property "downlink" with the proper type]
@@ -64,46 +84,69 @@
 
   [NetworkInformation interface: navigator.connection must inherit property "saveData" with the proper type]
     expected: FAIL
 
   [NetworkInformation interface: navigator.connection must inherit property "onchange" with the proper type]
     expected: FAIL
 
   [Navigator interface: attribute connection]
-    expected: FAIL
+    expected:
+      if os == "android": PASS
+      FAIL
 
   [Navigator interface: navigator must inherit property "connection" with the proper type]
-    expected: FAIL
+    expected:
+      if os == "android": PASS
+      FAIL
 
 
 [idlharness.any.worker.html]
   [Untitled]
     expected: FAIL
 
+  [Navigator interface: navigator must not have property "connection"]
+    expected:
+      if os == "android": FAIL
+      PASS
+
   [NetworkInformation interface: existence and properties of interface object]
-    expected: FAIL
+    expected:
+      if os == "android": PASS
+      FAIL
 
   [NetworkInformation interface object length]
-    expected: FAIL
+    expected:
+      if os == "android": PASS
+      FAIL
 
   [NetworkInformation interface object name]
-    expected: FAIL
+    expected:
+      if os == "android": PASS
+      FAIL
 
   [NetworkInformation interface: existence and properties of interface prototype object]
-    expected: FAIL
+    expected:
+      if os == "android": PASS
+      FAIL
 
   [NetworkInformation interface: existence and properties of interface prototype object's "constructor" property]
-    expected: FAIL
+    expected:
+      if os == "android": PASS
+      FAIL
 
   [NetworkInformation interface: existence and properties of interface prototype object's @@unscopables property]
-    expected: FAIL
+    expected:
+      if os == "android": PASS
+      FAIL
 
   [NetworkInformation interface: attribute type]
-    expected: FAIL
+    expected:
+      if os == "android": PASS
+      FAIL
 
   [NetworkInformation interface: attribute effectiveType]
     expected: FAIL
 
   [NetworkInformation interface: attribute downlinkMax]
     expected: FAIL
 
   [NetworkInformation interface: attribute downlink]
@@ -114,23 +157,29 @@
 
   [NetworkInformation interface: attribute saveData]
     expected: FAIL
 
   [NetworkInformation interface: attribute onchange]
     expected: FAIL
 
   [NetworkInformation must be primary interface of navigator.connection]
-    expected: FAIL
+    expected:
+      if os == "android": PASS
+      FAIL
 
   [Stringification of navigator.connection]
-    expected: FAIL
+    expected:
+      if os == "android": PASS
+      FAIL
 
   [NetworkInformation interface: navigator.connection must inherit property "type" with the proper type]
-    expected: FAIL
+    expected:
+      if os == "android": PASS
+      FAIL
 
   [NetworkInformation interface: navigator.connection must inherit property "effectiveType" with the proper type]
     expected: FAIL
 
   [NetworkInformation interface: navigator.connection must inherit property "downlinkMax" with the proper type]
     expected: FAIL
 
   [NetworkInformation interface: navigator.connection must inherit property "downlink" with the proper type]
@@ -141,10 +190,12 @@
 
   [NetworkInformation interface: navigator.connection must inherit property "saveData" with the proper type]
     expected: FAIL
 
   [NetworkInformation interface: navigator.connection must inherit property "onchange" with the proper type]
     expected: FAIL
 
   [WorkerNavigator interface: attribute connection]
-    expected: FAIL
+    expected:
+      if os == "android": PASS
+      FAIL
 
--- a/testing/web-platform/meta/netinfo/netinfo-basics.html.ini
+++ b/testing/web-platform/meta/netinfo/netinfo-basics.html.ini
@@ -10,17 +10,19 @@
 
   [NetInfo basic functionality 3]
     expected: FAIL
 
   [NetInfo basic functionality 4]
     expected: FAIL
 
   [type attribute]
-    expected: FAIL
+    expected:
+      if os == "android": PASS
+      FAIL
 
   [downlinkMax attribute]
     expected: FAIL
 
   [effectiveType attribute]
     expected: FAIL
 
   [rtt attribute]