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 23074 - " If a “forEach” operation is defined, then Call..."
Summary: " If a “forEach” operation is defined, then Call..."
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: WebIDL (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: Cameron McCormack
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-27 07:33 UTC by Dominique Hazael-Massieux
Modified: 2016-10-21 21:04 UTC (History)
3 users (show)

See Also:


Attachments

Description Dominique Hazael-Massieux 2013-08-27 07:33:38 UTC
http://dev.w3.org/2006/webapi/WebIDL/#MapClass

[[
 If a “forEach” operation is defined, then CallbackType MUST be a callback function defined as follows:
IDL

callback CallbackType(ValueType value, KeyType key, Interface object);
]]

The IDL fragment is not a valid definition of a callback (it lacks " = returnType")
Comment 1 Domenic Denicola 2016-10-21 21:04:56 UTC
This seems to have disappeared from the current spec.