Closed Bug 2045117 Opened 2 months ago Closed 2 months ago

Fix Nova-enabled test failures from UrlbarInput's Nova changes

Categories

(Firefox :: Address Bar, task, P1)

task

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: sthompson, Assigned: adw)

References

(Blocks 2 open bugs)

Details

(Whiteboard: [sng])

:mossop ran a try run with browser.nova.enabled to see whether there were any test issues hiding from us since Nova is off by default.

I think 56 of the 81 test failures have errors like uncaught exception - TypeError: can't access property "p1", this.parentNode.getBoxQuads(...)[0] is undefined with UrlbarInput in the top of the stack: https://tests.firefox.dev/try.html?rev=813998049ff1835af3a60def7853df3d8be83924 These code paths look like they are only called with Nova enabled after bug 2019152 was fixed.

We'd like to get these Nova-specific test failures addressed before the planned 155 Nightly pref flip to make Nova enabled by default. We don't want to have to burden the sheriffs with permafails that we know about.

See Also: → 2030183

I'm glad this was already on your radar. Thanks!

Thanks for filing this, it's definitely good to know that tests are failing, and it's good to have a meta-ish bug for tracking failures.

Two developments:

  • We landed several patches last week that seem to have fixed the error in comment 0, probably bug 2041255, bug 2044297, bug 2044849, or some combination
  • Bug 2030183 has landed, so we're now running all urlbar tests with and without Nova enabled, and there aren't any failures

Before closing this bug I'd like to go through the non-urlbar tests in the link in comment 0 and verify they're fixed too.

Assignee: nobody → adw
Severity: -- → N/A
Status: NEW → ASSIGNED
Priority: -- → P1
Whiteboard: [sng]

Based on that try run, it looks like there are a few categories of failures:

There don't appear to be any failures that are obvious defects or problems.

Given the above and the fact that we've fixed the error in comment 0, I'll go ahead and close this. Now that we're running all urlbar tests with and without Nova enabled, we should be able to catch new problems as we create them.

If it turns out I've missed some existing failures or we introduce new ones that aren't caught by the urlbar test suite, let's file new bugs as we find them.

Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → WORKSFORME
Blocks: 2049911
You need to log in before you can comment on or make changes to this bug.