forked from mozilla/gecko-dev
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1707876 - Remove browsers.base.inherit and remaining useage, r=wh…
…imboo This was designed to allow reusing configuration across browsers, but in practice it's only used once and is adding additional complexity that isn't merited by the amount of use. Differential Revision: https://phabricator.services.mozilla.com/D113670
- Loading branch information
Showing
2 changed files
with
23 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 23 additions & 7 deletions
30
testing/web-platform/tests/tools/wptrunner/wptrunner/browsers/edge_webdriver.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,28 @@ | ||
from .base import inherit | ||
from . import edge | ||
from .base import NullBrowser # noqa: F401 | ||
from .edge import (EdgeBrowser, # noqa: F401 | ||
EdgeDriverWdspecExecutor, # noqa: F401 | ||
check_args, # noqa: F401 | ||
browser_kwargs, # noqa: F401 | ||
executor_kwargs, # noqa: F401 | ||
env_extras, # noqa: F401 | ||
env_options, # noqa: F401 | ||
run_info_extras, # noqa: F401 | ||
get_timeout_multiplier) # noqa: F401 | ||
|
||
from ..executors.executorwebdriver import (WebDriverTestharnessExecutor, # noqa: F401 | ||
WebDriverRefTestExecutor) # noqa: F401 | ||
|
||
|
||
inherit(edge, globals(), "edge_webdriver") | ||
|
||
# __wptrunner__ magically appears from inherit, F821 is undefined name | ||
__wptrunner__["executor"]["testharness"] = "WebDriverTestharnessExecutor" # noqa: F821 | ||
__wptrunner__["executor"]["reftest"] = "WebDriverRefTestExecutor" # noqa: F821 | ||
__wptrunner__ = {"product": "edge_webdriver", | ||
"check_args": "check_args", | ||
"browser": {None: "EdgeBrowser", | ||
"wdspec": "NullBrowser"}, | ||
"executor": {"testharness": "WebDriverTestharnessExecutor", | ||
"reftest": "WebDriverRefTestExecutor", | ||
"wdspec": "EdgeDriverWdspecExecutor"}, | ||
"browser_kwargs": "browser_kwargs", | ||
"executor_kwargs": "executor_kwargs", | ||
"env_extras": "env_extras", | ||
"env_options": "env_options", | ||
"run_info_extras": "run_info_extras", | ||
"timeout_multiplier": "get_timeout_multiplier"} |