This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 14116 - 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's command line- if there are 3
Summary: Regarding a previous post, a browser could launch itself (CreateProcess() on ...
Status: RESOLVED DUPLICATE of bug 14086
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: Web Workers (editor: Ian Hickson) (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: public-webapps-bugzilla
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-12 12:21 UTC by contributor
Modified: 2011-09-13 12:19 UTC (History)
2 users (show)

See Also:


Attachments

Description contributor 2011-09-12 12:21:30 UTC
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'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 <script> 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
Comment 1 Simon Pieters 2011-09-13 12:19:29 UTC

*** This bug has been marked as a duplicate of bug 14086 ***