Closed Bug 167148 Opened 23 years ago Closed 22 years ago

crash viewing HTML file with XBL binding

Categories

(Core :: XBL, defect)

x86
Windows XP
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 55070

People

(Reporter: david, Assigned: hyatt)

Details

(Keywords: crash)

Attachments

(3 files)

User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.1) Gecko/20020826 I played with XBL and HTML with some XBL binding crashed. I'll attach simplified HTML and XBL files - testcase. Reproducible: Always Steps to Reproduce: 1. Load testcase.htm Actual Results: Crash. Expected Results: Don't crash. Don't have talkback ID as mz agent refuses to connect to the site. Sorry.
I'll just stick the testcase in the body for easy viewing. This sets up an infinite recursion. -- testcase.html -- <html> <head> <title>xx</title> <style> a { -moz-binding: url("testcase.xml#default"); } </style> </head> <body> <a href="something">XXXXX</a> </body> -- testcase.xml -- <?xml version="1.0"?> <bindings id="new-window-icon-bindings" xmlns="http://www.mozilla.org/xbl" xmlns:html="http://www.w3.org/1999/xhtml" xmlns:xbl="http://www.mozilla.org/xbl"> <binding id="default"> <content> <html:button> <children/> <html:a href="aa">a</html:a> </html:button> </content> </binding> </bindings>
Status: UNCONFIRMED → NEW
Ever confirmed: true
This is caused by inifinite recursion a {-moz-binding: url("testcase.xml#default")} The binding creates another a element which gets also gets binded etc... So you could say this is probably depending/a dupe of bug 55070.
Keywords: crash
*** This bug has been marked as a duplicate of 55070 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: