Closed Bug 617652 Opened 15 years ago Closed 15 years ago

Recent security updates broke the Java <=> Javascript bridge

Categories

(Core Graveyard :: Plug-ins, defect)

x86
macOS
defect
Not set
major

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 607678

People

(Reporter: jameskilton, Unassigned)

Details

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-US) AppleWebKit/534.10 (KHTML, like Gecko) Chrome/8.0.552.215 Safari/534.10 Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 As stated here: http://support.mozilla.com/en-US/questions/761503 And a more detailed follow up on a related bug: https://bugzilla.mozilla.org/show_bug.cgi?id=523326#c3 Any and all communication between a Java applet and Javascript in the parent page is broken in Firefox 3.6.11 and 3.6.12. Attempts at communication seem to be throwing a security exception. Reproducible: Always Steps to Reproduce: 1. Have java applet that communicates to Javascript 2. Upgrade to 3.6.11 or 3.6.12 3. Actual Results: Applet will no longer be able to communicate to javascript Expected Results: Applet should still be able to communicate to javascript
Please, a workaround for solving it will be very appreciated. Is there any known-strategy in the applet's API to communicate with JavaScript? Thanks.
blocking1.9.2: --- → ?
Component: Security → Plug-ins
Product: Firefox → Core
QA Contact: firefox → plugins
I suspect this is a dup of bug 607678, and that it's already been fixed in current FF 3.6.X and 3.5.X nightlies. Please test with the latest nightlies and let us know your results. They're available at ftp://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/. Look for ones labeled "mozilla-1.9.2" (3.6.X) or "mozilla-1.9.1" (3.5.X).
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2.14pre) Gecko/20101208 Namoroka/3.6.14pre You're correct, my Java applets are working again with this version of Firefox, thanks.
OS: Mac OS X → Windows 7
Glad to hear it, and thanks for letting us know.
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
blocking1.9.2: ? → ---
OS: Windows 7 → Mac OS X
I also confirm that this bug is fixed in the latest nightly build. Thank you!
Just a little question. Is there any guarantee that this kind of bug is not subject to occur again?. I mean, this bug broke several applications used by more than 10K users. Is there a documented test case in the QA cycle which covers this scenario? Or, in the case that it happen again, maybe there exist a workaround or application-architecture design consideration to avoid breaking all applications?. Because I'm guessing that it could be due a weak-architecture design, and maybe implementing the right-way, this bug will not affect applications. Thanks.
> Just a little question. Is there any guarantee that this kind of bug > is not subject to occur again? In effect you're asking "Can we guarantee that there will no longer be any serious bugs in Firefox?" The answer is "of course not". We do the best we can. There are hundreds of tests run manually (by QA staff and volunteers) before every release. There are thousands of automated tests running continuously on the Mozilla tree. Every release is preceded by several alpha and beta versions, which are tested by tens of thousands of users. But inevitably some bugs slip through the cracks, and some of them are major. Those get reported here (at https://bugzilla.mozilla.org/). We do the best with the information we're provided in bug reports. Sometimes the reports are pretty clearly duplicates, as in this case. Those are easy to deal with, especially if (as in this case) the bug has already been fixed. But others can take months (or longer) to resolve -- if they only happen in particular circumstances, and the bug reports don't indicate what those particular circumstances are. A word of advice: The next time you see a bug in a release version, check to see if it hasn't already been fixed in a nightly version.
A great overview, thank you!
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.