Bug 157926 - Remove applet support
Summary: Remove applet support
Status: RESOLVED DUPLICATE of bug 218677
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: Safari 9
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-05-19 15:11 PDT by Domenic Denicola
Modified: 2022-07-05 13:57 PDT (History)
11 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Domenic Denicola 2016-05-19 15:11:14 PDT
Per discussions in https://github.com/whatwg/html/issues/454 we're trying to see if other browsers are willing to follow Chrome's lead and remove support for <applet>. So far it seems like Edge is in favor as well.

Concretely:

- Do *not* change the parsing rules for <applet>
- Remove HTMLAppletElement
- Make document.applets always return an empty HTMLCollection (even if there are <applet> elements in the document).

Would WebKit be interested in this change?

As a bonus, you'd get to close a *bunch* of open issues: https://bugs.webkit.org/buglist.cgi?quicksearch=applet&list_id=1805197
Comment 1 Domenic Denicola 2016-05-19 15:18:04 PDT
After doing further spec survey, I added these additional changes:

- Remove applet from document.all
- Remove applet from the Document's named properties collection
- Remove applet from the Window's named properties collection
- Remove applet attributes align="", hspace="", vspace="", width="", and height="" presentional behavior
Comment 2 Chris Dumez 2017-03-03 13:20:15 PST
Does anyone have any opinion on this?
Comment 3 Sam Weinig 2017-03-03 14:10:01 PST
I'd want data on how much it is used in Safari before making a call. In the past, there have been some big users of Java in Safari on the Mac, so it's not an obvious call to me.
Comment 4 Ryosuke Niwa 2017-08-10 13:53:07 PDT
I just checked the internal statistics, and Java is still used in a significant proportion of users so I don't think we're dropping this feature anytime soon given Safari is probably the only browser on Mac that supports Java at this point.
Comment 5 Emilio Cobos Álvarez (:emilio) 2018-01-06 05:31:16 PST
Just a status update here:

 * Gecko removal: https://bugzilla.mozilla.org/show_bug.cgi?id=1279218 (shipped in FF56)
 * Spec removal: https://github.com/whatwg/html/pull/1399
 * Chromium removal: https://crbug.com/470301 (shipped a ton ago)
 * Edge bug (not sure if they have removed or not): https://developer.microsoft.com/en-us/microsoft-edge/platform/issues/11946645/

I'm happy to write a patch for this if WebKit's position on this removal changes.
Comment 6 Ryosuke Niwa 2018-01-06 06:35:34 PST
There is no consensus to remove this feature from WebKit at this moment.
Comment 7 Sam Sneddon [:gsnedders] 2022-07-05 13:57:43 PDT

*** This bug has been marked as a duplicate of bug 218677 ***