Closed Bug 1884441 Opened 3 months ago Closed 3 months ago

Disable pop-up blocker for Marionette by default

Categories

(Remote Protocol :: Marionette, task, P2)

task
Points:
1

Tracking

(firefox125 fixed)

RESOLVED FIXED
125 Branch
Tracking Status
firefox125 --- fixed

People

(Reporter: whimboo, Assigned: whimboo)

Details

(Whiteboard: [webdriver:m10])

Attachments

(1 file)

The pop-up blocker is enabled by default and in the Remote Agent we disable it in recommended preferences. But Marionette doesn't use recommended preferences and as such it is not disabled. Because of that it is not possible to run a command like:

        self.marionette.execute_script(
            "window.open('about:blank', 'e2009459-815e-4573-9a0c-2fccc2809bc5', 'noopener')")

Here the notification bar will show that a pop-up is blocked and the expected tab is not opened. This behavior is different to geckodriver and we should fix that.

Assignee: nobody → hskupin
Status: NEW → ASSIGNED
Pushed by hskupin@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/eb3b22edb91f
[marionette client] Disable pop-up blocker by default. r=webdriver-reviewers,Sasha
Points: --- → 1
Priority: -- → P2
Whiteboard: [webdriver:m10]
Status: ASSIGNED → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: