Closed
Bug 742149
Opened 13 years ago
Closed 13 years ago
WebIDL parser needs to support IDL array return values
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: bzbarsky, Assigned: khuey)
References
(Blocks 1 open bug)
Details
WebGL currently has:
WebGLShader[]? getAttachedShaders(WebGLProgram? program);
which throws like so:
File "dom/bindings/parser/WebIDL.py", line 2862, in finish
production.finish(self.globalScope())
File "dom/bindings/parser/WebIDL.py", line 509, in finish
member.finish(scope)
File "dom/bindings/parser/WebIDL.py", line 1653, in finish
assert not isinstance(type.name, IDLUnresolvedIdentifier)
where type.name stringifies as "<unresolved scope>::WebGLShader".
I still think they should use a sequence here, and maybe I'll implement it that way, but we might need this somewhere else too.
Assignee | ||
Comment 1•13 years ago
|
||
Assignee | ||
Updated•13 years ago
|
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Updated•6 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•