http://bugzilla.novell.com/show_bug.cgi?id=629495
http://bugzilla.novell.com/show_bug.cgi?id=629495#c0 Summary: Error reading the number of frame in a HTML page using WebBrowser class Classification: Mono Product: Mono: Class Libraries Version: 2.6.x Platform: 32bit OS/Version: Windows Server 2003 Status: NEW Severity: Normal Priority: P5 - None Component: Windows.Forms AssignedTo: [email protected] ReportedBy: [email protected] QAContact: [email protected] Found By: --- Blocker: --- Description of Problem: I'm try to get the number of frame in a HTML page using WebBrowser class running on Mono. Steps to reproduce the problem: 1. try to navigate in http://localhost/index.html where index.html source code <html> <head> <meta http-equiv="content-type" content="text/html;charset=iso-8859-1"> <title>Test Page</title> </head> <frameset cols="175,*" bordercolor="white" border="0" framespacing="0" frameborder="NO"> <frame src="index04_02.html" name="Menu" scrolling="NO" noresize> <frame src="index04_04.html" name="body" noresize> <noframes> <body bgcolor="white"> </body> </noframes> </frameset> </html> index04_02.html source code <html> <head> <meta http-equiv="content-type" content="text/html;charset=iso-8859-1"> <title>remote IU</title> </head> <body link="#0033ff" vlink="#0033ff" alink="red" bgcolor="#ccccff" > Frame1 </body> </html> index04_04.html source code <html> <head> <meta http-equiv="content-type" content="text/html;charset=iso-8859-1"> <title>remote IU</title> </head> <body link="#0033ff" vlink="#0033ff" alink="red" bgcolor="#ccccff" > Frame2 </body> </html> 2. get the this.webBrowser1.Document.Window.Frames["Menu"].Document.Window.Frames.Count property Actual Results: return 2 Expected Results: return 0 How often does this happen? Additional Information: This piece of code produce the same error running under Linux Fedora 11 64 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. _______________________________________________ mono-bugs maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-bugs
