Open Bug 1827551 Opened 2 years ago Updated 2 months ago

BUG: file picker crashes in Firefox Headless on Ubuntu

Categories

(Firefox :: Headless, defect)

Firefox 111
defect

Tracking

()

UNCONFIRMED

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.

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.

Component: Untriaged → Widget: Gtk
Product: Firefox → Core
Status: UNCONFIRMED → RESOLVED
Closed: 2 years ago
Component: Widget: Gtk → Headless
Duplicate of bug: 1821754
Product: Core → Firefox
Resolution: --- → DUPLICATE

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?

Summary: BUG: color picker crashes in Firefox Headless on Ubuntu → BUG: file picker crashes in Firefox Headless on Ubuntu

I'm gonna say probably not.

Status: RESOLVED → UNCONFIRMED
No longer duplicate of bug: 1821754
Resolution: DUPLICATE → ---
Severity: -- → S3

Adding the Qa-not-actionable tag.

QA Whiteboard: [qa-not-actionable]
Attachment #9385912 - Attachment is obsolete: true
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: