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 21651 - "This constructor must be visible when the script's global object is either a Window object or an object implementing the WorkerGlobalScope interface." is different language than what the worker spec [...]
Summary: "This constructor must be visible when the script's global object is either a...
Status: RESOLVED FIXED
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-04-10 06:30 UTC by contributor
Modified: 2013-04-24 00:14 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2013-04-10 06:30:56 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/network.html
Multipage: http://www.whatwg.org/C#the-websocket-interface
Complete: http://www.whatwg.org/c#the-websocket-interface

Comment:
"This constructor must be visible when the script's global object is either a
Window object or an object implementing the WorkerGlobalScope interface." is
different language than what the worker spec has adopted, see e.g.
http://www.whatwg.org/specs/web-apps/current-work/multipage/workers.html#worke
rnavigator

Posted from: 90.230.217.68
User agent: Opera/9.80 (Macintosh; Intel Mac OS X 10.8.3) Presto/2.12.388 Version/12.15
Comment 1 Simon Pieters 2013-04-10 06:37:03 UTC
Nevermind, I now see the worker spec uses this language for e.g. SharedWorker.
Comment 2 Simon Pieters 2013-04-10 08:43:25 UTC
Well, actually, I don't understand why constructors use different language than interfaces. Shouldn't constructors also hook into WebIDL "expose"?
Comment 3 Ian 'Hixie' Hickson 2013-04-24 00:14:56 UTC
I removed the language for constructors, it was redundant since constructors are just part of the interface object.