зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset 7cb746e25e2a (bug 1827934) for causing wpt failures in /wai-aria/role/list-roles.html. CLOSED TREE
This commit is contained in:
Родитель
85d921c123
Коммит
2c00b24758
|
@ -0,0 +1,2 @@
|
|||
[basic.html]
|
||||
expected: ERROR
|
|
@ -1,4 +1,2 @@
|
|||
[basic.html]
|
||||
[tests explicit role]
|
||||
expected: FAIL
|
||||
bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1822112
|
||||
expected: ERROR
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
import json
|
||||
import os
|
||||
import shutil
|
||||
import tempfile
|
||||
import threading
|
||||
import time
|
||||
import traceback
|
||||
|
@ -24,8 +26,7 @@ from .base import (CallbackHandler,
|
|||
WdspecExecutor,
|
||||
get_pages,
|
||||
strip_server)
|
||||
from .protocol import (AccessibilityProtocolPart,
|
||||
ActionSequenceProtocolPart,
|
||||
from .protocol import (ActionSequenceProtocolPart,
|
||||
AssertsProtocolPart,
|
||||
BaseProtocolPart,
|
||||
TestharnessProtocolPart,
|
||||
|
@ -702,17 +703,6 @@ loadDevTools().catch((e) => console.error("Devtools failed to load", e))
|
|||
""", asynchronous=True)
|
||||
|
||||
|
||||
class MarionetteAccessibilityProtocolPart(AccessibilityProtocolPart):
|
||||
def setup(self):
|
||||
self.marionette = self.parent.marionette
|
||||
|
||||
def get_computed_label(self, element):
|
||||
return element.computed_label
|
||||
|
||||
def get_computed_role(self, element):
|
||||
return element.computed_role
|
||||
|
||||
|
||||
class MarionetteProtocol(Protocol):
|
||||
implements = [MarionetteBaseProtocolPart,
|
||||
MarionetteTestharnessProtocolPart,
|
||||
|
@ -731,8 +721,7 @@ class MarionetteProtocol(Protocol):
|
|||
MarionetteVirtualAuthenticatorProtocolPart,
|
||||
MarionetteSetPermissionProtocolPart,
|
||||
MarionettePrintProtocolPart,
|
||||
MarionetteDebugProtocolPart,
|
||||
MarionetteAccessibilityProtocolPart]
|
||||
MarionetteDebugProtocolPart]
|
||||
|
||||
def __init__(self, executor, browser, capabilities=None, timeout_multiplier=1, e10s=True, ccov=False):
|
||||
do_delayed_imports()
|
||||
|
|
Загрузка…
Ссылка в новой задаче