Closed
      
        Bug 194646
      
      
        Opened 22 years ago
          Closed 20 years ago
      
        
    
  
UIEvent.initUIEvent() method improperly documented  
    Categories
(Documentation Graveyard :: Web Developer, defect)
        Documentation Graveyard
          
        
        
      
        
    
        Web Developer
          
        
        
      
        
    Tracking
(Not tracked)
        RESOLVED
        FIXED
        
    
  
People
(Reporter: leonard, Assigned: doronr)
References
()
Details
the initUIEvent() method takes five parameters as per the DOM2 spec
(http://www.w3.org/TR/DOM-Level-2-Events/events.html#Events-UIEvent):
typeArg of type DOMString
    Specifies the event type.
canBubbleArg of type boolean
    Specifies whether or not the event can bubble.
cancelableArg of type boolean
    Specifies whether or not the event's default action can be prevented.
viewArg of type views::AbstractView
    Specifies the Event's AbstractView.
detailArg of type long
    Specifies the Event's detail.
Also, you might want to check out the UIEvent types.  The example in the Gecko
Reference specifies a 'click' type, but according to the same DOM 2 Reference,
the valid types are: DOMFocusIn,DOMFocusOut, and DOMActivate
* Note that trying to use a UIEvent give me a NS_ERROR_DOM_NOT_SUPPORTED error,
so this might be theoretical for now
|   | ||
| Comment 2•22 years ago
           | ||
moving stuff over to an outside-the-firewall email for the time being, looking
for people to pick these Help and doc bugs up for me.
Assignee: oeschger → oeschger
|   | ||
| Comment 5•20 years ago
           | ||
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
          You need to log in
          before you can comment on or make changes to this bug.
        
Description
•