Crash using nsBoxObject w/ null mContent

RESOLVED FIXED

Status

()

--
critical
RESOLVED FIXED
15 years ago
10 years ago

People

(Reporter: timeless, Assigned: timeless)

Tracking

({crash})

Trunk
x86
BeOS
crash
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

15 years ago
./run-mozilla.sh ./xpcshell
a='@mozilla.org/layout/xul-boxobject-browser;1'; 
var o = Components.classes[a].createInstance(); 
o instanceof Components.interfaces.nsIBoxObject; 

  print(a,'\t',o); 
  for (c in o) try { 
   dump(c+' '); 
   print(o[c]); 
  } catch(e) { 
   print(e); 
  } 

actual results: crash
expected results: no crash
reason for crash: uninitalized mContent

The properties the fail are: .x,.y,.screenX,.screenY
(Assignee)

Comment 1

15 years ago
Created attachment 131985 [details] [diff] [review]
zero values and return failure
(Assignee)

Updated

15 years ago
Attachment #131985 - Flags: superreview?(roc)
Attachment #131985 - Flags: review?(roc)
Attachment #131985 - Flags: superreview?(roc)
Attachment #131985 - Flags: superreview+
Attachment #131985 - Flags: review?(roc)
Attachment #131985 - Flags: review+
(Assignee)

Comment 2

15 years ago
checked in
Status: NEW → RESOLVED
Last Resolved: 15 years ago
Resolution: --- → FIXED
(Assignee)

Updated

10 years ago
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: shrir → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.