diff options
author | Deepak Bhole <[email protected]> | 2011-05-27 18:00:02 -0400 |
---|---|---|
committer | Deepak Bhole <[email protected]> | 2011-05-27 18:00:02 -0400 |
commit | d11aa0d9adb290698c8c073d95e7a3b2374d2e63 (patch) | |
tree | 2e894935c98e5c27ff89f3c0d8364b5a818d2cbf /plugin/icedteanp/java/sun | |
parent | c8d5c912afa2a741ccff538a0d753060d5aec960 (diff) |
PR735: Firefox 4 sometimes freezes if the applet calls showDocument()
Diffstat (limited to 'plugin/icedteanp/java/sun')
-rw-r--r-- | plugin/icedteanp/java/sun/applet/PluginAppletViewer.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugin/icedteanp/java/sun/applet/PluginAppletViewer.java b/plugin/icedteanp/java/sun/applet/PluginAppletViewer.java index 36bc47a..f51c1e8 100644 --- a/plugin/icedteanp/java/sun/applet/PluginAppletViewer.java +++ b/plugin/icedteanp/java/sun/applet/PluginAppletViewer.java @@ -928,8 +928,8 @@ public class PluginAppletViewer extends XEmbeddedFrame */ public void showDocument(URL url, String target) { try { - // FIXME: change to postCallRequest - write("url " + UrlUtil.encode(url.toString(), "UTF-8") + " " + target); + Long reference = getRequestIdentifier(); + write("reference " + reference + " LoadURL " + UrlUtil.encode(url.toString(), "UTF-8") + " " + target); } catch (IOException exception) { // Deliberately ignore IOException. showDocument may be // called from threads other than the main thread after |