Bug 222642 - Drop support for <object usemap> making <object> interactive
Summary: Drop support for <object usemap> making <object> interactive
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: DOM (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Tim Nguyen (:ntim)
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-03-03 00:00 PST by Anne van Kesteren
Modified: 2021-11-11 10:27 PST (History)
11 users (show)

See Also:


Attachments
Patch (15.57 KB, patch)
2021-11-11 01:54 PST, Tim Nguyen (:ntim)
ews-feeder: commit-queue-
Details | Formatted Diff | Diff
Patch (8.48 KB, patch)
2021-11-11 02:29 PST, Tim Nguyen (:ntim)
ews-feeder: commit-queue-
Details | Formatted Diff | Diff
Patch (10.70 KB, patch)
2021-11-11 06:06 PST, Carlos Garcia Campos
koivisto: review+
Details | Formatted Diff | Diff
Patch (11.19 KB, patch)
2021-11-11 10:23 PST, Tim Nguyen (:ntim)
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Comment 1 Radar WebKit Bug Importer 2021-03-10 00:01:15 PST
<rdar://problem/75253297>
Comment 2 Tim Nguyen (:ntim) 2021-11-11 01:54:22 PST
Created attachment 443922 [details]
Patch
Comment 3 EWS Watchlist 2021-11-11 01:55:11 PST
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See https://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API
Comment 4 Carlos Garcia Campos 2021-11-11 02:09:35 PST
Comment on attachment 443922 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=443922&action=review

> Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLObjectElement.cpp:-117
> -    DOM_HTML_OBJECT_ELEMENT_PROP_USE_MAP,

This is public (but deprecated) API. We can't just remove it, because of our backwards API/ABI compatibility policy. It's ok to remove the functionality, but keeping the public api doing nothing, maybe just showing a warning. I can do it ig you prefer it.
Comment 5 Tim Nguyen (:ntim) 2021-11-11 02:24:47 PST
(In reply to Carlos Garcia Campos from comment #4)
> Comment on attachment 443922 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=443922&action=review
> 
> > Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMHTMLObjectElement.cpp:-117
> > -    DOM_HTML_OBJECT_ELEMENT_PROP_USE_MAP,
> 
> This is public (but deprecated) API. We can't just remove it, because of our
> backwards API/ABI compatibility policy. It's ok to remove the functionality,
> but keeping the public api doing nothing, maybe just showing a warning. I
> can do it ig you prefer it.

I would appreciate it if you could, the best I can probably do for now is undo the GTK changes
Comment 6 Carlos Garcia Campos 2021-11-11 02:28:58 PST
I'll submit an updated version of the patch later today.
Comment 7 Tim Nguyen (:ntim) 2021-11-11 02:29:11 PST
Created attachment 443925 [details]
Patch
Comment 8 Carlos Garcia Campos 2021-11-11 06:06:57 PST
Created attachment 443942 [details]
Patch
Comment 9 Tim Nguyen (:ntim) 2021-11-11 10:23:16 PST
Created attachment 443967 [details]
Patch
Comment 10 Tim Nguyen (:ntim) 2021-11-11 10:27:41 PST
Committed r285638 (244139@main): <https://commits.webkit.org/244139@main>