Open Bug 1602687 Opened 4 months ago Updated 3 months ago

Fix browser/components/sessionstore tests for Fission

Categories

(Firefox :: Session Restore, defect, P2)

defect

Tracking

()

Fission Milestone M6

People

(Reporter: cpeterson, Unassigned)

References

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

Details

browser/components/sessionstore tests' Fission status as of 2019-12-09:

Test Opt Status Debug Status
browser/components/sessionstore/test/browser_586068-reload.js passes skipped
browser/components/sessionstore/test/browser_615394-SSWindowState_events_undoCloseWindow.js passes skipped
browser/components/sessionstore/test/browser_625016.js skipped skipped
browser/components/sessionstore/test/browser_async_remove_tab.js skipped skipped
browser/components/sessionstore/test/browser_async_window_flushing.js skipped skipped
browser/components/sessionstore/test/browser_broadcast.js skipped skipped
browser/components/sessionstore/test/browser_formdata.js skipped skipped
browser/components/sessionstore/test/browser_sessionHistory.js skipped skipped
browser/components/sessionstore/test/browser_sessionStorage.js fails fails
browser/components/sessionstore/test/browser_upgrade_backup.js fails fails
browser/components/sessionstore/test/browser_windowStateContainer.js passes skipped
Blocks: 1567283
Depends on: 1507287
No longer depends on: 1567283

After investigation, the reason for failures of "browser/components/sessionstore/test/browser_sessionStorage.js" is Bug 1572084.

https://searchfox.org/mozilla-central/rev/c61720a7d0c094d772059f9d6a7844eb7619f107/toolkit/components/sessionstore/SessionStoreUtils.cpp#1172
In the failed case, the iframe is in a different process.
We will early return and don't collect sessionStore due to domWindow is null at that time.

Depends on: 1572084

browser_upgrade_backup.js is enabled in bug 1582531.

For browser_formdata.js,
JavaScript Error: "SecurityError: Permission denied to access property "document" on cross-origin object" {file: "chrome://mochitests/content/browser/browser/components/sessionstore/test/content-forms.js" line: 21}]
https://searchfox.org/mozilla-central/rev/c61720a7d0c094d772059f9d6a7844eb7619f107/browser/components/sessionstore/test/content-forms.js#21

For browser_async_remove_tab.js and browser_sessionHistory.js, these two are sessionHistory related.

browser_625016.js is not dependent on fission.

Tracking for Fission Nightly (M6) instead of M4.1 because some of these tests depend on SessionStoreListener Bug 1572084, which we are tracking for M6.

Fission Milestone: M4.1 → M6
Priority: -- → P2
You need to log in before you can comment on or make changes to this bug.