<?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>28803</bug_id>
          
          <creation_ts>2015-06-12 17:55:23 +0000</creation_ts>
          <short_desc>RequestContext value &quot;serviceworker&quot; is not observable</short_desc>
          <delta_ts>2015-06-14 16:08:50 +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>Fetch</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ehsan Akhgari [:ehsan]">ehsan</reporter>
          <assigned_to name="Anne">annevk</assigned_to>
          <cc>mike</cc>
          
          <qa_contact>sideshowbarker+fetchspec</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>120954</commentid>
    <comment_count>0</comment_count>
    <who name="Ehsan Akhgari [:ehsan]">ehsan</who>
    <bug_when>2015-06-12 17:55:23 +0000</bug_when>
    <thetext>Since service worker scripts can never be intercepted, there is no way to create a Request object with a context attribute equal to &quot;serviceworker&quot;.  Perhaps we should remove this enum value?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>120958</commentid>
    <comment_count>1</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2015-06-13 06:07:11 +0000</bug_when>
    <thetext>That is a good point. This might also go for various reports features, such as cspreport.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>120975</commentid>
    <comment_count>2</comment_count>
    <who name="Ehsan Akhgari [:ehsan]">ehsan</who>
    <bug_when>2015-06-13 21:45:20 +0000</bug_when>
    <thetext>(In reply to Anne from comment #1)
&gt; That is a good point. This might also go for various reports features, such
&gt; as cspreport.

Yeah, but those should be possible to intercept.  But it&apos;s hard to tell since those specs are typically not written in terms of fetch.  At any rate, I fixed the interception of CSP reports in Gecko, so they should be successfully reflected to the fetch event as a Request with &quot;cspreport&quot; context.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>120979</commentid>
    <comment_count>3</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2015-06-14 16:08:50 +0000</bug_when>
    <thetext>https://github.com/whatwg/fetch/commit/1cc2584d1174b65bd076be3a75b9250016b5c191

See https://github.com/w3c/network-error-logging/issues/54 for further reports discussion.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>