Device APIs Requirements and Design Decisions http://dev.w3.org/2009/dap/api-reqs/
Network Service Discovery http://www.w3.org/TR/discovery-api/ Roadmap http://www.w3.org/2009/dap/
Are you going to work on adding this to WebKit? Please e-mail webkit-dev for discussion then. I would personally strongly oppose to adding this feature to WebKit.
Created attachment 210044 [details] Basic discovery API I'm about to send an email to the webkit-dev mailing list, but I figured I'd throw this up here first. This just adds the JavaScript API and adds ENABLE_DISCOVERY, but doesn't have an implementation yet.
Attachment 210044 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'ChangeLog', u'Source/JavaScriptCore/ChangeLog', u'Source/JavaScriptCore/Configurations/FeatureDefines.xcconfig', u'Source/WTF/ChangeLog', u'Source/WTF/wtf/FeatureDefines.h', u'Source/WebCore/ChangeLog', u'Source/WebCore/Configurations/FeatureDefines.xcconfig', u'Source/WebCore/DerivedSources.pri', u'Source/WebCore/Modules/discovery/NavigatorNetworkService.cpp', u'Source/WebCore/Modules/discovery/NavigatorNetworkService.h', u'Source/WebCore/Modules/discovery/NavigatorNetworkService.idl', u'Source/WebCore/Modules/discovery/NavigatorNetworkServiceError.cpp', u'Source/WebCore/Modules/discovery/NavigatorNetworkServiceError.h', u'Source/WebCore/Modules/discovery/NavigatorNetworkServiceError.idl', u'Source/WebCore/Modules/discovery/NavigatorNetworkServiceErrorCallback.h', u'Source/WebCore/Modules/discovery/NavigatorNetworkServiceErrorCallback.idl', u'Source/WebCore/Modules/discovery/NavigatorNetworkServiceSuccessCallback.h', u'Source/WebCore/Modules/discovery/NavigatorNetworkServiceSuccessCallback.idl', u'Source/WebCore/Modules/discovery/NetworkService.cpp', u'Source/WebCore/Modules/discovery/NetworkService.h', u'Source/WebCore/Modules/discovery/NetworkService.idl', u'Source/WebCore/Modules/discovery/NetworkServices.cpp', u'Source/WebCore/Modules/discovery/NetworkServices.h', u'Source/WebCore/Modules/discovery/NetworkServices.idl', u'Source/WebCore/Target.pri', u'Source/WebCore/WebCore.pri', u'Source/WebCore/dom/EventNames.h', u'Source/WebCore/dom/EventTarget.h', u'Source/WebCore/dom/EventTargetFactory.in', u'Source/WebKit/mac/ChangeLog', u'Source/WebKit/mac/Configurations/FeatureDefines.xcconfig', u'Source/WebKit2/ChangeLog', u'Source/WebKit2/Configurations/FeatureDefines.xcconfig', u'Source/autotools/SetupWebKitFeatures.m4', u'Source/cmake/WebKitFeatures.cmake', u'Source/cmakeconfig.h.cmake', u'Tools/ChangeLog', u'Tools/Scripts/webkitperl/FeatureList.pm', u'Tools/qmake/mkspecs/features/features.pri']" exit_code: 1 Source/WebCore/Modules/discovery/NavigatorNetworkServiceError.h:38: enum members should use InterCaps with an initial capital letter. [readability/enum_casing] [4] Source/WebCore/Modules/discovery/NavigatorNetworkServiceError.h:39: enum members should use InterCaps with an initial capital letter. [readability/enum_casing] [4] Total errors found: 2 in 39 files If any of these errors are false positives, please file a bug against check-webkit-style.
Comment on attachment 210044 [details] Basic discovery API This was brought up on webkit-dev and there was strong opposition.