Closed
      
        Bug 1075263
      
      
        Opened 11 years ago
          Closed 11 years ago
      
        
    
  
(shumway) Setting instance of TextField's text value to empty string yields "undefined" 
    Categories
(Firefox Graveyard :: Shumway, defect)
        Firefox Graveyard
          
        
        
      
        
    
        Shumway
          
        
        
      
        
    Tracking
(Not tracked)
        VERIFIED
        FIXED
        
    
  
People
(Reporter: mwobensmith, Assigned: tschneider)
References
Details
(Keywords: regression)
// AVM2
var tf = new TextField();
addChild(tf);
tf.width=100;
tf.height=80;
tf.text = "";
Results:
Displays "undefined"
Expected:
Empty string
I tried a few other things that utilize an empty string to see if that alone caused us to evaluate to "undefined"; so far, the only way I find this is by setting the text field's text property.
          Updated•11 years ago
           
         | 
      
| Assignee | ||
          Comment 1•11 years ago
           
         | 
      ||
| Assignee | ||
          Updated•11 years ago
           
         | 
      
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
          Updated•9 years ago
           
         | 
      
Product: Firefox → Firefox Graveyard
          You need to log in
          before you can comment on or make changes to this bug.
        
Description
•