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 23360 - Could be made more readable by splitting into a algorithmic list
Summary: Could be made more readable by splitting into a algorithmic list
Status: RESOLVED NEEDSINFO
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-09-26 00:12 UTC by contributor
Modified: 2014-01-02 21:16 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2013-09-26 00:12:10 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html
Multipage: http://www.whatwg.org/C#the-worker's-lifetime
Complete: http://www.whatwg.org/c#the-worker's-lifetime
Referrer: http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html

Comment:
Could be made more readable by splitting into a algorithmic list

Posted from: 2620:101:8003:200:6267:20ff:fe91:3820
User agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Firefox/24.0
Comment 1 Nikhil 2013-09-26 00:13:15 UTC
Was meant to be for this paragraph:

"Whenever a Document d is added to the worker's Documents, the user agent must, for each worker q in the list of the worker's workers whose list of the worker's Documents does not contain d, add d to q's WorkerGlobalScope owner's list of the worker's Documents."
Comment 2 Ian 'Hixie' Hickson 2013-11-13 20:50:18 UTC
Can you show me how you would write it? I don't see how to turn it into an algorithm... it would just be a one-step algorithm with that paragraph as the step, as far as I can tell. :-)
Comment 3 Ian 'Hixie' Hickson 2014-01-02 21:16:22 UTC
If you have an idea for how to do it, please do reopen the bug. But as noted in comment 2, I don't really see how to do this.