Bug 1331899 - Fix wpt manifest iterator to return the test path, r=Ms2ger
MozReview-Commit-ID: 24nJneq7pjJ
--- a/testing/web-platform/tests/tools/manifest/manifest.py
+++ b/testing/web-platform/tests/tools/manifest/manifest.py
@@ -39,17 +39,17 @@ class Manifest(object):
def __iter__(self):
return self.itertypes()
def itertypes(self, *types):
if not types:
types = sorted(self._data.keys())
for item_type in types:
for path, tests in sorted(iteritems(self._data[item_type])):
- yield item_type, tests
+ yield item_type, path, tests
@property
def reftest_nodes_by_url(self):
if self._reftest_nodes_by_url is None:
by_url = {}
for path, nodes in iteritems(self._data.get("reftests", {})):
for node in nodes:
by_url[node.url] = node