Open Bug 1820460 Opened 3 years ago Updated 2 years ago

JavaScript error: resource://autofill/FormAutofillHandler.jsm, line 1463: TypeError: can't access property "windowUtils", this.window is null

Categories

(Toolkit :: Form Autofill, defect, P3)

defect

Tracking

()

People

(Reporter: whimboo, Unassigned)

Details

The following failure can be seen in the logs for Wd2 test jobs in CI:

https://treeherder.mozilla.org/logviewer?job_id=407900331&repo=mozilla-central&lineNumber=82522

JavaScript error: resource://autofill/FormAutofillHandler.jsm, line 1463: TypeError: can't access property "windowUtils", this.window is null

It's a call to this.window.windowUtils in the FormAutofillHandler constructor without checking first if the content window is available at all.

To reproduce run the related test and observe the Firefox log output:

mach wpt --webdriver-arg=-vv --webdriver-binary=target/debug/geckodriver  testing/web-platform/tests/webdriver/tests/get_active_element/get.py

If the geckodriver binary doesn't exist, change into testing/geckodriver and run cargo build.

The severity field is not set for this bug.
:serg, could you have a look please?

For more information, please visit auto_nag documentation.

Flags: needinfo?(sgalich)
Severity: -- → S3
Flags: needinfo?(sgalich)
Priority: -- → P3
You need to log in before you can comment on or make changes to this bug.