[Webkit-unassigned] [Bug 205994] New: Test imported/w3c/webdriver/tests/switch_to_frame/cross_origin.py::test_nested_cross_origin_iframe fails

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Jan 9 02:29:09 PST 2020


https://bugs.webkit.org/show_bug.cgi?id=205994

            Bug ID: 205994
           Summary: Test
                    imported/w3c/webdriver/tests/switch_to_frame/cross_ori
                    gin.py::test_nested_cross_origin_iframe fails
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebDriver
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: cgarcia at igalia.com
                CC: bburg at apple.com

The test actually works when running it with wpt, but we don't support the subdomains configuration.

_______________________ test_nested_cross_origin_iframe ________________________

session = <Session d5ffbfd7-664c-4646-aa76-8b8e5dc7f58f>
server_config = {'browser_host': 'localhost', 'doc_root': '/home/slave/webkitgtk/gtk-linux-64-release-tests/build/LayoutTests/imported/w3c/web-platform-tests', 'domains': {'': {'': 'localhost'}, 'alt': {'': '127.0.0.1'}}, 'ports': {'http': ['8802']}}

    def test_nested_cross_origin_iframe(session, server_config):
>       frame2 = iframe("", domain="alt", subdomain="www")

server_config = {'browser_host': 'localhost', 'doc_root': '/home/slave/webkitgtk/gtk-linux-64-release-tests/build/LayoutTests/imported/w3c/web-platform-tests', 'domains': {'': {'': 'localhost'}, 'alt': {'': '127.0.0.1'}}, 'ports': {'http': ['8802']}}
session    = <Session d5ffbfd7-664c-4646-aa76-8b8e5dc7f58f>

WebDriverTests/imported/w3c/webdriver/tests/switch_to_frame/cross_origin.py:42: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
WebDriverTests/imported/w3c/webdriver/tests/support/inline.py:67: in iframe
    return "<iframe src='{}'></iframe>".format(inline(src, **kwargs))
WebDriverTests/imported/w3c/webdriver/tests/support/inline.py:62: in inline
    **kwargs)
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

path = '/webdriver/tests/support/inline.py', protocol = 'http', domain = 'alt'
subdomain = 'www'
query = 'doc=%3C%21doctype+html%3E%0A%3Cmeta+charset%3DUTF-8%3E%0A&charset=UTF-8&mime=text%2Fhtml'
fragment = ''

    def inner(path, protocol="http", domain="", subdomain="", query="", fragment=""):
>       domain = server_config["domains"][domain][subdomain]
E       KeyError: 'www'

domain     = 'alt'
fragment   = ''
path       = '/webdriver/tests/support/inline.py'
protocol   = 'http'
query      = 'doc=%3C%21doctype+html%3E%0A%3Cmeta+charset%3DUTF-8%3E%0A&charset=UTF-8&mime=text%2Fhtml'
server_config = {'browser_host': 'localhost', 'doc_root': '/home/slave/webkitgtk/gtk-linux-64-release-tests/build/LayoutTests/imported/w3c/web-platform-tests', 'domains': {'': {'': 'localhost'}, 'alt': {'': '127.0.0.1'}}, 'ports': {'http': ['8802']}}
subdomain  = 'www'

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200109/c37072bf/attachment-0001.htm>


More information about the webkit-unassigned mailing list