<?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>14116</bug_id>
          
          <creation_ts>2011-09-12 12:21:30 +0000</creation_ts>
          <short_desc>Regarding a previous post, a browser could launch itself (CreateProcess() on Windows) again and pass say a port number, a URL, and a boolean flag to the spawned child process. The browser could then be modified to examine it&apos;s command line- if there are 3</short_desc>
          <delta_ts>2011-09-13 12:19:29 +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>Web Workers (editor: Ian Hickson)</component>
          <version>unspecified</version>
          <rep_platform>Other</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>14086</dup_id>
          
          <bug_file_loc>http://www.whatwg.org/specs/web-apps/current-work/#top</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>contributor</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>mike</cc>
    
    <cc>public-webapps</cc>
          
          <qa_contact>public-webapps-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>56660</commentid>
    <comment_count>0</comment_count>
    <who name="">contributor</who>
    <bug_when>2011-09-12 12:21:30 +0000</bug_when>
    <thetext>Specification: http://www.w3.org/TR/2011/WD-workers-20110901/
Multipage: http://www.whatwg.org/C#top
Complete: http://www.whatwg.org/c#top

Comment:
Regarding a previous post, a browser could launch itself (CreateProcess() on
Windows) again and pass say a port number, a URL, and a boolean flag to the
spawned child process.

The browser could then be modified to examine it&apos;s command line- if there are
3 arguments it will open the URL.  If the boolean flag is false, it will not
draw anything to the screen.  And it will listen to the port for messages from
the spawning process.  A simple string passing protocol could be implemented
on that port with appropriate security.  

This seems fairly straightforward to implement in any browser.

Another issue with removing the DOM is it requires more custom code for a
script to load dependent scripts (the importScripts()).  So my script
libraries now have 2 paths.  If there is a DOM, add &lt;script&gt; tags to load
dependent JS files, else use importScripts().

I would argue that DOM removal and present spec introduces more work and
complications than my proposal (obviously I am biased :)).  It also introduces
yet another issue in that scripts must be designed to work in different
contexts (ie with and without a DOM). 


Posted from: 199.89.158.132
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.2) Gecko/20100101 Firefox/6.0.2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56741</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Pieters">zcorpan</who>
    <bug_when>2011-09-13 12:19:29 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 14086 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>