<?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>26425</bug_id>
          
          <creation_ts>2014-07-24 10:18:56 +0000</creation_ts>
          <short_desc>Drop the default for [Exposed]</short_desc>
          <delta_ts>2017-12-06 11:10:34 +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>WebIDL</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>MOVED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ms2ger">Ms2ger</reporter>
          <assigned_to name="Cameron McCormack">cam</assigned_to>
          <cc>annevk</cc>
    
    <cc>bzbarsky</cc>
    
    <cc>jackalmage</cc>
    
    <cc>jyasskin</cc>
    
    <cc>mike</cc>
    
    <cc>n.arellanomoran</cc>
    
    <cc>public-script-coord</cc>
    
    <cc>tobie.langel</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>109243</commentid>
    <comment_count>0</comment_count>
    <who name="Ms2ger">Ms2ger</who>
    <bug_when>2014-07-24 10:18:56 +0000</bug_when>
    <thetext>It seems clearer for the reader if all interfaces get an [Exposed] extended attribute rather than inferring Window if there isn&apos;t one.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>127574</commentid>
    <comment_count>1</comment_count>
    <who name="Tobie Langel">tobie.langel</who>
    <bug_when>2016-09-28 15:30:12 +0000</bug_when>
    <thetext>I agree on principle, but that ship has sailed.

How would we distinguish between an interface that shouldn&apos;t be exposed because [exposed] is missing from an interface that should be because it was spec&apos;ed before we made this change?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>127575</commentid>
    <comment_count>2</comment_count>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2016-09-28 15:43:07 +0000</bug_when>
    <thetext>We&apos;d distinguish by going and editing every single spec accordingly...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>127576</commentid>
    <comment_count>3</comment_count>
    <who name="Tobie Langel">tobie.langel</who>
    <bug_when>2016-09-28 15:49:54 +0000</bug_when>
    <thetext>(In reply to Boris Zbarsky from comment #2)
&gt; We&apos;d distinguish by going and editing every single spec accordingly...

Sure. Seems like a lot of work for something that appears to be essentially cosmetics, though. Or am I missing the broader picture?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>127577</commentid>
    <comment_count>4</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2016-09-28 15:53:55 +0000</bug_when>
    <thetext>Yeah, the problem is that specifications don&apos;t consider workers, or service workers, etc. Not having a default would require specifications to consider what they&apos;re doing, which I think is what we want. (There&apos;s also been some confusion from developers in the past as to how interfaces end up being exposed. There being an explicit syntax link would help with that too.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>127578</commentid>
    <comment_count>5</comment_count>
    <who name="Tobie Langel">tobie.langel</who>
    <bug_when>2016-09-28 15:58:55 +0000</bug_when>
    <thetext>OK, that makes sense. We need a strategy to make every spec fix their this though.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>127579</commentid>
    <comment_count>6</comment_count>
    <who name="Jeffrey Yasskin">jyasskin</who>
    <bug_when>2016-09-28 16:36:40 +0000</bug_when>
    <thetext>Making an interface without [Exposed] into a bikeshed and respec error would catch a good fraction of maintained specs.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>127580</commentid>
    <comment_count>7</comment_count>
    <who name="Boris Zbarsky">bzbarsky</who>
    <bug_when>2016-09-28 16:39:02 +0000</bug_when>
    <thetext>And once those get updated, we can change browser IDL parsers and file bugs on any remaining specs that this catches....</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>127593</commentid>
    <comment_count>8</comment_count>
    <who name="Tab Atkins Jr.">jackalmage</who>
    <bug_when>2016-09-28 21:37:23 +0000</bug_when>
    <thetext>Is there a good doc I can point to somewhere in Bikeshed&apos;s error message letting people know how to fix things correctly?  (I&apos;m not willing to add errors where the solution is &quot;ask someone in #whatwg what to do&quot;.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>127595</commentid>
    <comment_count>9</comment_count>
    <who name="Tobie Langel">tobie.langel</who>
    <bug_when>2016-09-28 22:14:15 +0000</bug_when>
    <thetext>(In reply to Tab Atkins Jr. from comment #8)
&gt; Is there a good doc I can point to somewhere in Bikeshed&apos;s error message
&gt; letting people know how to fix things correctly?  (I&apos;m not willing to add
&gt; errors where the solution is &quot;ask someone in #whatwg what to do&quot;.)

I&apos;ll add documentation in WebIDL itself once we get to this and will coordinate with you.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>127608</commentid>
    <comment_count>10</comment_count>
    <who name="Jeffrey Yasskin">jyasskin</who>
    <bug_when>2016-09-29 19:33:35 +0000</bug_when>
    <thetext>I&apos;ve filed https://github.com/w3ctag/design-principles/issues/35 to hold the design advice Tab&apos;s looking for.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>128596</commentid>
    <comment_count>11</comment_count>
    <who name="Tobie Langel">tobie.langel</who>
    <bug_when>2017-05-17 09:42:58 +0000</bug_when>
    <thetext>See also https://github.com/heycam/webidl/issues/365.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>128998</commentid>
    <comment_count>12</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2017-12-06 11:10:34 +0000</bug_when>
    <thetext>See comment above.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>