[Mono-bugs] [Bug 377683] WebBrowser.DocumentStream not implemented

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Thu Aug 7 10:23:56 EDT 2008


https://bugzilla.novell.com/show_bug.cgi?id=377683

User surfzoid2002 at yahoo.fr added comment
https://bugzilla.novell.com/show_bug.cgi?id=377683#c4


Eric Petit <surfzoid2002 at yahoo.fr> changed:

           What    |Removed                                         |Added
----------------------------------------------------------------------------
             Status|RESOLVED                                        |REOPENED
         Resolution|FIXED                                           |




--- Comment #4 from Eric Petit <surfzoid2002 at yahoo.fr>  2008-08-07 08:23:55 MDT ---
I remember, i check it and seem to work, but today something change , i will
provide a simple test case who show the problem, through MD IDE, when i run the
test case documentstream.length give me a cast error :

Unhandled Exception: System.InvalidCastException: Cannot cast from source type
to destination type.
at System.Windows.Forms.WebBrowser.get_DocumentText () [0x00011] in
/root/tmp/MonoUpdate/mcs/class/Managed.Windows.Forms/System.Windows.Forms/WebBrowser.cs:121
at System.Windows.Forms.WebBrowser.get_DocumentStream () [0x00000] in
/root/tmp/MonoUpdate/mcs/class/Managed.Windows.Forms/System.Windows.Forms/WebBrowser.cs:100
at (wrapper remoting-invoke-with-check)
System.Windows.Forms.WebBrowser.get_DocumentStream () <0x00046>
at Bug377720ReallyStrangeBug.MainClass.webBrowser1_Navigating
(object,System.Windows.Forms.WebBrowserNavigatingEventArgs) [0x00000] in
/home/eric/Projects/MonoTestCases/Bug 377720ReallyStrangeBug/Bug
377720ReallyStrangeBug/Main.cs:62
at System.Windows.Forms.WebBrowser.OnNavigating
(System.Windows.Forms.WebBrowserNavigatingEventArgs) [0x0000b] in
/root/tmp/MonoUpdate/mcs/class/Managed.Windows.Forms/System.Windows.Forms/WebBrowser.cs:500
at System.Windows.Forms.WebBrowser.OnWebHostLoadStarted
(object,Mono.WebBrowser.LoadStartedEventArgs) [0x00038] in
/root/tmp/MonoUpdate/mcs/class/Managed.Windows.Forms/System.Windows.Forms/WebBrowser.cs:574
at Mono.Mozilla.Callback.OnStateChange
(Mono.Mozilla.nsIWebProgress,Mono.Mozilla.nsIRequest,int,uint) [0x000f0] in
/root/tmp/MonoUpdate/mcs/class/Mono.WebBrowser/Mono.Mozilla/Callback.cs:123
at (wrapper native-to-managed) Mono.Mozilla.Callback.OnStateChange
(intptr,intptr,int,uint) <0x00297>

If we run the test case in a console with mono ./myapp.exe we have a nil
exception + seg fault : https://bugzilla.novell.com/show_bug.cgi?id=377720#c15


-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list