<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>9939</bug_id>
          
          <creation_ts>2010-06-17 06:07:23 +0000</creation_ts>
          <short_desc>If we have a concept of &quot;WebDevice&quot;, manufacturer could start to create amazing web devices (Example: www.poken.com). These devices once connected could interact with the website using a REST PROTOCOL. Event based (The device send information when we do a</short_desc>
          <delta_ts>2018-12-02 00:25:10 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>NEEDSINFO</resolution>
          
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#devices</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>gabriel.public.3</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>rozjlittles</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>36222</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2010-06-17 06:07:23 +0000</bug_when>
    <thetext>Section: http://www.whatwg.org/specs/web-apps/current-work/#devices

Comment:
If we have a concept of &quot;WebDevice&quot;, manufacturer could start to create
amazing web devices (Example: www.poken.com). These devices once connected
could interact with the website using a REST PROTOCOL. Event based (The device
send information when we do an action) or call based (The site call actions on
the device. The url/referer is sent to the device). (Contact: gabriel.klein at
nuage.ch)

Posted from: 212.41.207.210</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36223</commentid>
    <comment_count>1</comment_count>
    <who name="Gabriel Klein">gabriel.public.3</who>
    <bug_when>2010-06-17 06:42:08 +0000</bug_when>
    <thetext>(details)

I see a demand for kind of &quot;WebDevices&quot;.

What is my definition of WebDevices?
A webdevice is a device specific for a (or multiple) website. 

Goal?
The goal is to allow manufacturer to create a specific device (or program) that interact with a (or multiple) website without the need of installing drivers, extra-security, etc.

Some example:
&gt;&gt; &quot;Sign a URL&quot; and a device.
This device once inserted can sign url with a specific id, timestamp.
Example: &quot;banking access card&quot;. I insert my usb banking access card, enter a password on this card, and it will start to sign all calls that come from my bank. (with a &quot;accept/deny&quot; on the access card.)

&gt;&gt; Generate a one-time token
http://www.yubico.com/products/yubikey/

&gt;&gt; Share information with a website.
http://www.poken.com
When you &quot;poken&quot; with another poken, the information of the event is sent to a website.


What some people are doing now?
(here are what some people are doing)

&gt;&gt; Creating a custom drivers
You need to install a driver on the operating system.

&gt;&gt; Generate a virtual usb keyboard.
When you &quot;act&quot; on the device, it &quot;types&quot; a list of characters. It might be a token or a url.

&gt;&gt; Generate an html file.
We generate an html file that send the information when opened.

&gt;&gt; Have a java/other applet
This signed applet will have restricted access to the device.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36224</commentid>
    <comment_count>2</comment_count>
    <who name="Gabriel Klein">gabriel.public.3</who>
    <bug_when>2010-06-17 06:52:00 +0000</bug_when>
    <thetext>Some features (optionnal)

&gt;&gt; You insert the web-device.
The browser open a specific website.

&gt;&gt; Events based
In javascript I write a code similar to
callback = {some code}
device = findDevice(...);
device.startListening(callback);

Every time I have an event on the device. (Example: I press the button of the device). I receive the information of the event.

&gt;&gt; Call based
device.call(&quot;signUrl&quot;);
This call will call a &quot;function&quot; on the device with a parameter &quot;signUrl&quot; and return a rest formated result.

Note:
The referer is sent to all calls that are made on the device.
So we can &quot;verify&quot; that an application (we hope the browser) sent the referer.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>38052</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2010-08-27 23:16:00 +0000</bug_when>
    <thetext>&lt;device&gt; is intended for things like cameras.

What you&apos;re describing sounds much more cutting-edge, and probably isn&apos;t appropriate for standardisation yet — we should experiment with it first. I recommend following the steps described here:

http://wiki.whatwg.org/wiki/FAQ#Is_there_a_process_for_adding_new_features_to_a_specification.3F</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>