Closed
Bug 1506796
Opened 5 years ago
Closed 5 years ago
Use OpenBrowserWindow() instead of window.open() to open new browser windows in marionette
Categories
(Remote Protocol :: Marionette, enhancement)
Tracking
(firefox65 fixed)
RESOLVED
FIXED
mozilla65
Tracking | Status | |
---|---|---|
firefox65 | --- | fixed |
People
(Reporter: Gijs, Assigned: Gijs)
References
Details
Attachments
(1 file)
This should be a straightforward swap, in theory.
Assignee | ||
Comment 1•5 years ago
|
||
Somehow I can never get this name right.
Summary: Use BrowserOpenWindow() instead of window.open() to open new browser windows in marionette → Use OpenBrowserWindow() instead of window.open() to open new browser windows in marionette
Assignee | ||
Comment 2•5 years ago
|
||
Assignee | ||
Comment 3•5 years ago
|
||
https://treeherder.mozilla.org/#/jobs?repo=try&revision=903199ae0b1b4362dc0a2505195f0c42ff0aaf74 https://treeherder.mozilla.org/#/jobs?repo=try&revision=d2c153779804581dacefea76735fc7b96e6532fe
Comment 4•5 years ago
|
||
Thanks Gijs! So this is only needed when opening a new browser window? Or do we also have to change `window.open()` for other shipped and/or custom chrome windows as what we use through our Marionette unit tests like in test_window_handles_chrome.py?
Updated•5 years ago
|
Attachment #9024675 -
Attachment description: Bug 1506796 - use OpenBrowserWindow instead of window.open() to create a browser window, r?whimboo → Bug 1506797 - use OpenBrowserWindow instead of window.open() to create a browser window, r?whimboo
Updated•5 years ago
|
Attachment #9024675 -
Attachment description: Bug 1506797 - use OpenBrowserWindow instead of window.open() to create a browser window, r?whimboo → Bug 1506796 - use OpenBrowserWindow instead of window.open() to create a browser window, r?whimboo
Assignee | ||
Comment 5•5 years ago
|
||
(In reply to Henrik Skupin (:whimboo) from comment #4) > Thanks Gijs! So this is only needed when opening a new browser window? Or do > we also have to change `window.open()` for other shipped and/or custom > chrome windows as what we use through our Marionette unit tests like in > test_window_handles_chrome.py? Yeah, this needed updating throughout. As a bonus though, this patch now fixes bug 1335457. Green try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=de2a17e1f61853fc202ba76fbd8bf9050a09b7df&searchStr=marionette
Blocks: 1335457
Comment 6•5 years ago
|
||
(In reply to :Gijs (he/him) from comment #5) > Yeah, this needed updating throughout. As a bonus though, this patch now > fixes bug 1335457. Green try: Fantastic! I just noticed that also Firefox puppeteer for Marionette uses `window.open()` for a new chrome window: https://dxr.mozilla.org/mozilla-central/source/testing/marionette/puppeteer/firefox/firefox_puppeteer/ui/windows.py#353 I wonder why this doesn't cause a failure given that there are some tests like: https://dxr.mozilla.org/mozilla-central/source/testing/firefox-ui/tests/puppeteer/test_windows.py#112
Pushed by gijskruitbosch@gmail.com: https://hg.mozilla.org/integration/autoland/rev/6293789f6e9c use OpenBrowserWindow instead of window.open() to create a browser window, r=whimboo
Comment 8•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/6293789f6e9c
Status: ASSIGNED → RESOLVED
Closed: 5 years ago
status-firefox65:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
Updated•4 months ago
|
Product: Testing → Remote Protocol
You need to log in
before you can comment on or make changes to this bug.
Description
•