Closed Bug 1850440 Opened 1 years ago Closed 1 years ago

Fix test_blockBFCache.html test with isolateNothing and isolateHighValue strategies

Categories

(GeckoView Graveyard :: Sandboxing, task, P1)

All
Android

Tracking

(firefox119 fixed)

RESOLVED FIXED
119 Branch
Tracking Status
firefox119 --- fixed

People

(Reporter: owlish, Assigned: owlish)

References

Details

(Whiteboard: [fxdroid])

Attachments

(1 file)

STR:

  • Run docshell/test/navigation/test_blockBFCache.html on any Android Fission build with isolateNothing or isolateHighValue strategy (set fission.webContentIsolationStrategy to 0 or 2 respectively).
  • The test will fail the assertion Page should have been blocked from going into the BFCache (Loading OOP iframe)

Looking at the logcat in automation for failure and for passing case, I see that in the passing test has this log:

08-18 19:31:11.732  1659  1670 I ActivityManager: Start proc 3866:org.mozilla.geckoview.test_runner:tab33/u0a62 for service org.mozilla.geckoview.test_runner/org.mozilla.gecko.process.GeckoChildProcessServices$tab33
08-18 19:31:11.734  3536  3564 D ServiceAllocator: org.mozilla.gecko.process.GeckoChildProcessServices$tab33 updateBindings: FOREGROUND priority, 0 importance, 3 successful binds, 0 failed binds, 0 successful unbinds

The above doesn't happen in the failing tests.

Severity: -- → N/A
Priority: -- → P1
See Also: → 1850587

In this case, I think the failure is somewhat expected. The check here: https://searchfox.org/mozilla-central/rev/ddb4ab256d0e0a6bad3cbefa93546656284fa472/docshell/test/navigation/test_blockBFCache.html#101, should probably have been made to reject isolateNothing, and either not run with isolateHighValue, or to temporarily make https://example.com be a high-value origin for the duration of the test.

Assignee: nobody → bugzeeeeee
Pushed by istorozhko@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/f4adf6b8b7f1 Adjust the test to make assertion on remote frame only for isolateEverything Fission site isolation strategy r=nika
Status: NEW → RESOLVED
Closed: 1 years ago
Resolution: --- → FIXED
Target Milestone: --- → 119 Branch
Whiteboard: [fxdroid]
Blocks: 1855511
No longer blocks: 1855511
Product: GeckoView → GeckoView Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: