Bug 205994
| Summary: | Test imported/w3c/webdriver/tests/switch_to_frame/cross_origin.py::test_nested_cross_origin_iframe fails | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Carlos Garcia Campos <cgarcia> |
| Component: | WebDriver | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | ap, bburg, youennf |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Carlos Garcia Campos
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'
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |