Closed Bug 784500 Opened 12 years ago Closed 12 years ago

Prime DNS in Java when Gecko is started with a url

Categories

(Firefox for Android Graveyard :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Firefox 18

People

(Reporter: wesj, Assigned: wesj)

Details

Attachments

(1 file)

We wanted this originally for webapps, but we should be able to do it any time Fennec is started with a url. Kicking off a request in java should ensure that the modem is on and the dns cache is up to date by the time gecko is started.

We do this for some bit.ly type links. Any reason not to do it any time we're started with an url?
Attached patch Patch v1Splinter Review
So this basically requests the entire page whenever we get the url through an intent. I'm not sure if we would be better doing a simpler ping of some type? Quickly looking for alternatives I didn't see much. Opinion?
Assignee: nobody → wjohnston
Attachment #654284 - Flags: review?(blassey.bugs)
Attachment #654284 - Flags: review?(blassey.bugs) → review+
https://hg.mozilla.org/mozilla-central/rev/38ca4f43a4fd
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 18
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: