[Webkit-unassigned] [Bug 44023] New: HTML applet elements should fire a 'beforeload' event

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Aug 14 23:22:48 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=44023

           Summary: HTML applet elements should fire a 'beforeload' event
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
               URL: http://java.sun.com/applets/jdk/1.4/demo/applets/ArcTe
                    st/example1.html
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Enhancement
          Priority: P4
         Component: HTML DOM
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: marc.hoyois at gmail.com


Created an attachment (id=64439)
 --> (https://bugs.webkit.org/attachment.cgi?id=64439)
Safari extension that preventDefault()s any beforeload event

Overview:
HTML <applet> elements do not fire a 'beforeload' event before the Java resource is fetched and executed.

Steps to reproduce:
1. Install the attached extension. It only has the following injected script:

document.addEventListener('beforeload', function(event) {event.preventDefault();}, true);

2. Navigate to any page with an <applet> tag, such as

http://java.sun.com/applets/jdk/1.4/demo/applets/ArcTest/example1.html

Actual result:
The Java applet loads and runs normally.

Desirable result:
The Java plugin should not run at all.

Additional information:
This would allow a Safari extension to conditionally prevent
the Java plugin from running, as is already possible with all other plugins.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list