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 22705 - createImageBitmap in WorkerGlobalScope can only take a subset ImageBitmapSource types
Summary: createImageBitmap in WorkerGlobalScope can only take a subset ImageBitmapSour...
Status: RESOLVED WORKSFORME
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: WebIDL (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: Cameron McCormack
QA Contact: public-webapps-bugzilla
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on: 22646
Blocks:
  Show dependency treegraph
 
Reported: 2013-07-17 02:01 UTC by contributor
Modified: 2016-03-06 06:59 UTC (History)
6 users (show)

See Also:


Attachments

Description contributor 2013-07-17 02:01:10 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/timers.html
Multipage: http://www.whatwg.org/C#images
Complete: http://www.whatwg.org/c#images
Referrer: https://www.google.ca/

Comment:
createImageBitmap in WorkerGlobalScope can only take a subset
ImageBitmapSource types

Posted from: 2620:0:1000:1b01:242d:c26b:3950:f91d
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/27.0.1453.94 Safari/537.36
Comment 1 Justin Novosad 2013-07-17 02:04:57 UTC
Not sure whether this needs to be clarified in the IDL, but creteImageBitmap called from a worker can only accept the kinds of image sources that are allowed in workers.
Comment 2 Ian 'Hixie' Hickson 2014-04-10 22:20:00 UTC
Isn't this just implicit from the fact that e.g. HTMLImageElement isn't [Exposed] in workers so you couldn't possibly get hold of one to pass in?
Comment 3 Ian 'Hixie' Hickson 2014-04-10 22:21:07 UTC
heycam: this is an example of where someone might want differently [Expose]d overloads just for its expository value.
Comment 4 Ian 'Hixie' Hickson 2014-04-29 23:07:29 UTC
heycam, I'm reassigning this to you since I can't do it without WebIDL support. Please reassign to me if you decide to support this. If you decide not to, just WONTFIX the bug. Thanks!
Comment 5 Anne 2014-04-30 12:24:11 UTC
I think this should be WONTFIX. We don't need this for XMLHttpRequest.prototype.send either.
Comment 6 Anne 2016-03-06 06:59:58 UTC
IDL makes this work as-is.