Open Bug 1641129 Opened 4 years ago Updated 1 year ago

When opening a new tab via App Link, kick off the network load before creating the window

Categories

(GeckoView :: General, enhancement, P3)

All
Android
enhancement

Tracking

(Not tracked)

People

(Reporter: mstange, Unassigned)

References

(Blocks 1 open bug)

Details

When opening a new tab via app link, we seem to be creating the geckoview.xhtml window before initiating the network load to the URL in the new tab. This takes 150ms on a Moto G5. If we kicked off the network load first, we could absorb 150ms of network delay here.

Steps to reproduce:

  1. Launch Fenix Nightly and go to google.com (or anything that's not mozilla.org).
  2. Leave Fenix and go to the Android home screen.
  3. Trigger an app link intent by executing the following on a connected desktop machine: adb shell am start-activity -d "https://www.mozilla.org/en-US/" -a android.intent.action.VIEW org.mozilla.fenix.nightly/org.mozilla.fenix.IntentReceiverActivity

Profile: https://share.firefox.dev/2ZESWPR

I filed #10942 on the additional 100ms delay seen on the Fenix side.

Severity: -- → S4
Rank: 4
Priority: -- → P2

We're not going to get to this in the next couple of sprints but we should look at this soon.

Priority: P2 → P3
Rank: 4 → 333

Tasks and enhancements should have severity N/A.

Severity: S4 → N/A
You need to log in before you can comment on or make changes to this bug.