Open Bug 2090076 Opened 12 days ago Updated 12 days ago

[firefox-devtools-mcp] Return early from tool calls that open a dialog

Categories

(Developer Infrastructure :: Firefox MCP, enhancement, P2)

enhancement
Points:
2

Tracking

(Not tracked)

ASSIGNED

People

(Reporter: hbenl, Assigned: hbenl)

References

Details

(Whiteboard: [webdriver:m22])

Some tools can be blocked by dialogs they open:

  • click_by_uid
  • hover_by_uid
  • fill_by_uid
  • drag_by_uid_to_uid
  • fill_form_by_uid
  • upload_file_by_uid
  • press_key
  • type_text
  • new_page
  • navigate_page
  • close_page
  • print_page
  • evaluate_script
  • navigate_history

Race those tools against the browsingContext.userPromptOpened event and return early with a message describing the opened dialog.

See Also: → 2090078
You need to log in before you can comment on or make changes to this bug.