[Webkit-unassigned] [Bug 210799] New: [WPE][GTK] webkit_user_content_manager_remove_filter() does not work reliably
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Apr 21 08:29:56 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=210799
Bug ID: 210799
Summary: [WPE][GTK] webkit_user_content_manager_remove_filter()
does not work reliably
Product: WebKit
Version: WebKit Nightly Build
Hardware: PC
OS: Linux
Status: NEW
Severity: Normal
Priority: P2
Component: WebKitGTK
Assignee: webkit-unassigned at lists.webkit.org
Reporter: mcatanzaro at gnome.org
CC: aperez at igalia.com, bugs-noreply at webkitgtk.org
Moving from https://gitlab.gnome.org/GNOME/epiphany/-/issues/963. To reproduce, in Epiphany with the adblocker enabled:
* Visit https://www.vox.com/2020/4/20/21227903/trump-blames-obama-coronavirus
* Open the security popover (the lock icon) and change Advertisements permission to "Yes" (or "Allow" in git master)
* Open web inspector with Ctrl+Shift+I and clear the console history
* Reload the page, bypassing cache for good measure: Ctrl+Shift+R
Notice these logs in the console:
[Info] Content blocker prevented frame displaying https://www.vox.com/2020/4/20/21227903/trump-blames-obama-coronavirus from loading a resource from https://cdn.concert.io/lib/concert-ads/v2-latest/concert_ads.js
[Info] Content blocker prevented frame displaying https://www.vox.com/2020/4/20/21227903/trump-blames-obama-coronavirus from loading a resource from https://cdn.vox-cdn.com/packs/concert_ads-bffdbe26531979cc8e92.js
[Info] Content blocker prevented frame displaying https://www.vox.com/2020/4/20/21227903/trump-blames-obama-coronavirus from loading a resource from https://c.amazon-adsystem.com/aax2/apstag.js
[Info] Content blocker prevented frame displaying https://www.vox.com/2020/4/20/21227903/trump-blames-obama-coronavirus from loading a resource from https://cdn.concert.io/lib/concert-concierge.2.5.1.min.js
[Info] Content blocker prevented frame displaying https://www.vox.com/2020/4/20/21227903/trump-blames-obama-coronavirus from loading a resource from https://z.moatads.com/voxprebidheader841653991752/moatheader.js
But Epiphany has removed the adblock filter from this view's WebKitUserContentManager using webkit_user_content_manager_remove_filter(), so no content blockers should be enabled. Jan-Michael says the bug still occurs if he changes Epiphany to use webkit_user_content_manager_remove_all_filters() instead, so this seems to be WebKit's fault.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20200421/62c5f60a/attachment.htm>
More information about the webkit-unassigned
mailing list