Closed
Bug 58475
Opened 24 years ago
Closed 24 years ago
Can not load page source into a variable
Categories
(Core Graveyard :: Embedding: ActiveX Wrapper, defect, P3)
Tracking
(Not tracked)
RESOLVED
FIXED
mozilla0.9
People
(Reporter: geshp, Assigned: adamlock)
References
()
Details
Attachments
(1 file)
(deleted),
patch
|
Details | Diff | Splinter Review |
From Bugzilla Helper:
User-Agent: Mozilla/4.0 (compatible; MSIE 5.5; Windows 98)
BuildID: 2000102920
In visual basic 6.0, the following command does not work properly with the
Mozilla ActiveX wrapper. It should put either the entire page's source or the
toplevel frame's source into a variable, but instead it gives an 'Object does
not support this property or method.' error
responsetext = WebBrowser1.Document.documentelement.innerhtml
Reproducible: Always
Steps to Reproduce:
1. In VB6, install MozillaType1.0 controls. Create a form using the Web
Browser template and replace the IE control with a Mozilla control under the
name brwWebBrowser. Add a command button.
2. Add this sequence:
Private Sub command1_click
msgbox brwWebBrowser.Document.documentelement.innerhtml
End Sub
3. Run, browse to a web page and hit said button
Actual Results: Object does not support this property or method
Expected Results: It should put the entire pages (or toplevel frame's) source
into a message box.
The reason for the error is that code has not been implemented. Support for the
IE DOM in general is pretty skeletal.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Some further investigation.
This problem is caused because the Mozilla control does not implement the IE 5.x
interfaces, specifically IHTMLDocument3 & IHTMLElement2
The first task to fix the problem is to implement the IHTMLDocument3 interface
on the document, then create a document HTML element and finally implement the
innerHTML property.
Fix checked in.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Updated•13 years ago
|
Product: Core → Core Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•