<?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>27143</bug_id>
          
          <creation_ts>2014-10-23 15:54:30 +0000</creation_ts>
          <short_desc>There&apos;s no reason to set a &quot;responsible browsing context&quot; since it is never used. Not having it for  [...]</short_desc>
          <delta_ts>2016-03-28 13:19:25 +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>INVALID</resolution>
          
          
          <bug_file_loc>https://html.spec.whatwg.org/#script-settings-for-workers</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>annevk</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>113649</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2014-10-23 15:54:30 +0000</bug_when>
    <thetext>Specification: https://html.spec.whatwg.org/multipage/workers.html
Multipage: https://html.spec.whatwg.org/multipage/#script-settings-for-workers
Complete: https://html.spec.whatwg.org/#script-settings-for-workers
Referrer: 

Comment:
There&apos;s no reason to set a &quot;responsible browsing context&quot; since it is never
used. Not having it for workers seems better as service workers definitely
cannot have it and people already write algorithms on top of &quot;environment
settings object&quot; assuming this thing is always there.

Posted from: 46.127.136.57 by annevk@annevk.nl
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:36.0) Gecko/20100101 Firefox/36.0</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>113659</commentid>
    <comment_count>1</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-10-23 17:25:55 +0000</bug_when>
    <thetext>I assume you mean just for workers, right?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>113661</commentid>
    <comment_count>2</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-10-23 18:14:20 +0000</bug_when>
    <thetext>Yes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>115569</commentid>
    <comment_count>3</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-11-26 22:21:23 +0000</bug_when>
    <thetext>When you turn off scripting for a browsing context, should workers also stop?
Looks like right now that&apos;s the only thing the Worker responsible browsing context is used for.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>115599</commentid>
    <comment_count>4</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-11-27 08:11:44 +0000</bug_when>
    <thetext>I think &quot;disable scripting&quot; if such a setting still makes sense this day and age should not be tied to a browsing context. That would not work for a service worker for instance.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>115677</commentid>
    <comment_count>5</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2014-11-29 00:26:24 +0000</bug_when>
    <thetext>Well what&apos;s the UI for turning off scripting going to be? The only UI I&apos;m aware of these days is at the browsing context level.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>115687</commentid>
    <comment_count>6</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2014-11-29 15:37:10 +0000</bug_when>
    <thetext>I would imagine we&apos;re going to a world of per-origin preferences. So you can manage notifications, storage, etc. Perhaps disable scripting can be there too, if UAs are still interested in supporting that use case without extension.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>125642</commentid>
    <comment_count>7</comment_count>
    <who name="Anne">annevk</who>
    <bug_when>2016-03-28 13:19:25 +0000</bug_when>
    <thetext>No longer convinced this makes sense. We probably still need to make changes, but workers keeping some kind of link to their owner is likely important for SharedArrayBuffer.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>