Closed Bug 279697 Opened 20 years ago Closed 20 years ago

[FIX]crash if getter/setter elements are placed outside of property element

Categories

(Core :: XBL, defect, P1)

defect

Tracking

()

RESOLVED FIXED
mozilla1.8beta1

People

(Reporter: surkov, Assigned: bzbarsky)

References

Details

Attachments

(3 files)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a6) Gecko/20050111
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8a6) Gecko/20050111

In instance:

<binding id="binding1">
<implementation>
  <getter>
  </getter>
</implementation>
</binding>

Reproducible: Always

Steps to Reproduce:
Could you make a testcase and attach it here?  Also, if you installed
Talkback.exe along with your build, could you attach the Incident ID # once
you've sent an incident as feedback to the server?

Thanks
Keywords: stackwanted
Attached file binding
Attached file testcase
Unfortunately I can't send incident as feedback to server.
Alexandar, I don't crash with the 2005-01-24-05 trunk WinXP build.  Can you try
with the latest nightly available from ftp.mozilla.org?
Alexander, want a hint?  Once you attach the XBL, actually point the XUL to the
attachment so it doesn't have to be downloaded to be tested.  I bet this is what
confused Stephen -- he loaded your testcase, and didn't crash  (since the XBL
wasn't loaded).

I can reproduce the crash if I save both files to disk with the right names
(which you didn't even indicate in the attachment comments....)
Attached patch PatchSplinter Review
This just bails out on getters/setters in unexpected places.
Assignee: hyatt → bzbarsky
Status: UNCONFIRMED → ASSIGNED
Attachment #172370 - Flags: superreview?(jst)
Attachment #172370 - Flags: review?(jst)
OS: Windows 2000 → All
Priority: -- → P1
Hardware: PC → All
Summary: crash if getter/setter elements are placed outside of property element → [FIX]crash if getter/setter elements are placed outside of property element
Target Milestone: --- → mozilla1.8beta
Keywords: stackwanted
Comment on attachment 172370 [details] [diff] [review]
Patch

r+sr=jst
Attachment #172370 - Flags: superreview?(jst)
Attachment #172370 - Flags: superreview+
Attachment #172370 - Flags: review?(jst)
Attachment #172370 - Flags: review+
Fixed.
Status: ASSIGNED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
To comment #6.
You're right. I assumed ingenuous that anybody knows how my test can be ran. Do
you advise me to give good comments of attached files?  Is there a way to attach
testcases so that it doesn't confuse anybody?
Yes, if you point the XUL at the version of the XBL that you've already attached
then just loading the XUL directly from bugzilla will show the bug....  That's
what I suggested in comment 6, no?
Yes, for sure. My english prevents me from understanding of your comments :)
*** Bug 286181 has been marked as a duplicate of this bug. ***
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: