Closed Bug 1855530 Opened 1 year ago Closed 1 year ago

Timeout in dom/base/test/test_lock_orientation_with_pending_fullscreen.html in M-xorig

Categories

(GeckoView Graveyard :: Sandboxing, defect, P2)

All
Android

Tracking

(firefox120 wontfix, firefox121 fixed)

RESOLVED FIXED
121 Branch
Tracking Status
firefox120 --- wontfix
firefox121 --- fixed

People

(Reporter: owlish, Assigned: m_kato)

References

Details

(Keywords: perf-alert, Whiteboard: [fission:android][fxdroid])

Attachments

(1 file, 1 obsolete file)

This test fails on all Android builds with isolateEverything isolation strategy (fission.webContentIsolationStrategy set to 1, or default).

Failure:

[task 2023-09-26T00:10:00.481Z] 00:10:00  WARNING -  TEST-UNEXPECTED-FAIL | dom/base/test/test_lock_orientation_after_fullscreen.html | Test timed out. -
[task 2023-09-26T00:10:00.481Z] 00:10:00  WARNING -  TEST-UNEXPECTED-FAIL | dom/base/test/test_lock_orientation_after_fullscreen.html | [SimpleTest.finish()] No checks actually run. (You need to call ok(), is(), or similar functions at least once.  Make sure you use SimpleTest.waitForExplicitFinish() if you need it.)
[task 2023-09-26T00:10:00.481Z] 00:10:00     INFO -      SimpleTest.ok@SimpleTest/SimpleTest.js:426:16
[task 2023-09-26T00:10:00.481Z] 00:10:00     INFO -      afterCleanup@SimpleTest/SimpleTest.js:1477:18
[task 2023-09-26T00:10:00.481Z] 00:10:00     INFO -      executeCleanupFunction@SimpleTest/SimpleTest.js:1562:7
[task 2023-09-26T00:10:00.481Z] 00:10:00     INFO -      SimpleTest.finish@SimpleTest/SimpleTest.js:1582:3
[task 2023-09-26T00:10:00.481Z] 00:10:00     INFO -      @SimpleTest/SimpleTest.js:2265:16
[task 2023-09-26T00:10:00.482Z] 00:10:00     INFO -      async*@SimpleTest/SimpleTest.js:2262:17

example try push
logcat from that try push

Severity: -- → S3
Priority: -- → P2
Whiteboard: [fission:android][fxdroid]

Hey Makoto, you seem to be the author of the test, and the most familiar with it - do you have ideas on what might be going on here?

Flags: needinfo?(m_kato)
Assignee: nobody → m_kato
Flags: needinfo?(m_kato)

I will look it why.

It seems not work fullscreen listener in screen orientation (for YouTube's workaround).

When turning on screen orientation on desktop at force (removing hard coded condition etc), tests are passed. I guess that this issue is a kind of full screen handling in GV.

(I guess that root cause might be same as bug 1855865)

See Also: → 1855865

Actually we sent DOMFullscreen event via sendToAllChildren. But this isn't Fission compatible. Desktop stores parent actor on DOMFullscreen:Request, then use it.

Actually, we use GeckoViewContent.sendToAllChildren to send full screen
message to child.

According to bug 1505916, we should use request origin actor instead.

Actually, we are handling fullscreen API in both GeckoViewContentParent/Child
and ContentDelegateChild. To enter full screen, application has to set
ContentDelegate then handle ContentDelegate.onFullScreen.

I think no reason to split fullscreen code into both actors.

So, to make simple, I would like to move all full screen code in
GeckoViewContentChild to ContentDelegateChild.

Depends on D193610

Attachment #9363611 - Attachment is obsolete: true
Attachment #9363610 - Attachment description: Bug 1855530 - Part 1. Use origin actor to send DOMFullscreen message. r=#geckoview-reviewers → Bug 1855530 - Use origin actor to send DOMFullscreen message. r=#geckoview-reviewers
Pushed by m_kato@ga2.so-net.ne.jp: https://hg.mozilla.org/integration/autoland/rev/0083ca2f4709 Use origin actor to send DOMFullscreen message. r=geckoview-reviewers,owlish
Duplicate of this bug: 1855865
Duplicate of this bug: 1855866
Duplicate of this bug: 1855527
Duplicate of this bug: 1855534
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 121 Branch

(In reply to Pulsebot from comment #10)

Pushed by m_kato@ga2.so-net.ne.jp:
https://hg.mozilla.org/integration/autoland/rev/0083ca2f4709
Use origin actor to send DOMFullscreen message. r=geckoview-reviewers,owlish

== Change summary for alert #40311 (as of Tue, 21 Nov 2023 11:33:30 GMT) ==

Improvements:

Ratio Test Platform Options Absolute values (old vs new) Performance Profiles
8% instagram FirstVisualChange linux1804-64-shippable-qr cold fission webrender 284.37 -> 260.72 Before/After
6% instagram fcp linux1804-64-shippable-qr cold fission webrender 257.30 -> 241.52 Before/After
5% instagram fcp linux1804-64-shippable-qr cold fission webrender 254.99 -> 241.07
2% instagram loadtime linux1804-64-shippable-qr cold fission webrender 1,972.40 -> 1,925.94 Before/After
2% instagram PerceptualSpeedIndex linux1804-64-shippable-qr cold fission webrender 802.68 -> 783.92 Before/After

For up to date results, see: https://treeherder.mozilla.org/perfherder/alerts?id=40311

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: