Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Gecko Bug 1914407] [wdspec] Fix blank js template for inline helper #48843

Closed
wants to merge 1 commit into from

[wdspec] Fix blank js template for inline helper

05f1211
Select commit
Loading
Failed to load commit list.
Closed

[Gecko Bug 1914407] [wdspec] Fix blank js template for inline helper #48843

[wdspec] Fix blank js template for inline helper
05f1211
Select commit
Loading
Failed to load commit list.
Community-TC Integration / wpt-chrome-dev-results succeeded Oct 28, 2024 in 32m 59s

Community-TC (pull_request)

Collect results for all tests affected by a pull request in chrome.

Details

View task in Taskcluster | View logs in Taskcluster | View task group in Taskcluster

Task Status

Started: 2024-10-28T18:35:41.530Z
Resolved: 2024-10-28T19:07:43.702Z
Task Execution Time: 32 minutes, 2 seconds, 172 milliseconds
Task Status: completed
Reason Resolved: completed
RunId: 0

Artifacts

- public/logs/live_backing.log
- public/logs/live.log
- public/results/checkrun.md
- public/results/wpt_report.json.gz
- public/results/wpt_screenshot.txt.gz

WPT Command: python3 ./wpt run --channel=dev --no-fail-on-unexpected --log-wptreport=../artifacts/wpt_report.json --log-wptscreenshot=../artifacts/wpt_screenshot.txt --affected base_head --log-mach-level=info --log-mach=- -y --no-pause --no-restart-on-unexpected --install-fonts --no-headless --verify-log-full --enable-swiftshader --install-browser --install-webdriver chrome


[taskcluster 2024-10-28 18:35:41.716Z] Task ID: czMq-C1kTzi6yHrabDvAjA
[taskcluster 2024-10-28 18:35:41.717Z] Worker ID: 4224497528717076385
[taskcluster 2024-10-28 18:35:41.717Z] Worker Group: us-central1-f
[taskcluster 2024-10-28 18:35:41.717Z] Worker Node Type: projects/757942385826/machineTypes/n2-standard-4
[taskcluster 2024-10-28 18:35:41.717Z] Worker Pool: proj-wpt/ci
[taskcluster 2024-10-28 18:35:41.717Z] Worker Version: 46.1.0
[taskcluster 2024-10-28 18:35:41.717Z] Public IP: 35.226.174.200
[taskcluster 2024-10-28 18:35:41.717Z] Hostname: proj-wpt-ci-fweckz5rsaq8rkuj9jeaiq

ff2b96c8f8ff - Started downloading
ff2b96c8f8ff - Downloaded in 0.011 seconds
560c024910be - Started downloading
72ebe8ecf66d - Started downloading
430011f338a2 - Started downloading
430011f338a2 - Downloaded in 0.046 seconds
560c024910be - Downloaded in 0.228 seconds
4f4fb700ef54 - Started downloading
4f4fb700ef54 - Downloaded in 0.002 seconds
79df10d18997 - Started downloading
7e274023cae9 - Started downloading

...(182082 lines hidden)...

