Backed out 2 changesets (bug 919391) for failing test_resource_timing.html tests a=backout
authorWes Kocher <wkocher@mozilla.com>
Wed, 15 Feb 2017 12:07:18 -0800
changeset 343141 fe960e54cc30c906643e94b2ff0a64cb51df74c6
parent 343140 62adae0f5df21dd911dd6d817af362037b18b08d
child 343142 7430d14ff90f432deee834e227d89f5700fe6de9
push id37450
push userkwierso@gmail.com
push dateThu, 16 Feb 2017 00:33:57 +0000
treeherderautoland@d8e8cc9d9b68 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbackout
bugs919391
milestone54.0a1
backs outc3a4bae5fc8db328f9f8559a65b28c235743bc10
e776663ecbb4df20c2ed612cbaf5d5e2808ab6bb
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
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
testing/web-platform/tests/resource-timing/resources/gzip_xml.py
--- a/testing/web-platform/tests/resource-timing/resources/gzip_xml.py
+++ b/testing/web-platform/tests/resource-timing/resources/gzip_xml.py
@@ -1,16 +1,13 @@
 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()
     with gzip_module.GzipFile(fileobj=out, mode="w") as f:
       f.write(output)
     output = out.getvalue()
 
     headers = [("Content-type", "text/plain"),