Skip to content

Commit

Permalink
Merge pull request web-platform-tests#12134 from web-platform-tests/s…
Browse files Browse the repository at this point in the history
…ync_bd4051620ae0b82d5505bd351ceb9efdf533ed8a

Merge pull request web-platform-tests#12134 from sync_bd4051620ae0b82d5505bd351ceb9efdf533ed8a
  • Loading branch information
servo-wpt-sync authored Jul 22, 2018
2 parents e01a0bb + bd40516 commit d570cb6
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions tools/wptrunner/wptrunner/executors/executorservodriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
import traceback

from .base import (Protocol,
BaseProtocolPart,
RefTestExecutor,
RefTestImplementation,
TestharnessExecutor,
Expand Down Expand Up @@ -46,7 +47,23 @@ def reset_prefs(self, *prefs):
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)
Expand Down

0 comments on commit d570cb6

Please sign in to comment.