Closed Bug 520134 Opened 16 years ago Closed 15 years ago

WebGLContextUtils.cpp has some strange #ifdef 0'ed code for event dispatching

Categories

(Core :: Graphics: CanvasWebGL, defect)

x86
All
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: smaug, Unassigned)

References

Details

Either the code should be removed, or fixed to work. If normal event is enough, perhaps the event could be dispatched using nsContentUtils::DispatchChromeEvent. If the DataContainerEvent is really needed, some manual "dispatch to chrome event handler" is needed. It is not very clear why and what the code is trying to do. One thing to check is that the event is dispatched at safe time.
Component: Canvas: 2D → Canvas: WebGL
Code's all gone now!
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.