mirror of
https://github.com/servo/servo.git
synced 2025-08-15 10:25:32 +01:00
Update web-platform-tests to revision f0cb9071aea5ce5b641fcba5f362a0796bdc70bc
This commit is contained in:
parent
0d549e8146
commit
7289e837fd
558 changed files with 8627 additions and 6619 deletions
|
@ -1,6 +1,6 @@
|
|||
# flake8: noqa
|
||||
|
||||
from client import (
|
||||
from .client import (
|
||||
Cookies,
|
||||
Element,
|
||||
Find,
|
||||
|
@ -8,7 +8,7 @@ from client import (
|
|||
Session,
|
||||
Timeouts,
|
||||
Window)
|
||||
from error import (
|
||||
from .error import (
|
||||
ElementNotSelectableException,
|
||||
ElementNotVisibleException,
|
||||
InvalidArgumentException,
|
||||
|
|
|
@ -1,10 +1,9 @@
|
|||
import urlparse
|
||||
|
||||
import error
|
||||
import protocol
|
||||
import transport
|
||||
from . import error
|
||||
from . import protocol
|
||||
from . import transport
|
||||
|
||||
from six import string_types
|
||||
from six.moves.urllib import parse as urlparse
|
||||
|
||||
|
||||
def command(func):
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
import collections
|
||||
import json
|
||||
|
||||
from six import itervalues
|
||||
|
||||
class WebDriverException(Exception):
|
||||
http_status = None
|
||||
|
@ -205,6 +206,6 @@ def get(error_code):
|
|||
|
||||
|
||||
_errors = collections.defaultdict()
|
||||
for item in locals().values():
|
||||
for item in list(itervalues(locals())):
|
||||
if type(item) == type and issubclass(item, WebDriverException):
|
||||
_errors[item.status_code] = item
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
import httplib
|
||||
import json
|
||||
import select
|
||||
import urlparse
|
||||
from six.moves.urllib import parse as urlparse
|
||||
from six.moves import http_client as httplib
|
||||
|
||||
import error
|
||||
from . import error
|
||||
|
||||
from six import text_type
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue