Closed Bug 43552 Opened 25 years ago Closed 25 years ago

URGENT: This url has javascript problems, does not work

Categories

(Core :: JavaScript Engine, defect, P3)

x86
Windows NT
defect

Tracking

()

VERIFIED DUPLICATE of bug 40160

People

(Reporter: reast, Assigned: rogerl)

References

()

Details

I am hoping to use the WebClient api to view the above URL within a Java application. To use WebClient, I must use M16. If I use Netscape version 6, or version 4.7 or IE, I have no problem viewing this URL. But with M16, even though the page show up ok to begin with, none of the button controls work. I have a debug version of M16 that I built from source code, and I get Assertion failures when viewing this URL. I was hoping to show this application at a major international conference next week (http://www.esri.com/events/uc/index.html) but it looks like I am dead in the water unless you can help straight away. Code changes would be acceptable!
The Assertion in my debug version states this: =========== *** check number of frames in content area Error loading URL http://www.geographynetwork.com/explorer/geonet_explorer.cfm *** check number of frames in content area Document: Done (6.67 secs) JavaScript error: line 0: ###!!! ASSERTION: NS_ENSURE_TRUE(NS_SUCCEEDED(aURL->GetHost(getter_Copies(host)))) failed: '(!((aURL->GetHost( getter_Copies(host))) & 0x80000000))', file D:\mozilla\mozilla\webshell\src\nsWebShell.cpp, line 1183 =============
This is actually a duplicate of bug 40160, and a fix has been checked in (June 7th mscott). It's really just a two liner (modulo whitespace changes) that you should be able to apply to your build. See this URL (repeated in the URL field on this bug report): http://bonsai.mozilla.org/cvsview2.cgi?diff_mode=context&whitespace_mode=show&r oot=/cvsroot&subdir=mozilla/webshell/src&command=DIFF_FRAMESET&file=nsWebShell. cpp&rev2=1.465&rev1=1.464 marking as duplicate. hope that helps. *** This bug has been marked as a duplicate of 40160 ***
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
I have applied that patch to nsWebShell.cpp and I get further, but it still isn't working. If you for instance visit the URL, then click the "Search" tab, you see this in the console: JavaScript error: line 0: Document: Done (55.17 secs) but if you click the button marked "TeleAtlas" you get this new Assertion: ###!!! ASSERTION: NS_ENSURE_TRUE(NS_SUCCEEDED(GetRootScrollableView(getter_AddRe fs(scrollView)))) failed: '(!((GetRootScrollableView(getter_AddRefs(scrollView)) ) & 0x80000000))', file D:\mozilla\mozilla\docshell\base\nsDocShell.cpp, line 1754 Help!!!
Status: RESOLVED → UNCONFIRMED
Resolution: DUPLICATE → ---
The last two problems you note above exist in a tip build for this evening. Please file two bugs to cover these (or I will in the morning, but I'm going home now). I have stack traces for both. Thanks. Resetting this back to duplicate, based on the original reported problem. *** This bug has been marked as a duplicate of 40160 ***
Status: UNCONFIRMED → RESOLVED
Closed: 25 years ago25 years ago
Resolution: --- → DUPLICATE
Just tested these steps with Win32 2000-07-18-11 build. works fine. marking Verfified.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.