New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 652457 link

Starred by 1 user

Issue metadata

Status: Untriaged
Owner: ----
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 3
Type: Bug



Sign in to add a comment

Blink still has a bunch of <applet> handling code that can probably go now

Project Member Reported by thakis@chromium.org, Oct 3 2016

Issue description

DocApplets (https://cs.chromium.org/chromium/src/third_party/WebKit/Source/core/html/CollectionType.h?rcl=1475508985&l=31) and stuff kept alive by it can probably go (it's ref'd from the document.idl-generated applet accessor, but that can be prevented by custom-binding it or something).

After that, HTMLObjectElement::containsJavaApplet() is dead (https://cs.chromium.org/chromium/src/third_party/WebKit/Source/core/html/HTMLObjectElement.cpp?q=isJavaAppletMIMEType&sq=package:chromium&dr=C&l=403)

isJavaAppletMIMEType() might be removable as well.

cc'ing the npapi cleanup crew.
 
Cc: domenic@chromium.org kochi@chromium.org
I intentionally left this code for spec compatibility at the time. It looks like most of the language for this has since been removed, but no one has tried to sent out the intent for this yet: https://github.com/whatwg/html/issues/454

Comment 2 by kochi@chromium.org, Oct 4 2016

According to document.applets stat:
https://www.chromestatus.com/metrics/feature/timeline/popularity/1304

Today the usage is still ~0.06% which is above the deprecation threshold.

We return the count for <object type="application/x-java-applet">, but it
doesn't run Java applets anymore, so I think it is almost safe to return
empty array for document.applets and remove dead code.

Sign in to add a comment