зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
170093d6d9
Коммит
902c3acb7b
|
@ -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()
|
||||||
|
|
Загрузка…
Ссылка в новой задаче