Bug 1477573 [wpt PR 12134] - More Python fixes for servodriver, a=testonly

Automatic update from web-platform-testsMerge pull request #12134 from web-platform-tests/sync_bd4051620ae0b82d5505bd351ceb9efdf533ed8a

Merge pull request #12134 from sync_bd4051620ae0b82d5505bd351ceb9efdf533ed8a
--

wpt-commits: d570cb6315897aa30cea66841093ab7484aa090b
wpt-pr: 12134
This commit is contained in:
Servo WPT Sync 2018-07-25 18:41:11 +00:00 коммит произвёл James Graham
Родитель 870ee66d33
Коммит 406e715344
1 изменённых файлов: 17 добавлений и 0 удалений

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

@ -6,6 +6,7 @@ import time
import traceback
from .base import (Protocol,
BaseProtocolPart,
RefTestExecutor,
RefTestImplementation,
TestharnessExecutor,
@ -46,7 +47,23 @@ def do_delayed_imports():
return self.session.send_command("POST", "servo/prefs/reset", body)
class ServoBaseProtocolPart(BaseProtocolPart):
def execute_script(self, script, async=False):
pass
def set_timeout(self, timeout):
pass
def wait(self):
pass
def set_window(self, handle):
pass
class ServoWebDriverProtocol(Protocol):
implements = [ServoBaseProtocolPart]
def __init__(self, executor, browser, capabilities, **kwargs):
do_delayed_imports()
Protocol.__init__(self, executor, browser)