Bug 239188 - Remove <param> element behavior
Summary: Remove <param> element behavior
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2022-04-12 13:55 PDT by Domenic Denicola
Modified: 2022-07-01 11:29 PDT (History)
3 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 2022-04-12 13:55:06 PDT
See https://github.com/whatwg/html/pull/7816 . Currently WebKit (and Blink) have some behavior where <param>s with name="movie", "src", "data", "code", or "url" can be used in place of the surrounding <object>'s data="" attribute. (WebKit appears to only use "data", "movie", and "src".)

In Blink, we measured in the wild and found that 0.00002% of these cases successfully resolved to a PDF resource. (The only type of plugin supported by <object> these days.) All other cases did not resolve successfully to a resource, probably because the resource was something like Flash which we don't load. So, we are planning to remove this behavior in Blink. You can follow our progress in https://bugs.chromium.org/p/chromium/issues/detail?id=1315717 .

Once this behavior is removed, the <param> element becomes a no-op, and pretty much all of its code can be deleted.
Comment 1 Radar WebKit Bug Importer 2022-04-19 13:56:17 PDT
<rdar://problem/91983957>