Mercurial > hg > release > icedtea6-1.5
changeset 1491:afe7df786dd4
Forgo permission check if JS source is [System] (i.e. Mozilla extension/chrome).
author | Deepak Bhole <dbhole@redhat.com> |
---|---|
date | Thu, 30 Apr 2009 16:31:55 -0400 |
parents | 4e5fd2efe6af |
children | 34524a71ee10 |
files | ChangeLog plugin/icedtea/sun/applet/PluginAppletSecurityContext.java |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Thu Apr 30 16:04:37 2009 +0200 +++ b/ChangeLog Thu Apr 30 16:31:55 2009 -0400 @@ -1,3 +1,8 @@ +2009-04-30 Deepak Bhole <dbhole@redhat.com> + + * plugin/icedtea/sun/applet/PluginAppletSecurityContext.java: Forgo + permission check if JS source is [System] (i.e. Mozilla extension/chrome). + 2009-04-30 Matthias Klose <doko@ubuntu.com> * Makefile.am: Update cacao version to 0.99.4.
--- a/plugin/icedtea/sun/applet/PluginAppletSecurityContext.java Thu Apr 30 16:04:37 2009 +0200 +++ b/plugin/icedtea/sun/applet/PluginAppletSecurityContext.java Thu Apr 30 16:31:55 2009 -0400 @@ -1001,7 +1001,7 @@ PluginDebug.debug("target = " + target + " jsSrc=" + jsSrc + " classSrc=" + classSrc); // if src is not a file and class loader does not map to the same base, UniversalBrowserRead (BrowserReadPermission) must be set - if (jsSrc != "file://" && !classSrc.equals(jsSrc)) { + if (!jsSrc.equals("file://") && !jsSrc.equals("[System]") && !classSrc.equals(jsSrc)) { acc.checkPermission(new BrowserReadPermission()); } }