<?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>16350</bug_id>
          
          <creation_ts>2012-03-13 23:03:17 +0000</creation_ts>
          <short_desc>Fix occurances of RFC2119 terms in notes</short_desc>
          <delta_ts>2012-03-13 23:09:44 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebAppsWG</product>
          <component>HISTORICAL - DOM3 Events</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows NT</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc>http://lists.w3.org/Archives/Public/public-webapps/2011OctDec/0226.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>LC, needsReview</keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Travis Leithead [MSFT]">travil</reporter>
          <assigned_to name="Travis Leithead [MSFT]">travil</assigned_to>
          <cc>jrossi</cc>
    
    <cc>mike</cc>
    
    <cc>Ms2ger</cc>
    
    <cc>www-dom</cc>
    
    <cc>zcorpan</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>65480</commentid>
    <comment_count>0</comment_count>
    <who name="Travis Leithead [MSFT]">travil</who>
    <bug_when>2012-03-13 23:03:17 +0000</bug_when>
    <thetext>PORTING last call comments from email to bugs for tracking purposes
[see http://lists.w3.org/Archives/Public/public-webapps/2011OctDec/0226.html]
------------------------------------------------------------------

On Thu, 13 Oct 2011 03:19:26 +0200, Jacob Rossi  
&lt;Jacob.Rossi@microsoft.com&gt; wrote:

&gt;&gt;&gt; Note: For programming languages which do not allow optional method
&gt;
&gt;&gt;&gt; parameters, such as Java, the implementation may provide two
&gt;
&gt;&gt;&gt; EventTarget.addEventListener methods, one with 2 parameters, and one
&gt;
&gt;&gt;&gt; with 3 parameters.
&gt;
&gt;&gt;
&gt;
&gt;&gt; Is this a note or is it normative? You can&apos;t have both.
&gt;
&gt; This is a note that suggests a workaround for implementations in  
&gt; languages that don&apos;t support optional arguments. It&apos;s not normative. An  
&gt; implementation may do this, or it may not-up to the implementer (since  
&gt; optional useCapture isn&apos;t required).

&apos;may&apos; is an RFC2119 term. Don&apos;t use it in notes.

&gt;
&gt;&gt;&gt; If a listener was registered twice, once for the capture and target
&gt;
&gt;&gt;&gt; phases and once for the target and bubbling phases, each must be
&gt;
&gt;&gt;&gt; removed separately.
&gt;
&gt;&gt;
&gt;
&gt;&gt; It&apos;s not clear if this is a UA requirement.
&gt;
&gt;
&gt;
&gt; This is intended for authors:
&gt;
&gt;
&gt;
&gt; target.addEventListener(&quot;foo&quot;,bar,false);
&gt;
&gt; target.addEventListener(&quot;foo&quot;,bar,true);
&gt;
&gt; target.removeEventListener(&quot;foo&quot;,bar,false);
&gt;
&gt;
&gt;
&gt; This only removes the first of the two listeners.

It doesn&apos;t look like a note to me. It looks like a conformance requirement  
(since it contains the word &apos;must&apos;). If it&apos;s targeting authors, it means  
they&apos;re being non-conforming if they don&apos;t remove their event listeners  
any time they register a listener twice (one capture and one bubbling). If  
you intend it to be a note, clearly mark it as a note and don&apos;t use  
RFC2119 terms.

&gt;
&gt;
&gt;&gt;&gt; The content authors should also remove their EventListener from its
&gt;
&gt;&gt;&gt; EventTarget after they have completed using the listener.
&gt;
&gt;&gt;
&gt;
&gt;&gt; I wonder why this is a &quot;should&quot;.
&gt;
&gt;
&gt;
&gt; It&apos;s a coding &quot;best practices&quot; suggestion towards authors.

&apos;should&apos; is not a suggestion, it&apos;s a conformance requirement.

...

It seems to me you need to be more careful in your usage of RFC2119  
keywords. Also see http://ln.hixie.ch/?start=1140242962&amp;count=1

-- 
Simon Pieters
Opera Software</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>65482</commentid>
    <comment_count>1</comment_count>
    <who name="Travis Leithead [MSFT]">travil</who>
    <bug_when>2012-03-13 23:09:44 +0000</bug_when>
    <thetext>Adding a few folks who participated on the thread.

------
I did a run through the entire spec to try and make all the notes RFC2119-clean. The latest revision of the spec has these changes. Please review to see if this satisfies this bug.

(Note, there may be other occurances of RFC2119 terms used _outside_ of notes, where the intent of the spec author may have been to specify a note. If you come across these, please report them as new bugs!</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>