BUG: file picker crashes in Firefox Headless on Ubuntu
Categories
(Firefox :: Headless, defect)
Tracking
()
People
(Reporter: aslushnikov, Unassigned)
Details
Attachments
(1 obsolete file)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/112.0.0.0 Safari/537.36
Steps to reproduce:
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/110.0.0.0 Safari/537.36
Steps to reproduce:
OS: Ubuntu 20.04
Firefox: 110 stable
Downstream bug: https://github.com/microsoft/playwright/issues/21550
Consider running the following puppeteer snippet:
// a.mjs
import puppeteer from 'puppeteer-core';
const browser = await puppeteer.launch({
product: 'firefox',
executablePath: '/usr/bin/firefox',
dumpio: true,
});
const page = await browser.newPage();
await page.setContent(`
<input type=file>
`);
const inputElement = await page.$('input');
await inputElement.click();
await browser.close();
NOTE: this looks similar to https://bugzilla.mozilla.org/show_bug.cgi?id=1821754
Actual results:
Actual results:
Firefox crashes with the following output:
(firefox:3295229): Gtk-CRITICAL **: 11:03:34.737: _gtk_style_provider_private_get_settings: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed
[Parent 3295229, Main Thread] WARNING: _gtk_style_provider_private_get_settings: assertion 'GTK_IS_STYLE_PROVIDER_PRIVATE (provider)' failed: 'glib warning', file /build/firefox-jjwe4i/firefox-110.0.1+build2/toolkit/xre/nsSigHandlers.cpp:167
Expected results:
Expected results:
The browser should not crash.
Comment 1•2 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Widget: Gtk' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•2 years ago
|
Reporter | ||
Comment 3•2 years ago
|
||
Oops sorry, I copied the title of the bug. It is supposed to be that File Picker is crashing on GTK.
Is this still a dupe?
Reporter | ||
Updated•2 years ago
|
Comment 4•2 years ago
|
||
I'm gonna say probably not.
Updated•2 years ago
|
Updated•11 months ago
|
Description
•