webdriver/tests/interop/beforeunload_prompt.py:63: in check_beforeunload_not_implicitly_accepted
    await bidi_session.browsing_context.handle_user_prompt(
        accept     = False
        bidi_session = <webdriver.bidi.client.BidiSession object at 0x7fb968f0cb50>
        current_session = <Session 36f0a52793f8287d203e3eaea125f4e0>
        execute_as_async = <function execute_as_async.<locals>.execute_as_async at 0x7fb968f3cb80>
        new_tab    = {'context': 'D538255310C61DF2D7B824BAFC4B6B03'}
        on_prompt_closed = <Future finished result={'accepted': False, 'context': 'D538255310C6...824BAFC4B6B03', 'type': 'beforeunload'}>
        on_prompt_opened = <Future finished result={'context': 'D538255310C6...824BAFC4B6B03', 'handler': 'dismiss', 'message': '', 'type': 'beforeunload'}>
        opened_event = {'context': 'D538255310C61DF2D7B824BAFC4B6B03',
 'handler': 'dismiss',
 'message': '',
 'type': 'beforeunload'}
        page_beforeunload = 'https://web-platform.test:8443/webdriver/tests/support/html/beforeunload.html'
        page_target = 'https://web-platform.test:8443/webdriver/tests/support/html/default.html'
        setup_beforeunload_page = <function setup_beforeunload_page.<locals>.setup_beforeunload_page at 0x7fb968f3c310>
        subscribe_events = <function subscribe_events.<locals>.subscribe_events at 0x7fb968f3c040>
        sync_navigate = <function check_beforeunload_not_implicitly_accepted.<locals>.check_beforeunload_not_implicitly_accepted.<locals>.sync_navigate at 0x7fb968f3ce50>
        task_navigate = <Task finished name='Task-80720' coro=<execute_as_async.<locals>.execute_as_async() done, defined at /home/test/web-platform-tests/webdriver/tests/support/fixtures_bidi.py:55> result=None>
        url        = <function url.<locals>.url at 0x7fb969809820>
        wait_for_event = <function wait_for_event.<locals>.wait_for_event at 0x7fb968f3c280>
        wait_for_future_safe = <function wait_for_future_safe.<locals>.wait_for_future_safe at 0x7fb968f3c670>
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <webdriver.bidi.modules.browsing_context.BrowsingContext object at 0x7fb968f0cb80>
kwargs = {'accept': False, 'context': 'D538255310C61DF2D7B824BAFC4B6B03'}
raw_result = False
params = {'accept': False, 'context': 'D538255310C61DF2D7B824BAFC4B6B03'}
mod_name = 'browsingContext', cmd_name = 'browsingContext.handleUserPrompt'
future = <Future finished exception=NoSuchAlertException(no such alert, No dialog is showing, None)>

    @functools.wraps(params_fn)
    async def inner(self: Any, **kwargs: Any) -> Any:
        raw_result = kwargs.pop("raw_result", False)
        params = remove_undefined(params_fn(self, **kwargs))
    
        # Convert the classname and the method name to a bidi command name
        mod_name = owner.__name__[0].lower() + owner.__name__[1:]
        if hasattr(owner, "prefix"):
            mod_name = f"{owner.prefix}:{mod_name}"
        cmd_name = f"{mod_name}.{to_camelcase(name)}"
    
        future = await self.session.send_command(cmd_name, params)
>       result = await future
E       webdriver.bidi.error.NoSuchAlertException: no such alert (No dialog is showing)

cmd_name   = 'browsingContext.handleUserPrompt'
future     = <Future finished exception=NoSuchAlertException(no such alert, No dialog is showing, None)>
kwargs     = {'accept': False, 'context': 'D538255310C61DF2D7B824BAFC4B6B03'}
mod_name   = 'browsingContext'
name       = 'handle_user_prompt'
owner      = <class 'webdriver.bidi.modules.browsing_context.BrowsingContext'>
params     = {'accept': False, 'context': 'D538255310C61DF2D7B824BAFC4B6B03'}
params_fn  = <function BrowsingContext.handle_user_prompt at 0x7fb982a2edc0>
raw_result = False
result_fn  = None
self       = <webdriver.bidi.modules.browsing_context.BrowsingContext object at 0x7fb968f0cb80>

tools/webdriver/webdriver/bidi/modules/_module.py:76: NoSuchAlertException
  FAIL test_dismiss_and_notify[capabilities0-True] - webdriver.bidi.error.NoSuchAlertException: no such alert (No dialog is showing)
check_beforeunload_not_implicitly_accepted = <function check_beforeunload_not_implicitly_accepted.<locals>.check_beforeunload_not_implicitly_accepted at 0x7fb968ee7820>
accept = True

    @pytest.mark.capabilities({"unhandledPromptBehavior": "dismiss and notify"})
    @pytest.mark.parametrize("accept", [False, True])
    async def test_dismiss_and_notify(check_beforeunload_not_implicitly_accepted, accept):
>       await check_beforeunload_not_implicitly_accepted(accept)

accept     = True
check_beforeunload_not_implicitly_accepted = <function check_beforeunload_not_implicitly_accepted.<locals>.check_beforeunload_not_implicitly_accepted at 0x7fb968ee7820>

webdriver/tests/interop/beforeunload_prompt.py:111: 
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 
webdriver/tests/interop/beforeunload_prompt.py:63: in check_beforeunload_not_implicitly_accepted
    await bidi_session.browsing_context.handle_user_prompt(
        accept     = True
        bidi_session = <webdriver.bidi.client.BidiSession object at 0x7fb968f0cb50>
        current_session = <Session 36f0a52793f8287d203e3eaea125f4e0>
        execute_as_async = <function execute_as_async.<locals>.execute_as_async at 0x7fb968ee7790>
        new_tab    = {'context': 'CB25975E9ADEBCEFE2666D979A60F2DF'}
        on_prompt_closed = <Future finished result={'accepted': False, 'context': 'CB25975E9ADE...66D979A60F2DF', 'type': 'beforeunload'}>
        on_prompt_opened = <Future finished result={'context': 'CB25975E9ADE...66D979A60F2DF', 'handler': 'dismiss', 'message': '', 'type': 'beforeunload'}>
        opened_event = {'context': 'CB25975E9ADEBCEFE2666D979A60F2DF',
 'handler': 'dismiss',
 'message': '',
 'type': 'beforeunload'}
        page_beforeunload = 'https://web-platform.test:8443/webdriver/tests/support/html/beforeunload.html'
        page_target = 'https://web-platform.test:8443/webdriver/tests/support/html/default.html'
        setup_beforeunload_page = <function setup_beforeunload_page.<locals>.setup_beforeunload_page at 0x7fb968ee71f0>
        subscribe_events = <function subscribe_events.<locals>.subscribe_events at 0x7fb968ee73a0>
        sync_navigate = <function check_beforeunload_not_implicitly_accepted.<locals>.check_beforeunload_not_implicitly_accepted.<locals>.sync_navigate at 0x7fb968ee7a60>
        task_navigate = <Task finished name='Task-80737' coro=<execute_as_async.<locals>.execute_as_async() done, defined at /home/test/web-platform-tests/webdriver/tests/support/fixtures_bidi.py:55> result=None>
        url        = <function url.<locals>.url at 0x7fb968f08c10>
        wait_for_event = <function wait_for_event.<locals>.wait_for_event at 0x7fb968ee7280>
        wait_for_future_safe = <function wait_for_future_safe.<locals>.wait_for_future_safe at 0x7fb968ee7430>
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ 

self = <webdriver.bidi.modules.browsing_context.BrowsingContext object at 0x7fb968f0cb80>
kwargs = {'accept': True, 'context': 'CB25975E9ADEBCEFE2666D979A60F2DF'}
raw_result = False
params = {'accept': True, 'context': 'CB25975E9ADEBCEFE2666D979A60F2DF'}
mod_name = 'browsingContext', cmd_name = 'browsingContext.handleUserPrompt'
future = <Future finished exception=NoSuchAlertException(no such alert, No dialog is showing, None)>

    @functools.wraps(params_fn)
    async def inner(self: Any, **kwargs: Any) -> Any:
        raw_result = kwargs.pop("raw_result", False)
        params = remove_undefined(params_fn(self, **kwargs))
    
        # Convert the classname and the method name to a bidi command name
        mod_name = owner.__name__[0].lower() + owner.__name__[1:]
        if hasattr(owner, "prefix"):
            mod_name = f"{owner.prefix}:{mod_name}"
        cmd_name = f"{mod_name}.{to_camelcase(name)}"
    
        future = await self.session.send_command(cmd_name, params)
>       result = await future
E       webdriver.bidi.error.NoSuchAlertException: no such alert (No dialog is showing)

cmd_name   = 'browsingContext.handleUserPrompt'
future     = <Future finished exception=NoSuchAlertException(no such alert, No dialog is showing, None)>
kwargs     = {'accept': True, 'context': 'CB25975E9ADEBCEFE2666D979A60F2DF'}
mod_name   = 'browsingContext'
name       = 'handle_user_prompt'
owner      = <class 'webdriver.bidi.modules.browsing_context.BrowsingContext'>
params     = {'accept': True, 'context': 'CB25975E9ADEBCEFE2666D979A60F2DF'}
params_fn  = <function BrowsingContext.handle_user_prompt at 0x7fb982a2edc0>
raw_result = False
result_fn  = None
self       = <webdriver.bidi.modules.browsing_context.BrowsingContext object at 0x7fb968f0cb80>

tools/webdriver/webdriver/bidi/modules/_module.py:76: NoSuchAlertException
/webdriver/tests/interop/frames.py
  FAIL test_classic_switch_to_parent_no_browsing_context - Failed: DID NOT RAISE <class 'webdriver.error.NoSuchWindowException'>
bidi_session = <webdriver.bidi.client.BidiSession object at 0x7fb968e92b50>
current_session = <Session 1a2174c1720d4e7d07eb0b0e34118e93>
url = <function url.<locals>.url at 0x7fb968f08280>

    async def test_classic_switch_to_parent_no_browsing_context(bidi_session, current_session, url):
        # With WebDriver classic it cannot be checked if the parent frame is already
        # gone before switching to it. To prevent race conditions such a check needs
        # to be done via WebDriver BiDi.
        current_session.url = url("/webdriver/tests/support/html/frames.html")
    
        subframe = current_session.find.css("#sub-frame", all=False)
        current_session.switch_frame(subframe)
    
        deleteframe = current_session.find.css("#delete-frame", all=False)
        current_session.switch_frame(deleteframe)
    
        button = current_session.find.css("#remove-top", all=False)
        button.click()
    
        async def is_frame_removed(_):
            contexts = await bidi_session.browsing_context.get_tree(root=current_session.window_handle)
            return not contexts[0]["children"]
    
        # Wait until IFrame is gone.
        wait = AsyncPoll(
            current_session,
            timeout=5,
            message="IFrame that should be closed is still open",
        )
        await wait.until(is_frame_removed)
    
        with pytest.raises(NoSuchWindowException):
>           current_session.switch_frame("parent")
E           Failed: DID NOT RAISE <class 'webdriver.error.NoSuchWindowException'>

bidi_session = <webdriver.bidi.client.BidiSession object at 0x7fb968e92b50>
button     = <WebElement f.637EDBBB2AB3421CE4C4EB6C68694D18.d.8F42914B6F9DA0833D072ED9DF8EDF99.e.9>
current_session = <Session 1a2174c1720d4e7d07eb0b0e34118e93>
deleteframe = <WebElement f.9E7997896D3E88C555D573681F49ABC5.d.AC7A022CF82A386D70493B81D79F34B9.e.8>
is_frame_removed = <function test_classic_switch_to_parent_no_browsing_context.<locals>.is_frame_removed at 0x7fb968e90ca0>
subframe   = <WebElement f.AA95E3F465F7AC1BA9E378D26A011A24.d.330BD2DBCBF8B46313AE8EB85A956190.e.7>
url        = <function url.<locals>.url at 0x7fb968f08280>
wait       = <tests.support.sync.AsyncPoll object at 0x7fb968eaae20>

webdriver/tests/interop/frames.py:37: Failed
29:20.29 INFO Got 92 unexpected results, with 0 unexpected passes
29:20.29 wptserve INFO Stopped WebTransport over HTTP/3 server on 127.0.0.1:11000
29:20.29 wptserve INFO Stopped http server on 127.0.0.1:8002
29:20.29 wptserve INFO Stopped http server on 127.0.0.1:9000
29:20.30 wptserve INFO Stopped http server on 127.0.0.1:8446
29:20.30 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8888))
29:20.30 wptserve INFO Close on: (<AddressFamily.AF_INET: 2>, <SocketKind.SOCK_STREAM: 1>, 6, '', ('127.0.0.1', 8889))
29:20.45 wptserve INFO Stopped http server on 127.0.0.1:8000
29:20.76 wptserve INFO Stopped http server on 127.0.0.1:8443
29:20.76 wptserve INFO Stopped http server on 127.0.0.1:8003
29:20.76 wptserve INFO Stopped http server on 127.0.0.1:8445
29:20.78 wptserve INFO Stopped http server on 127.0.0.1:8001
29:20.78 wptserve INFO Stopped http server on 127.0.0.1:8444
29:20.85 INFO Removed font: Ahem.ttf
29:20.89 INFO Closing logging queue
29:20.89 INFO queue closed
29:20.89 INFO Tolerating 92 unexpected results
X connection to :99.0 broken (explicit kill or server shutdown).

[taskcluster 2024-10-28 19:07:42.351Z] === Task Finished ===
[taskcluster 2024-10-28 19:07:43.105Z] Successful task run with exit code: 0 completed in 1921.391 seconds