Summary: javascript core function missing in KM compared to mfcembed
Creator:Marc Date:2003-12-25 15:38:50
Project:K-Meleon Owner:.Nobody
Status:Closed Severity:Normal
Version:Unknow Target Version:Unknow

While diagnosing a problem users have with some sites, I have found that the console reports the same type of error.

Test sites :
 - http://www.espn.com/ (select NHL score)
 - http://sports.yahoo.com/ten/slideshow_frame
the slideshow is not visible in KM, but is in Mozilla.

In the javascript console you'll see this error:
uncaught exception: [Exception... "Cannot find interface information for parameter arg 0 [nsIDOMWindowInternal.controllers]" ...

In the js code on these pages
http://sports.yahoo.com/sports/us/js/ua.js
for yahoo,
the detectBrowser function has this:
typeof(window.controllers)

In the urlbar type
javascript: typeof(window.controllers)

in Mfcembed (installed in Mozilla dir), this text appear in the window:
"object"

in KM nothing appears, but the console shows an error message.

Obviously we're still missing some part of javascript (cf the javaEnabled() function previously missing)

I'll try more tests and report here.

Comments
Marc  2003-12-25 17:09:23
As I said on the dev list, the missing lib is "xuldoc.xpt" in the components directory.
jsnj  2003-12-25 19:27:33
I guess this stays open until it's written to CVS?
[Changed Status from "Unconfirmed" to "Open"]
amutch  2003-12-26 21:54:23
Yes, please leave this open. The fix won't be in CVS but in packaging the needed file. Once that happens, we can close this.
jsnj  2004-10-08 12:04:41
Fixed in beta.
[Changed Status from "Open" to "Fixed"]
rmn  2006-01-14 22:11:44
In 0.9.12
"javascript: typeof(window.controllers)"
produces "object"
[Changed Status from "Fixed" to "Closed"]

SourceForge Logo