зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1448882
[wpt PR 10175] - Add base protocol to ConnectionlessProtocol., a=testonly
Automatic update from web-platform-testsAdd base protocol to ConnectionlessProtocol. wpt-commits: 3b57b118a10cc6ec05c8d7aeb30ec6faadc729ad wpt-pr: 10175 wpt-commits: 3b57b118a10cc6ec05c8d7aeb30ec6faadc729ad wpt-pr: 10175
This commit is contained in:
Родитель
011be90291
Коммит
4b62a11812
|
@ -8,7 +8,7 @@ import urlparse
|
|||
from abc import ABCMeta, abstractmethod
|
||||
|
||||
from ..testrunner import Stop
|
||||
from protocol import Protocol
|
||||
from protocol import Protocol, BaseProtocolPart
|
||||
|
||||
here = os.path.split(__file__)[0]
|
||||
|
||||
|
@ -411,7 +411,23 @@ class WdspecRun(object):
|
|||
self.result_flag.set()
|
||||
|
||||
|
||||
class ConnectionlessBaseProtocolPart(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 ConnectionlessProtocol(Protocol):
|
||||
implements = [ConnectionlessBaseProtocolPart]
|
||||
|
||||
def connect(self):
|
||||
pass
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче