Open Bug 1702630 Opened 3 years ago Updated 3 years ago

[meta] Fix all DevTools tests currently failing with bfcacheInParent enabled

Categories

(DevTools :: Framework, task, P3)

task

Tracking

(Fission Milestone:Future)

Fission Milestone Future

People

(Reporter: ochameau, Unassigned)

References

(Depends on 1 open bug, Blocks 2 open bugs)

Details

(Keywords: meta, Whiteboard: fission-bfcache fission-meta dt-fission)

Bug 1694651 will introduce very first support for bfcacheInParent in DevTools.
A few things are still meant to be broken. A least all cases of bug 1698891's dependencies.
But we should look into all failing tests, it may help us highlight some unknown failures.
These failures would most likely also block bug 1698891.

While btcacheInParent is meant to be enabled in M7a, I don't think we should commit to fix all tests by M7a/current release. So I'd suggest triaging this bug for M8, while still having this high priority and to be investigated sooner than later. Just knowing what fails would already be a great achievement.

Depends on: 1702631
Depends on: 1702712
Keywords: meta
Summary: Fix all DevTools tests currently failing with bfcacheInParent enabled → [meta] Fix all DevTools tests currently failing with bfcacheInParent enabled
Whiteboard: dt-fission-m3-triage, fission-bfcache → fission-bfcache
Fission Milestone: --- → M7a
Whiteboard: fission-bfcache → fission-bfcache, dt-fission-triage

Bug was reviewed today by the team during the triage meeting. Decision was taken to convert the bug into a meta.

We do not track meta bugs as part of the project - just the tagged dependencies.

Whiteboard: fission-bfcache, dt-fission-triage → fission-bfcache
Depends on: 1706995
Fission Milestone: M7a → ---

Tracking for Fission MVP for our final review of Fission meta bugs before shipping.

Severity: -- → N/A
Fission Milestone: --- → MVP
Priority: -- → P3
Whiteboard: fission-bfcache → fission-bfcache fission-meta
Depends on: 1713607
Depends on: 1713678
Depends on: 1710582
Depends on: 1715741
Depends on: 1720785

This is a DevTools Fission (meta) bug, so adding a dt-fission whiteboard tag so the bug is categorized correctly in Fission bug queries.

Whiteboard: fission-bfcache fission-meta → fission-bfcache fission-meta dt-fission

Alexandre, all of the bugs blocking this meta bug are closed. Can we close this meta bug now? Or are there other DevTools tests that are still failing with bfcacheInParent enabled?

Flags: needinfo?(poirot.alex)

There is still a few tests with bfcacheinparent disabled:
https://searchfox.org/mozilla-central/search?q=bfCacheInParent&path=devtools

We should first try to enable the one that honza reported as working in:
https://docs.google.com/spreadsheets/d/1fZueBqOnEplv0xCzNRwK_8qF_eCh8d3vZ4o_CpI8bdU/edit#gid=813904394

The others which were failing might have been fixed by M3 completion and the enabling of server side targets.

Flags: needinfo?(poirot.alex)
Depends on: 1727323
Blocks: dt-fission

After bug 1727323, most tests will run with bfcacheInParent. But not 100% of the tests, a couple are still failing because of a couple of known edgecase still known to be broken around fission.

Here is the few tests where we still disable bfcacheInParent:

  • Tests disabled because about:debugging still doesn't support target-switching and the toolbox closes on bfcache navigations (bug 1709267)
    • devtools/client/aboutdebugging/test/browser/browser_aboutdebugging_devtoolstoolbox_navigate_back_forward.js
    • devtools/client/aboutdebugging/test/browser/browser_aboutdebugging_devtoolstoolbox_navigate_to_url.js
  • Probably fails because of bug 1700739
    • devtools/shared/commands/inspected-window/tests/browser_webextension_inspected_window.js

I'll try to bump the priority of these two first buckets as it may translate into failure that users can see.

  • Tests covering both code bfcacheInParent=false && true, we can later drop bfcacheInParent=false once we stop supporting this codepath:
    • devtools/client/debugger/test/mochitest/browser_dbg-bfcache.js
    • devtools/shared/commands/target/tests/browser_target_command_bfcache.js
  • Old tests which should probably be removed
    • devtools/client/framework/test/browser_target_events.js
  • Intermittents to be investigated, but probably race condition in tests because of target switches:
    • devtools/client/framework/test/browser_toolbox_backward_forward_navigation.js
    • devtools/client/framework/test/browser_toolbox_error_count_reset_on_navigation.js
    • devtools/client/webconsole/test/browser/browser_webconsole_message_categories.js
    • devtools/shared/commands/target/tests/browser_target_command_frames.js
      (All these intermittents do not reproduce with --run-until-failure, so rather hard to repro)
Fission Milestone: MVP → Future
You need to log in before you can comment on or make changes to this bug.