Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading base2 starts Java in Firefox 3 and 3.5 #127

Open
GoogleCodeExporter opened this issue Jul 8, 2015 · 3 comments
Open

Loading base2 starts Java in Firefox 3 and 3.5 #127

GoogleCodeExporter opened this issue Jul 8, 2015 · 3 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Include a base2 into a HTML page
2. Load that page in FireFox 3.0 or 3.5 on Windows where the Java plugin is
installed.
3 Find out that Java VM is actually started

What is the expected output? What do you see instead?

Loading base2 should not start the Java VM.

What version of the product are you using? On what operating system?

Base 1.0 in FF 3.0 and 3.5 on Windows


Please provide any additional information below.

This is due to a bug in FF3 and 3.5 :

http://code.google.com/p/doctype/wiki/ArticleHereComesTheSun

base2 itself triggers the bug in the `detect` function when it accesses
`java` attribute of the window.

IMO, this can be fixed by executing on demand the code that detects java
instead of precomputing it. 

This way, people that do not need to detect Java would not be impacted. I
guess that those that need to detect java are happy to start it in most cases.

Original issue reported on code.google.com by [email protected] on 9 Jan 2010 at 4:39

@GoogleCodeExporter
Copy link
Author

Damn. I always had Java disabled and never noticed this. Thanks for the report.

Original comment by [email protected] on 9 Jan 2010 at 6:16

  • Changed state: Started
  • Added labels: Browser-Mozilla, Module-base2, Priority-Medium, Type-Defect

@GoogleCodeExporter
Copy link
Author

Godefroid fixed it in this version, where he raises an exception that say that 
Java
detection is disabled:

http://codespeak.net/svn/kukit/kss.buildout/branch/1.4/3rd_party/base2-dom-fp-pa
tched.js

Original comment by [email protected] on 10 Jan 2010 at 7:04

@GoogleCodeExporter
Copy link
Author

What I did is not a fix; it is disabling Java detection.

I still need to look how to defer detection.

Original comment by [email protected] on 10 Jan 2010 at 3:41

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant