The default bug view has changed. See this FAQ.

WebIDL parser needs to support IDL array return values

RESOLVED FIXED

Status

()

Core
DOM
RESOLVED FIXED
5 years ago
5 years ago

People

(Reporter: bz, Assigned: khuey)

Tracking

(Blocks: 1 bug)

Trunk
x86
Mac OS X
Points:
---

Firefox Tracking Flags

(Not tracked)

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.
Fixed in http://hg.mozilla.org/users/khuey_mozilla.com/webidl-parser/rev/70a9cc8fc263
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.