From 902c3acb7baf11828a057ae4bee02b9a0484abf2 Mon Sep 17 00:00:00 2001 From: Wes Kocher Date: Wed, 15 Feb 2017 12:07:18 -0800 Subject: [PATCH] Backed out 2 changesets (bug 919391) for failing test_resource_timing.html tests a=backout Backed out changeset c3a4bae5fc8d (bug 919391) Backed out changeset e776663ecbb4 (bug 919391) MozReview-Commit-ID: GwUBLZbKe6r --- .../web-platform/tests/resource-timing/resources/gzip_xml.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/testing/web-platform/tests/resource-timing/resources/gzip_xml.py b/testing/web-platform/tests/resource-timing/resources/gzip_xml.py index 31a769eb3666..3346da6c969c 100644 --- a/testing/web-platform/tests/resource-timing/resources/gzip_xml.py +++ b/testing/web-platform/tests/resource-timing/resources/gzip_xml.py @@ -1,11 +1,8 @@ import gzip as gzip_module from cStringIO import StringIO -import os def main(request, response): - dir_path = os.path.dirname(os.path.realpath(__file__)) - file_path = os.path.join(dir_path, 'resource_timing_test0.xml') - f = open(file_path, 'r') + f = open('resource-timing/resources/resource_timing_test0.xml', 'r') output = f.read() out = StringIO()