зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1233046
- Add requestFlakeyTimeout to SimpleTest shim. - r=jrmuizel
This commit is contained in:
Родитель
be31bf4a6d
Коммит
f14fb612c2
|
@ -28,7 +28,8 @@ def ReadLocalFile(include):
|
|||
|
||||
return data
|
||||
|
||||
kSimpleTestReplacement = '''\n
|
||||
kSimpleTestReplacement = '''
|
||||
|
||||
<script>
|
||||
// SimpleTest.js replacement
|
||||
|
||||
|
@ -52,10 +53,12 @@ function todo(val, text) {
|
|||
SimpleTest = {
|
||||
waitForExplicitFinish: function() {},
|
||||
finish: function() {},
|
||||
requestFlakyTimeout: function() {},
|
||||
};
|
||||
</script>
|
||||
<div id='mochi-to-testcase-output'></div>
|
||||
\n'''
|
||||
|
||||
'''
|
||||
|
||||
fin = open(mochiPath, 'rb')
|
||||
fout = open(testPath, 'wb')
|
||||
|
|
Загрузка…
Ссылка в новой задаче