<?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>28504</bug_id>
          
          <creation_ts>2015-04-17 10:44:57 +0000</creation_ts>
          <short_desc>Should SharedWorker have only Exposed=(Window) ?</short_desc>
          <delta_ts>2017-07-21 10:15:37 +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>PC</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</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="Olli Pettay">bugs</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>annevk</cc>
    
    <cc>bent.mozilla</cc>
    
    <cc>ian</cc>
    
    <cc>jaffathecake</cc>
    
    <cc>jrburke</cc>
    
    <cc>mike</cc>
    
    <cc>Ms2ger</cc>
    
    <cc>ojan</cc>
    
    <cc>travil</cc>
    
    <cc>zcorpan</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>119627</commentid>
    <comment_count>0</comment_count>
    <who name="Olli Pettay">bugs</who>
    <bug_when>2015-04-17 10:44:57 +0000</bug_when>
    <thetext>Seems like engines don&apos;t support SharedWorkers in Workers, so perhaps the spec should be updated to match the reality?
Or are there plans to support SharedWorkers in Workers?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>119647</commentid>
    <comment_count>1</comment_count>
    <who name="Travis Leithead [MSFT]">travil</who>
    <bug_when>2015-04-17 23:56:32 +0000</bug_when>
    <thetext>Is there a technical reason engines haven&apos;t done this? I didn&apos;t think all engines had implemented Workers in Workers either...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>119679</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2015-04-20 11:33:05 +0000</bug_when>
    <thetext>FWIW Presto has supported arbitrary nesting of workers and shared workers since we introduced workers.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>119702</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2015-04-20 21:02:15 +0000</bug_when>
    <thetext>SharedWorkers in Workers are pretty critical for the long-term usefulness of workers, IMHO...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>120834</commentid>
    <comment_count>4</comment_count>
    <who name="Jake Archibald">jaffathecake</who>
    <bug_when>2015-06-09 09:43:45 +0000</bug_when>
    <thetext>SharedWorkers in ServiceWorkers is a feature request from https://github.com/slightlyoff/ServiceWorker/issues/678 too.

Additionally, we&apos;ve had feature requests for being able to generate notification icons within a serviceworker. This requires workercanvas of course, but any pixel work should be farmed off to a worker so it doesn&apos;t block fetch (and other) events.

Could SharedWorker be tied to the life of the parent context, rather than specifically documents? (https://html.spec.whatwg.org/multipage/workers.html#dom-sharedworker) This would allow a sharedworker to be tied to the lifecycle of a serviceworker and/or documents.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>128735</commentid>
    <comment_count>5</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2017-07-21 10:15:37 +0000</bug_when>
    <thetext>Per comment 3. Jake&apos;s request is tracked by https://github.com/whatwg/html/issues/411.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>