Closed Bug 586799 Opened 15 years ago Closed 15 years ago

Incubator embedding: MozView should auto-connect

Categories

(Core Graveyard :: Embedding: APIs, defect)

x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: tatiana, Assigned: tatiana)

References

Details

Attachments

(1 file, 3 obsolete files)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.8) Gecko/20100723 Ubuntu/10.04 (lucid) Firefox/3.6.8 Build Identifier: see bug #530013 Reproducible: Always
Attached patch patch (obsolete) — Splinter Review
Attachment #465413 - Flags: review?(mark.finkle)
Attachment #465413 - Flags: feedback?(romaxa)
Depends on: 583546
Attached file patch (obsolete) —
added missing NS_OK for succeed case
Attachment #465413 - Attachment is obsolete: true
Attachment #465851 - Flags: review?(mark.finkle)
Attachment #465851 - Flags: feedback?(romaxa)
Attachment #465413 - Flags: review?(mark.finkle)
Attachment #465413 - Flags: feedback?(romaxa)
Comment on attachment 465851 [details] patch Why do we want to force the app to connect? Couldn't we just expose the ForceOnline method from the embedding API? Honestly, it's simple enough we should just let the embedding app implement the ForceOnline method and call it when needed. I really don't think we need this in the API. Tell me why you think we do.
This forceOnline and connectivity relationship is not very obvious for embeders, and somehow/somewhere we should document it clearly that ForceOnline is must be called before any network call to get connectivity working. I agree that moving of this method is correct to make it similar to fennec application (it is moved there in Utils.js).
Comment on attachment 465851 [details] patch Yep, move it to test application code.
Attachment #465851 - Flags: feedback?(romaxa) → feedback-
Attached patch patch (obsolete) — Splinter Review
moved ForceOnline() to test app code
Attachment #465851 - Attachment is obsolete: true
Attachment #466427 - Flags: review?(mark.finkle)
Attachment #466427 - Flags: feedback?(romaxa)
Attachment #465851 - Flags: review?(mark.finkle)
Comment on attachment 466427 [details] [diff] [review] patch I think this is fine for test app, and showing clearly that it must be here.
Attachment #466427 - Flags: feedback?(romaxa) → feedback+
Attached patch test patchSplinter Review
updated qt test ForceOnline() patch since parent patch is changed
Assignee: nobody → tanya.meshkova
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Attachment #466452 - Flags: review?(mark.finkle)
Attachment #466427 - Attachment is obsolete: true
Attachment #466427 - Flags: review?(mark.finkle)
Attachment #466452 - Flags: review?(mark.finkle) → review+
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: