URL: https://www.public.nm.eurocontrol.int/PUBPORTAL/gateway/spec/index.html
Browser / Version: Firefox 69.0.2
Operating System: Linux
Tested Another Browser: Yes
Problem type: Something else
Description: load fails (firefox crashes) on headless mode
Steps to Reproduce:
Loading through selenium / geckodriver / marionette the above website crashes Firefox 69.0.1 (Debian package) and 69.0.2 (tar.bz2 download from mozilla.org) on amd64 architecture. It seems to me that is a firefox crash. The geckodriver process lives on, but the firefox process dies.
The very same selenium / geckodriver / marionette script in non-headless mode (just comment out the config line for headless) works correctly.
The very same selenium / geckodriver / marionette script in headless mode with Firefox ESR 60.9.0esr (Debian package) (just change the binary_location option to point to it) works correctly.
Loading the very same website in Firefox in normal user mode (not scripted through marionette) works fine (all tested versions).
Here are excerpts of geckodriver.log:
1570464992237 Marionette INFO Listening on port 37757
1570465450916 Marionette INFO Stopped listening on port 37757
WARNING: At least one completion condition is taking too long to complete. Conditions: [{"name":"ServiceWorkerRegistrar: Flushing data","state":"(none)","filename":"/builds/worker/workspace/build/src/dom/serviceworkers/ServiceWorkerRegistrar.cpp","lineNumber":1111,"stack":"ServiceWorkerRegistrar: Flushing data"}] Barrier: profile-before-change
###!!! [Parent][RunMessage] Error: Channel error: cannot send/recv
###!!! [Parent][RunMessage] Error: Channel error: cannot send/recv
###!!! [Parent][RunMessage] Error: Channel error: cannot send/recv
###!!! [Parent][RunMessage] Error: Channel error: cannot send/recv
###!!! [Parent][RunMessage] Error: Channel error: cannot send/recv
###!!! [Parent][RunMessage] Error: Channel error: cannot send/recv
(...)
###!!! [Parent][MessageChannel] Error: (msgtype=0x1A0011,name=PBackgroundStorage::Msg_Observe) Channel error: cannot send/recv
console.log: "RemoteSettingsWorker error: AbortError: A request was aborted, for example through a call to IDBTransaction.abort."
console.log: "RemoteSettingsWorker error: AbortError: A request was aborted, for example through a call to IDBTransaction.abort."
console.log: "RemoteSettingsWorker error: AbortError: A request was aborted, for example through a call to IDBTransaction.abort."
console.log: "RemoteSettingsWorker error: AbortError: A request was aborted, for example through a call to IDBTransaction.abort."
console.log: "RemoteSettingsWorker error: AbortError: A request was aborted, for example through a call to IDBTransaction.abort."
###!!! [Parent][DispatchAsyncMessage] Error: PBackgroundIDBFactory::Msg_PBackgroundIDBFactoryRequestConstructor Value error: message was deserialized, but contained an illegal value
JavaScript error: resource://services-common/kinto-offline-client.js, line 579: Error: IndexedDB list() The operation failed for reasons unrelated to the database itself and not covered by any other error code.
JavaScript error: , line 0: AbortError: A request was aborted, for example through a call to IDBTransaction.abort.
Here's the python Selenium script:
from __future__ import print_function
import sys
from selenium import webdriver
from selenium.webdriver.support import expected_conditions as sec
from selenium.webdriver.support.ui import WebDriverWait
from selenium.webdriver.common.by import By
def eprint(*args, **kwargs):
print(*args, file=sys.stderr, **kwargs)
options = webdriver.FirefoxOptions()
#options.binary_location = "/usr/bin/firefox"
options.binary_location = "/path/to/mozilla.org/downloaded/firefox/firefox"
options.headless=True
options.set_capability('acceptInsecureCerts', False)
driver = webdriver.Firefox(executable_path='/path/to/geckodriver',
options=options)
try:
eprint("about to get")
driver.get('https://www.public.nm.eurocontrol.int/PUBPORTAL/gateway/spec/index.html')
eprint("about to wait")
WebDriverWait(driver, 3).until(sec.presence_of_element_located((By.ID, "STATUS_MAP_CONTENTS_ELEMENT_ID")))
finally:
for wid in driver.window_handles:
driver.switch_to.window(wid)
driver.close()
Browser Configuration
Submitted in the name of @lmamane
From webcompat.com with ❤️
URL: https://www.public.nm.eurocontrol.int/PUBPORTAL/gateway/spec/index.html
Browser / Version: Firefox 69.0.2
Operating System: Linux
Tested Another Browser: Yes
Problem type: Something else
Description: load fails (firefox crashes) on headless mode
Steps to Reproduce:
Loading through selenium / geckodriver / marionette the above website crashes Firefox 69.0.1 (Debian package) and 69.0.2 (tar.bz2 download from mozilla.org) on amd64 architecture. It seems to me that is a firefox crash. The geckodriver process lives on, but the firefox process dies.
The very same selenium / geckodriver / marionette script in non-headless mode (just comment out the config line for headless) works correctly.
The very same selenium / geckodriver / marionette script in headless mode with Firefox ESR 60.9.0esr (Debian package) (just change the binary_location option to point to it) works correctly.
Loading the very same website in Firefox in normal user mode (not scripted through marionette) works fine (all tested versions).
Here are excerpts of geckodriver.log:
Here's the python Selenium script:
Browser Configuration
Submitted in the name of
@lmamane
From webcompat.com with ❤️