- From: <bugzilla@jessica.w3.org>
- Date: Thu, 14 Aug 2014 06:46:48 +0000
- To: public-media-capture@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=26578
Bug ID: 26578
Summary: Register/unregister for certain event interface is
incorrect.
Product: WebRTC Working Group
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: Image Capture API
Assignee: public-media-capture@w3.org
Reporter: ayang@mozilla.com
CC: public-media-capture@w3.org
https://dvcs.w3.org/hg/dap/raw-file/default/media-stream-capture/ImageCapture.html#widl-ImageCapture-onphoto
"Register/unregister for photo events of type BlobEvent. The handler should
expect to get a BlobEvent object as its first parameter."
You don't register for certain event interface, like BlobEvent, you add handler
for certain event type. And same event type can be used with many event
interfaces.
It just means that event.type is "photo".
target.dispatchEvent(new MouseEvent("photo")); is perfectly valid.
[1] https://bugzilla.mozilla.org/show_bug.cgi?id=916643#c44
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
Received on Thursday, 14 August 2014 06:46:54 UTC