Closed Bug 1271807 Opened 8 years ago Closed 8 years ago

[FlyWeb] Expose the server URL in addition to server hostname

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: sicking, Unassigned)

References

Details

Attachments

(1 file)

Attached patch Patch to fixSplinter Review
This patch adds FlyWebConnectedService.url in addition to FlyWebConnectedService.hostname.

The patch also adds the wiring to make the 'uiUrl' argument to publishServer work using the standard 'path' TXT record to mDNS.

The change to nsDNSServiceInfo.cpp is needed because otherwise we end up with the properties in the nsIPropertyBag containing nsIVariant objects rather than strings. I.e. we end up with the nsIPropertyBag containing nsIVariants containing nsIVariants containing strings, whereas what we want is a nsIPropertyBag containing nsIVariants containing strings.
Attachment #8750985 - Flags: review?(kvijayan)
Comment on attachment 8750985 [details] [diff] [review]
Patch to fix

Review of attachment 8750985 [details] [diff] [review]:
-----------------------------------------------------------------

::: dom/flyweb/FlyWebService.cpp
@@ +103,5 @@
>    nsClassHashtable<nsStringHashKey, DiscoveredInfo> mServiceMap;
>  };
>  
> +void
> +LogDNSInfo(nsIDNSServiceInfo* aServiceInfo, const char* aFunc)

Nice.
Attachment #8750985 - Flags: review?(kvijayan) → review+
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Blocks: flyweb
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: