WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
205994
Test imported/w3c/webdriver/tests/switch_to_frame/cross_origin.py::test_nested_cross_origin_iframe fails
https://bugs.webkit.org/show_bug.cgi?id=205994
Summary
Test imported/w3c/webdriver/tests/switch_to_frame/cross_origin.py::test_neste...
Carlos Garcia Campos
Reported
2020-01-09 02:29:09 PST
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.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug