[Bug 110266] Re: Using the JavaScript Command delete(array) causes Firefox to close after any further useraction

Thomas K. koudela at gmx.de
Thu Apr 26 12:52:32 UTC 2007


*** This bug is a duplicate of bug 110265 ***
    https://bugs.launchpad.net/bugs/110265

** Description changed:

  Binary package hint: firefox
  
  1. this.array[x] points at another array
  2. delete(this.array[x]);  OR this.array[x] = null;
  3. after any further useraction (eg. clicking an Link, switching to another aktive Window, etc.) firefox crashes
+ 
+ The codefragment which caused after inserting
+ "delete(this.table[rowNr]);" Firefox to crash:
+ 
+ [...]
+ tableCreate.prototype.Cancel = function(rowNr) {
+    if (rowNr < 0) {
+       this.wurzel.removeChild(this.table[rowNr]["reihe"]);
+       delete(this.table[rowNr]);
+    }
+    document.styleSheets[0].deleteRule(0);
+ }
+ [...]
  
  ProblemType: Bug
  Architecture: i386
  Date: Thu Apr 26 13:28:11 2007
  DistroRelease: Ubuntu 7.04
  Package: firefox 2.0.0.3+1-0ubuntu2
  PackageArchitecture: i386
  SourcePackage: firefox
  Uname: Linux erdelfe-ubuntu 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686 GNU/Linux

** Summary changed:

- Using the JavaScript Command delete(array) causes Firefox to close after any further useraction
+ Using the JavaScript Command delete() causes Firefox to close after any further useraction

** Description changed:

  Binary package hint: firefox
  
  1. this.array[x] points at another array
  2. delete(this.array[x]);  OR this.array[x] = null;
  3. after any further useraction (eg. clicking an Link, switching to another aktive Window, etc.) firefox crashes
  
- The codefragment which caused after inserting
+ The JavaScript codefragment which caused after inserting
  "delete(this.table[rowNr]);" Firefox to crash:
  
  [...]
  tableCreate.prototype.Cancel = function(rowNr) {
     if (rowNr < 0) {
        this.wurzel.removeChild(this.table[rowNr]["reihe"]);
        delete(this.table[rowNr]);
     }
     document.styleSheets[0].deleteRule(0);
  }
  [...]
  
  ProblemType: Bug
  Architecture: i386
  Date: Thu Apr 26 13:28:11 2007
  DistroRelease: Ubuntu 7.04
  Package: firefox 2.0.0.3+1-0ubuntu2
  PackageArchitecture: i386
  SourcePackage: firefox
  Uname: Linux erdelfe-ubuntu 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686 GNU/Linux

-- 
Using the JavaScript Command delete() causes Firefox to close after any further useraction
https://bugs.launchpad.net/bugs/110266
You received this bug notification because you are a member of Mozilla
Bugs, which is a bug contact for firefox in ubuntu.




More information about the Ubuntu-mozillateam-bugs mailing list