Open
      
        Bug 1224091
      
      
        Opened 9 years ago
          Updated 3 years ago
      
        
    
  
Let union type handle cycle collection of its dictionary member
Categories
(Core :: DOM: Core & HTML, defect)
        Core
          
        
        
      
        
    
        DOM: Core & HTML
          
        
        
      
        
    Tracking
()
        NEW
        
        
    
  
| Tracking | Status | |
|---|---|---|
| firefox45 | --- | affected | 
People
(Reporter: kaku, Unassigned)
References
(Blocks 1 open bug)
Details
This is issue was raised while I was trying to do some experimental implementation of the following WebIDL:
dictionary ImageBitmapBufferSourceInit {
  required BufferSource buffer;
  required long offset;
  required long length;
  required ImageBitmapFormat format;
  required ImageFormatPixelLayout layout;
};
typedef (HTMLImageElement or
         HTMLVideoElement or
         HTMLCanvasElement or
         Blob or
         ImageData or
         CanvasRenderingContext2D or
         ImageBitmap or
         ImageBitmapBufferSourceInit) ImageBitmapSource;
Quote from bz's comment at bug1141979 comment57:
"...if you have an owning union that has a dictionary member and that dictionary has members that need to be traversed/unlinked, the codegen currently doesn't know how to output the right traverse/unlink bits."
|   | ||
| Updated•9 years ago
           | 
Blocks: ParisBindings
| Assignee | ||
| Updated•6 years ago
           | 
Component: DOM → DOM: Core & HTML
| Updated•3 years ago
           | 
Severity: normal → S3
          You need to log in
          before you can comment on or make changes to this bug.
        
Description
•