Bug 101162 - Discovery API
: Discovery API
Status: RESOLVED WONTFIX
: WebKit
WebKit API
: 528+ (Nightly build)
: All All
: P2 Major
Assigned To:
: http://www.w3.org/TR/discovery-api/
:
: 101034
:
  Show dependency treegraph
 
Reported: 2012-11-04 01:59 PST by
Modified: 2013-09-24 08:15 PST (History)


Attachments
Basic discovery API (60.36 KB, patch)
2013-08-29 16:18 PST, Brendan Long
andersca: review-
Review Patch | Details | Formatted Diff | Diff


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2012-11-04 01:38:05 PST
Device APIs Requirements and Design Decisions http://dev.w3.org/2009/dap/api-reqs/
------- Comment #1 From 2012-11-04 01:59:45 PST -------
Network Service Discovery http://www.w3.org/TR/discovery-api/
Roadmap http://www.w3.org/2009/dap/
------- Comment #2 From 2012-11-04 10:51:36 PST -------
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.
------- Comment #3 From 2013-08-29 16:18:43 PST -------
Created an attachment (id=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.
------- Comment #4 From 2013-08-29 16:20:37 PST -------
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 #5 From 2013-09-24 08:15:11 PST -------
(From update of attachment 210044 [details])
This was brought up on webkit-dev and there was strong opposition.