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
This commit is contained in:
Wes Kocher 2017-02-15 12:07:18 -08:00
Родитель 170093d6d9
Коммит 902c3acb7b
1 изменённых файлов: 1 добавлений и 4 удалений

Просмотреть файл

@ -1,11 +1,8 @@
import gzip as gzip_module import gzip as gzip_module
from cStringIO import StringIO from cStringIO import StringIO
import os
def main(request, response): def main(request, response):
dir_path = os.path.dirname(os.path.realpath(__file__)) f = open('resource-timing/resources/resource_timing_test0.xml', 'r')
file_path = os.path.join(dir_path, 'resource_timing_test0.xml')
f = open(file_path, 'r')
output = f.read() output = f.read()
out = StringIO() out = StringIO()